Re: "unqualified exec is not allowed" error w/custom tag lib

Philip Semanchuk <[email protected]>
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
On Apr 18, 2006, at 1:08 AM, Jonathan Ellis wrote:
> Well, the long explanation is, I was pretty new to the whole "write a
> compiler in Python" thing when I released Spyce 2.0, and I made a  
> couple
> mistakes.  Placing some unnecessary unqualified execs in the generated
> code was one of them.  (See
> http://spyced.blogspot.com/2005/04/how-well-do-you-know-python-part 
> -4.html
> for what this means.)

OK, thanks for that. I thought I was going crazy.

> This is fixed in the subversion 2.1 code, but in 2.0, you can work
> around it by pushing your function up to the class level,

OK, I'll do that. Just out of curiosity, how complicated would it be to  
patch a 2.0.3 installation for this bug?

Thanks for all of your work on Spyce.

bye
Philip



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.