Re: ptl compilation problems

David Binger <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On Nov 21, 2005, at 5:56 PM, Evan Laforge wrote:

> This happens with quixote 2.1 and 2.3, under python 2.3 (but not  
> python 2.4):

Here is a reduced way to trigger the same traceback (in python 2.3.5).

s = 'def g():\n f(lambda :None)[:]'
from compiler import pycodegen
x = pycodegen.Module(s, 'bar')
x.compile() # boom

In python 2.4, this does not cause a traceback.
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.