Antoine Pitrou <pit...@free.fr> added the comment: Pickling a file is tricky. You can't just pickle the construction parameters, you also need to save (and restore) the whole buffering state. I'm not sure a half-working pickle solution would make a good service to the user.
---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1474680> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com