[issue1683368] object.__init__ shouldn't allow args/kwds
Terry J. Reedy
report at bugs.python.org
Wed May 28 17:23:55 CEST 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue1683368>
_______________________________________
More information about the Python-bugs-list
mailing list