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 Valery.Lesin
Recipients Valery.Lesin
Date 2010-10-13.08:50:00
SpamBayes Score 0.00010923699
Marked as misclassified No
Message-id <1286959803.51.0.331487773868.issue10082@psf.upfronthosting.co.za>
In-reply-to
Content
All the functions in Python/C API for file execution (like PyRun_SimpleFile) crash the application.

Some thoughts about problem: these functions use FILE* as first parameter which is binary incompatible with different CRT (python.dll and application could use different ones). 

Some thoughts about solution: maybe it's possible to pass only filename and python will open (and close) file itself? Second idea is to use functions like PyFile_FromString (like in Python 2)
History
Date User Action Args
2010-10-13 08:50:04Valery.Lesinsetrecipients: + Valery.Lesin
2010-10-13 08:50:03Valery.Lesinsetmessageid: <1286959803.51.0.331487773868.issue10082@psf.upfronthosting.co.za>
2010-10-13 08:50:01Valery.Lesinlinkissue10082 messages
2010-10-13 08:50:00Valery.Lesincreate