[issue5863] bz2.BZ2File should accept other file-like objects.

Antoine Pitrou report at bugs.python.org
Tue Jan 25 15:13:13 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> How would I go about doing this? Would it be sufficient to raise a
> DeprecationWarning if the argument is provided by the caller, and add
> a note to the docstring and documentation?

Yes, totally.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5863>
_______________________________________


More information about the Python-bugs-list mailing list