Kristján Valur Jónsson <krist...@ccpgames.com> added the comment: by "memberfunction" I mean a member of the class. I tried staticmethod and it didn't work: I tried a staticmethod and it didn't work: ====================================================================== ERROR: testShare (test.test_socket.TestSocketSharing) ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\pydev\cpython\lib\test\test_socket.py", line 4723, in testShare p.start() File "D:\pydev\cpython\lib\multiprocessing\process.py", line 136, in start self._popen = Popen(self) File "D:\pydev\cpython\lib\multiprocessing\forking.py", line 269, in __init__ dump(process_obj, to_child, HIGHEST_PROTOCOL) File "D:\pydev\cpython\lib\multiprocessing\forking.py", line 190, in dump ForkingPickler(file, protocol).dump(obj) _pickle.PicklingError: Can't pickle <class 'function'>: attribute lookup builtins.function failed
(Picking this kind of stuff should work of course but that's another story) But changing it to staticmethod strangely fixes it. Interesting. the gethostbynametests were an encoding mistake. Would not have been checked in but it was nice of you to notice. These are windows only tests for python 3.3. There is no need to test for IPV6. Here is yet another patch. ---------- Added file: http://bugs.python.org/file25145/duplicate.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14310> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com