homepage

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 cito
Recipients cito
Date 2008年03月02日.17:43:29
SpamBayes Score 0.005089196
Marked as misclassified No
Message-id <1204479817.59.0.844396901804.issue2217@psf.upfronthosting.co.za>
In-reply-to
Content
The following code throws a NameError which seems to be a bug existing
since Python 2.4 up to the current 2.5.2.
class A:
 a = 'test'
 [c for c in a]
 (c for c in a)
 tuple(c for c in a)
 [c for c in a if c in a]
 (c for c in a if c in a)
 tuple(c for c in a if c in a) # --> NameError
History
Date User Action Args
2008年03月02日 17:43:37citosetspambayes_score: 0.0050892 -> 0.005089196
recipients: + cito
2008年03月02日 17:43:37citosetspambayes_score: 0.0050892 -> 0.0050892
messageid: <1204479817.59.0.844396901804.issue2217@psf.upfronthosting.co.za>
2008年03月02日 17:43:30citolinkissue2217 messages
2008年03月02日 17:43:30citocreate

AltStyle によって変換されたページ (->オリジナル) /