Author ColinPDavidson
Recipients ColinPDavidson
Date 2014-05-30.19:55:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401479749.7.0.550679517464.issue21614@psf.upfronthosting.co.za>
In-reply-to
Content
On windows 7, if a Python app is run (under python 2.7.6) and the invoking filename is capitalized differently from the source file itself, a subsequent attempt to use the multiprocessing module to "fork" a process will fail in the "forking" module. This happens because the fopen at line 1559 in import.c (in the "imp" module find_module method) uses the invoking capitalization, rather than the file capitalization and fails to open the file.

The traceback gives lines 380 then 489 in forking.py, but as noted, the problem is in import.c (or in the Python startup, which could convert the capitalization...).
History
Date User Action Args
2014-05-30 19:55:49ColinPDavidsonsetrecipients: + ColinPDavidson
2014-05-30 19:55:49ColinPDavidsonsetmessageid: <1401479749.7.0.550679517464.issue21614@psf.upfronthosting.co.za>
2014-05-30 19:55:49ColinPDavidsonlinkissue21614 messages
2014-05-30 19:55:48ColinPDavidsoncreate