Message414120
> 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. |
|
Date |
User |
Action |
Args |
2022-02-26 23:21:03 | vstinner | set | recipients:
+ vstinner, gvanrossum, christian.heimes, corona10, miss-islington, sobolevn, kumaraditya |
2022-02-26 23:21:02 | vstinner | set | messageid: <1645917662.95.0.13226435189.issue46430@roundup.psfhosted.org> |
2022-02-26 23:21:02 | vstinner | link | issue46430 messages |
2022-02-26 23:21:02 | vstinner | create | |
|