[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

Pat Le Cat report at bugs.python.org
Sun Jun 22 12:42:03 CEST 2014


Pat Le Cat added the comment:

Update on mingw: When I comment out the Py_SetPath() function call, then the code runs up to the 4th test print and then crashes again, possibly at: "Py_XDECREF(pArgs)". So apart from the 'encoding' module that cannot be found there is still a crash. I installed Python 3.4.1 again for this.
BTW: The multiply.py runs fine when called with "py -3" directly.

>>Output:
C:\Development\xxx\Testo1\Snakes\Release>Snakes.exe multiply multiply 3 2
Number of arguments 5
Will compute 3 times 2
Result:  6
***Test1***Test2***Test3Will compute 3 times 2
***Test4

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21799>
_______________________________________


More information about the Python-bugs-list mailing list