homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author palmer
Recipients palmer
Date 2012年09月10日.21:29:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347312588.21.0.484965926655.issue15914@psf.upfronthosting.co.za>
In-reply-to
Content
create.py:
import multiprocessing
manager = multiprocessing.Manager()
namespace = manager.Namespace()
print("create.py complete")
run.py:
import create
print("run.py complete")
Correct behaviour occurs for create.py:
$ python3 create.py
create.py complete
INCORRECT behaviour occurs for run.py:
$ python3 run.py
No output, because it hangs. On SIGINT:
^CTraceback (most recent call last):
 File "run.py", line 1, in <module>
 import create
 File "[...]/create.py", line 7, in <module>
 test()
 File "[...]/create.py", line 5, in test
 namespace = manager.Namespace()
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/multiprocessing/managers.py", line 670, in temp
 token, exp = self._create(typeid, *args, **kwds)
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/multiprocessing/managers.py", line 568, in _create
 conn = self._Client(self._address, authkey=self._authkey)
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/multiprocessing/connection.py", line 175, in Client
 answer_challenge(c, authkey)
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/multiprocessing/connection.py", line 412, in answer_challenge
 message = connection.recv_bytes(256) # reject large message
KeyboardInterrupt
$ python3
Python 3.2.3 (v3.2.3:3d0686d90f55, Apr 10 2012, 11:25:50) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
This appears to be a duplicate of this *closed* bug:
http://bugs.python.org/issue7474
This was closed because nobody could reproduce the behaviour on Python 3. I have reproduced it, but I don't know how to reopen that bug, so I'm filing this one. The test case in 7474 also fails for me.
History
Date User Action Args
2012年09月10日 21:29:48palmersetrecipients: + palmer
2012年09月10日 21:29:48palmersetmessageid: <1347312588.21.0.484965926655.issue15914@psf.upfronthosting.co.za>
2012年09月10日 21:29:47palmerlinkissue15914 messages
2012年09月10日 21:29:47palmercreate

AltStyle によって変換されたページ (->オリジナル) /