Message154552
| 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:38 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa |
| 2012年02月28日 13:51:38 | Claudiu.Popa | set | messageid: <1330437098.57.0.315162934772.issue14151@psf.upfronthosting.co.za> |
| 2012年02月28日 13:51:37 | Claudiu.Popa | link | issue14151 messages |
| 2012年02月28日 13:51:37 | Claudiu.Popa | create |
|