[issue11127] sockets should not be pickleable

2011-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed the patch with the test, thank you! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue11127] sockets should not be pickleable

2011-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5e13e5e6df30 by Antoine Pitrou in branch 'default': Issue #11127: Raise a TypeError when trying to pickle a socket object. http://hg.python.org/cpython/rev/5e13e5e6df30 -- nosy: +python-dev ___ Python tr

[issue11127] sockets should not be pickleable

2011-02-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: You also need to a test to Lib/test/test_socket.py. -- ___ Python tracker ___ ___ Python-bugs-list

[issue11127] sockets should not be pickleable

2011-02-20 Thread Xuanji Li
Xuanji Li 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 ___ Pyt

[issue11127] sockets should not be pickleable

2011-02-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue11127] sockets should not be pickleable

2011-02-05 Thread Antoine Pitrou
New submission from Antoine Pitrou : Like already done for file objects, sockets should refuse pickling by raising a TypeError. -- components: Library (Lib) messages: 127976 nosy: pitrou priority: normal severity: normal stage: needs patch status: open title: sockets should not be pickl