Message 162022 - Python tracker
Message162022
| 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:55 | josmiley | set | recipients: + josmiley |
| 2012-05-31 21:40:54 | josmiley | set | messageid: <1338500454.97.0.157911114425.issue14972@psf.upfronthosting.co.za> |
| 2012-05-31 21:40:54 | josmiley | link | issue14972 messages |
| 2012-05-31 21:40:54 | josmiley | create | |