Message157701
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. |
|
Date |
User |
Action |
Args |
2012-04-06 22:18:22 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, pitrou, giampaolo.rodola, santoso.wijaya, sbt |
2012-04-06 22:18:22 | kristjan.jonsson | set | messageid: <1333750702.24.0.886816204855.issue14310@psf.upfronthosting.co.za> |
2012-04-06 22:18:21 | kristjan.jonsson | link | issue14310 messages |
2012-04-06 22:18:21 | kristjan.jonsson | create | |
|