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 terry.reedy
Recipients docs@python, jmaki, r.david.murray, sbt, terry.reedy, wolma
Date 2014-04-18.20:03:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When quoting from the docs, it is helpful to give a link.
That also identifies the version.

I verified that the example fails on my 2.7.6 Windows 7 with
PicklingError: Can't pickle <type 'thread.lock'>: it's not found as thread.lock 

Since the example has been removed for 3.x, a possible minimal fix would be to say that it does not work on Windows and remove the statement that implies that it does.
  if sys.platform == 'win32': import multiprocessing.reduction
  # make sockets pickable/inheritable
Date User Action Args
2014-04-18 20:03:21terry.reedysetrecipients: + terry.reedy, r.david.murray, docs@python, sbt, wolma, jmaki
2014-04-18 20:03:21terry.reedysetmessageid: <>
2014-04-18 20:03:21terry.reedylinkissue21204 messages
2014-04-18 20:03:21terry.reedycreate