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 josmiley
Recipients josmiley
Date 2012年05月31日.21:40:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338500454.97.0.157911114425.issue14972@psf.upfronthosting.co.za>
In-reply-to
Content
# this runs with python2.7, not with python3.2
class Foo(object):
 class Bar(object):
 pass
 Attr = [Bar()for n in range(10)]
# solved in this way ...
class Foo(object):
 class Bar(object):
 pass
 Attr = []
 for n in range(10): Attr.append(Bar())
History
Date User Action Args
2012年05月31日 21:40:55josmileysetrecipients: + josmiley
2012年05月31日 21:40:54josmileysetmessageid: <1338500454.97.0.157911114425.issue14972@psf.upfronthosting.co.za>
2012年05月31日 21:40:54josmileylinkissue14972 messages
2012年05月31日 21:40:54josmileycreate

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