A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-November/150676.html below:

[Python-Dev] Python initialization and embedded Python

[Python-Dev] Python initialization and embedded Python [Python-Dev] Python initialization and embedded PythonVictor Stinner victor.stinner at gmail.com
Wed Nov 22 06:12:32 EST 2017
2017-11-22 12:04 GMT+01:00 Antoine Pitrou <solipsis at pitrou.net>:
> 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?

Right now, calling PyMem_RawMalloc() before calling
_PyRuntime_Initialize() calls the function at address NULL, so you get
a segmentation fault.

Documenting the new requirements is part of the discussion, it's one
option how to fix this issue.

Victor
More information about the Python-Dev mailing list

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