[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:

[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

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

2014-07-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13533 ___ ___ Python-bugs-list mailing

[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

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

2013-04-23 Thread Martin Morrison
Changes by Martin Morrison m...@ensoft.co.uk: -- nosy: +isoschiz, pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13533 ___ ___

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

2011-12-05 Thread dangermouseb
New submission from dangermouseb da...@bigredmedia.tv: 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

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

2011-12-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2011-12-05 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13533 ___ ___ Python-bugs-list