Message117210
I haven't investigated but this is weird (especially the fact that it doesn't *always* happen). There might be a problem with SETUP_WITH or perhaps the method cache:
>>> import bz2
>>> f = bz2.BZ2File('foo.bz2', 'wb')
>>> with f: pass
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: __exit__
>>> f.__enter__().__exit__(None, None, None)
>>> |
|
Date |
User |
Action |
Args |
2010-09-23 17:44:20 | pitrou | set | recipients:
+ pitrou, arigo, amaury.forgeotdarc, benjamin.peterson |
2010-09-23 17:44:20 | pitrou | set | messageid: <1285263860.75.0.0295269513822.issue9928@psf.upfronthosting.co.za> |
2010-09-23 17:44:15 | pitrou | link | issue9928 messages |
2010-09-23 17:44:14 | pitrou | create | |
|