[issue11127] sockets should not be pickleable

Xuanji Li report at bugs.python.org
Sun Feb 20 12:32:24 CET 2011

Xuanji Li <xuanji at gmail.com> added the comment:

the correct way is to provide a __getstate__ method for socket right? I have implemented that in the attached patch.

keywords: +patch
nosy: +xuanji
Added file: http://bugs.python.org/file20803/issue11127.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list