On Wed, 22 Nov 2017 10:38:32 +0100 Victor Stinner <victor.stinner at gmail.com> wrote: > > I fixed the issue by calling _PyRuntime_Initialize() as the very first > function in main(). > > I also had to add _PyMem_GetDefaultRawAllocator() to get a > deterministic memory allocator, rather than depending on the allocator > set an application embedding Python, we must be sure that the same > allocator is used to initialize and finalize Python. This is a bit worrying. Do Python embedders have to go through the same dance? IMHO this really needs a simple solution documented somewhere. Also, hopefully when you do the wrong thing, you get a clear error message to know how to fix your code? Regards Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4