Antoine Pitrou <pit...@free.fr> added the comment: > I don't see why Buffered or TextIO's shouldn't be pickleable, ISTM > their pickleability should be based on what the underlying file obj > is.
That could be. Right now, though, pickling them gives nonsensical results and I think it would be better to give an explicit error message. (a problem with making them pickleable is that, by exposing details of the internal structure in the pickle, you're limiting what implementation changes you can do in the future) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10180> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com