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/2011-February/108329.html below:

[Python-Dev] PyEval_InitThreads() no longer safe before Py_Initialize() in 3.2

[Python-Dev] PyEval_InitThreads() no longer safe before Py_Initialize() in 3.2 [Python-Dev] PyEval_InitThreads() no longer safe before Py_Initialize() in 3.2Eric Smith eric at trueblade.com
Sat Feb 26 10:28:58 CET 2011
Can you open an issue in the bug tracker?

Thanks.

On 2/25/2011 3:48 AM, Juraj Ivančić wrote:
> It seems that PyEval_InitThreads() can no longer be called before
> Py_Initialize(). I get a fatal error in PyThreadState_GET().
> This contradicts the documentation
>
> http://docs.python.org/release/3.2/c-api/init.html#PyEval_InitThreads
>
> Minimal repro:
>
> #include "Python.h"
> int main()
> {
> PyEval_InitThreads();
> return 0;
> }
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/eric%2Ba-python-dev%40trueblade.com
>
>

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