[New-bugs-announce] [issue10082] PyRun_SimpleFile crashes application
report at bugs.python.org
Wed Oct 13 10:50:03 CEST 2010
New submission from Valery Lesin <valery.lesin at 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
title: PyRun_SimpleFile crashes application
versions: Python 3.1
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce