STINNER Victor <vstin...@python.org> added the comment:

> The other functions you are calling *do* return errors. You should not ignore 
> those. If any errors are reported the caller can decide what to do (e.g. call 
> Py_FatalError().

PEP 587 introduced PyStatus to Python startup code which let the 
Py_Initialize() caller to decide how to handle errors ;-) For example, you can 
open a graphical popup rather than killing the process with SIGABRT 
(Py_FatalError() behavior) which might be more user friendly :-D Or just log 
the error.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46430>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to