Terry J. Reedy added the comment:
The same example failing is the subject of #5879.
--
resolution: - duplicate
status: open - closed
superseder: - multiprocessing - example pool of http servers fails on
windows socket has no attribute fromfd
___
Terry J. Reedy added the comment:
When quoting from the docs, it is helpful to give a link.
https://docs.python.org/2/library/multiprocessing.html#examples
That also identifies the version.
I verified that the example fails on my 2.7.6 Windows 7 with
PicklingError: Can't pickle type
Changes by Martin v. Löwis mar...@v.loewis.de:
--
title: published examples don't work - multiprocessing example does not work
on Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21204
Martin v. Löwis added the comment:
Ah, Python 2.7. Note that the example is gone in Python 3, as part of the large
change in issue8713.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21204
Changes by Martin v. Löwis mar...@v.loewis.de:
--
nosy: -loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21204
___
___
Python-bugs-list
jmaki added the comment:
Upon further investigation, this may be related to:
http://bugs.python.org/issue1378
However, it seems the issue is not checked-in to Windows release for 2.x?
Regards,
John
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
If you look at the source code for 2.7, it is clear that patch has been applied.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21204
___
R. David Murray added the comment:
To clarify, the commit in that issue is in 2.7. So if there is something else
that isn't in 2.7, it is a different issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21204