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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, hankdane, loewis, tarek
Date 2009-09-17.08:50:48
SpamBayes Score 1.6197406e-06
Marked as misclassified No
Message-id <1253177449.93.0.636464370816.issue6919@psf.upfronthosting.co.za>
In-reply-to
Content
It will seem to work for simple scripts, but many extension modules
won't behave properly because:
- some API functions (PyFile_AsFile, many PyRun_*functions,
PyMarshal_*+FromFile) pass FILE* structures, which differ between
instances of the CRT.
- file descriptors, environment variables, locale settings, the errno
variable, are not shared.
- when a thread exits, it would have to free thread-local storage for
each CRT.

Python uses Ansi C, and has to use the same system as the extension
modules it wants to support. Linking statically with the CRT may be a
solution in specific cases, but not for the general python distribution.
History
Date User Action Args
2009-09-17 08:50:50amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, tarek, hankdane
2009-09-17 08:50:49amaury.forgeotdarcsetmessageid: <1253177449.93.0.636464370816.issue6919@psf.upfronthosting.co.za>
2009-09-17 08:50:48amaury.forgeotdarclinkissue6919 messages
2009-09-17 08:50:48amaury.forgeotdarccreate