Alexandre Vassalotti <alexan...@peadrop.com> added the comment:

That seems easy to fix by adding a dummy __reduce__ method to file. My
only worry is this could break file subclasses which may have ad-hoc
mechanisms implemented for pickling files.

----------
keywords: +patch
nosy: +alexandre.vassalotti
stage:  -> needs patch
type:  -> behavior
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file14378/disable_file_pickling-py2.diff

_______________________________________
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

Reply via email to