Terry J. Reedy added the comment: >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.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1683368> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com