[issue13533] Would like Py_Initialize to play friendly with host app

2019-05-27 Thread STINNER Victor
STINNER Victor added the comment: > I'm building a dll add-in (on Windows) in which I want to use the installed > version of Python, not provide my own installation. When py_initialize fails > it appears to call exit(). (...) This issue has been fixed by the PEP 587 in bpo-36763: Py_Initial

[issue13533] Would like Py_Initialize to play friendly with host app

2014-07-24 Thread Nick Coghlan
Nick Coghlan added the comment: Changing this isn't really feasible with the current design of the initialisation code - we call Py_FatalError in various places because we don't have the infrastructure set up to do anything else. PEP 432 should help (and the basic design there still seems soun

[issue13533] Would like Py_Initialize to play friendly with host app

2014-07-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue13533] Would like Py_Initialize to play friendly with host app

2014-07-24 Thread Yukihiro Nakadaira
Yukihiro Nakadaira added the comment: This problem easily happen when there is no python installation and there is standalone python application compiled with py2exe or cx_Freeze (e.g. Mercurial). Such application have pythonXX.dll in its directory. But its python library can not be loaded n

[issue13533] Would like Py_Initialize to play friendly with host app

2013-04-23 Thread Martin Morrison
Changes by Martin Morrison : -- nosy: +isoschiz, pconnell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue13533] Would like Py_Initialize to play friendly with host app

2011-12-05 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13533] Would like Py_Initialize to play friendly with host app

2011-12-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: If we add a (yet another) variant of Py_Initialize, I would suggest we make it extensible by passing it a struct of arguments (so that the struct can be augmented without breaking compatibility). -- components: +Interpreter Core -None nosy: +pitrou ve

[issue13533] Would like Py_Initialize to play friendly with host app

2011-12-05 Thread dangermouseb
New submission from dangermouseb : I'm building a dll add-in (on Windows) in which I want to use the installed version of Python, not provide my own installation. When py_initialize fails it appears to call exit(). This doesn't seem very friendly behaviour for an embeddable scripting language