Message219276
From what I see, you do not need to change either __new__ or __init__, just add __enter__ and __exit__ , and you only need to do that in 2.6. Since Zipfile is written in Python, you could monkey-patch instead of subclassing, if that is easier in your particular case. |
|
Date |
User |
Action |
Args |
2014-05-28 15:23:55 | terry.reedy | set | recipients:
+ terry.reedy, gvanrossum, georg.brandl, rhettinger, gregory.p.smith, jcea, jaraco, Rhamphoryncus, blakeross, benjamin.peterson, KayEss, jonash |
2014-05-28 15:23:55 | terry.reedy | set | messageid: <1401290635.69.0.089123753095.issue1683368@psf.upfronthosting.co.za> |
2014-05-28 15:23:55 | terry.reedy | link | issue1683368 messages |
2014-05-28 15:23:55 | terry.reedy | create | |
|