New submission from Antoine Pitrou <pit...@free.fr>: In Python 3, pickle accepts to serialize a file object, but the result is nonsensical when unpickled. I think we should explicitly forbid pickling of FileIO, Buffered{Reader,Writer} and TextIOWrapper objects.
---------- components: IO, Library (Lib) messages: 119450 nosy: alexandre.vassalotti, amaury.forgeotdarc, benjamin.peterson, pitrou priority: normal severity: normal status: open title: File objects should not pickleable type: behavior versions: Python 3.2 _______________________________________ 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