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 nadeem.vawda
Recipients cantor, jnoller, nadeem.vawda, pitrou, python-dev, sbt, tim.peters
Date 2013-10-28.20:53:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382993600.07.0.457043884455.issue19425@psf.upfronthosting.co.za>
In-reply-to
Content
[Split off from issue 19395]

The following code hangs after hitting a TypeError trying to pickle one
of the TextIOWrapper objects:

    import multiprocessing

    def read(f): return f.read()

    files = [open(path) for path in 3 * ['/dev/null']]
    pool = multiprocessing.Pool()
    results = pool.map(read, files)
    print(results)

This issue is present in 3.2, 3.3 and 3.4, but not in 2.7.
History
Date User Action Args
2013-10-28 20:53:20nadeem.vawdasetrecipients: + nadeem.vawda, tim.peters, pitrou, jnoller, python-dev, sbt, cantor
2013-10-28 20:53:20nadeem.vawdasetmessageid: <1382993600.07.0.457043884455.issue19425@psf.upfronthosting.co.za>
2013-10-28 20:53:20nadeem.vawdalinkissue19425 messages
2013-10-28 20:53:19nadeem.vawdacreate