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 Claudiu.Popa
Recipients Claudiu.Popa
Date 2012年02月28日.13:51:37
SpamBayes Score 3.8857806e-16
Marked as misclassified No
Message-id <1330437098.57.0.315162934772.issue14151@psf.upfronthosting.co.za>
In-reply-to
Content
In multiprocessing.connection, when using a Windows named pipe on a Unix platform, the following error will occur. This should not happen, the format of the address should be validated somehow before. The following error will occur because PipeListener is not defined under any platform different than win32. 
Python 3.2.2 (default, Oct 14 2011, 21:46:49)
[GCC 4.2.2 20070831 prerelease [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> from multiprocessing.connection import Listener
>>> Listener(r'\\.\test')
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/usr/local/lib/python3.2/multiprocessing/connection.py", line 130, in __init__
 self._listener = PipeListener(address, backlog)
NameError: global name 'PipeListener' is not defined
>>>
I've attached a small patch for this issue.
History
Date User Action Args
2012年02月28日 13:51:38Claudiu.Popasetrecipients: + Claudiu.Popa
2012年02月28日 13:51:38Claudiu.Popasetmessageid: <1330437098.57.0.315162934772.issue14151@psf.upfronthosting.co.za>
2012年02月28日 13:51:37Claudiu.Popalinkissue14151 messages
2012年02月28日 13:51:37Claudiu.Popacreate

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