[issue1195571] simple callback system for Py_FatalError

2012-12-22 Thread Jonathan McDougall
Jonathan McDougall added the comment: While trying to come up with a patch, I'm starting to realize the number of modifications needed to make this work. Py_FatalError() is called all over the place assuming that it never returns. The scope of this feature is enormous. I'm wondering

[issue1195571] simple callback system for Py_FatalError

2012-12-22 Thread Jonathan McDougall
Jonathan McDougall added the comment: The latest patch does not allow changing the default behaviour of aborting the process, which is for me a problem. I am both embedding and extending python using Boost.Python, but scripting is optional. In case python fails to initialize, I want to disable