This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fjhpy
Recipients fjhpy
Date 2009-01-24.18:49:06
SpamBayes Score 0.0015628302
Marked as misclassified No
Message-id <1232822947.1.0.133791034087.issue5044@psf.upfronthosting.co.za>
In-reply-to
Content
# works
>>> eval( "sum( [ a[0]=='a' for j in 'a' ] )", {}, dict(a='a'))
# take out the square brackets
>>> eval( "sum(   a[0]=='a' for j in 'a'   )", {}, dict(a='a'))
NameError: global name 'a' is not defined
History
Date User Action Args
2009-01-24 18:49:07fjhpysetrecipients: + fjhpy
2009-01-24 18:49:07fjhpysetmessageid: <1232822947.1.0.133791034087.issue5044@psf.upfronthosting.co.za>
2009-01-24 18:49:06fjhpylinkissue5044 messages
2009-01-24 18:49:06fjhpycreate