Antoine Pitrou <[email protected]> added the comment:
Also, I don't understand how you confirmed this bug under py3k. Text
files under py3k forbid bytes input, which is what pickle produces:
>>> pickle.dump([], sys.stdout)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/antoine/py3k/__svn__/Lib/pickle.py", line 1333, in dump
Pickler(file, protocol).dump(obj)
TypeError: write() argument 1 must be str, not bytes
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1724366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com