New submission from Valery Lesin <valery.le...@gmail.com>: 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) ---------- components: Extension Modules, Windows messages: 118506 nosy: Valery.Lesin priority: normal severity: normal status: open title: PyRun_SimpleFile crashes application type: crash versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10082> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com