[New-bugs-announce] [issue26108] Calling PyInitialize with 2.7.11 on Windows x64 terminates process
David Heffernan
report at bugs.python.org
Thu Jan 14 04:53:50 EST 2016
New submission from David Heffernan:
Environment:
- Python 2.7.11 from python.org, x64.
- Windows 10 or Windows 8.1
- MSVC 2015
I compiled the most basic embedding example, taken from the Python docs:
#include <Python.h>
int
main(int argc, char *argv[])
{
Py_SetProgramName(argv[0]); /* optional but recommended */
Py_Initialize();
PyRun_SimpleString("from time import time,ctime\n"
"print 'Today is',ctime(time())\n");
Py_Finalize();
return 0;
}
When run the call to Py_Initialize does not return and the process is terminated.
----------
components: Windows
messages: 258194
nosy: David Heffernan, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Calling PyInitialize with 2.7.11 on Windows x64 terminates process
type: crash
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26108>
_______________________________________
More information about the New-bugs-announce
mailing list