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/2004-August/046594.html below:

[Python-Dev] Safe to change a thread's interpreter?

[Python-Dev] Safe to change a thread's interpreter? [Python-Dev] Safe to change a thread's interpreter?"Martin v. Löwis" martin at v.loewis.de
Mon Aug 2 06:19:57 CEST 2004
Phillip J. Eby wrote:
> Recently I've been researching implementation strategies for adding Java 
> classloader-like capabilities to Python.  I was pleasantly surprised to 
> find out that CPython already supports multiple interpreters via the C 
> API, where each "interpreter" includes fresh versions of 'sys', 
> '__builtin__', etc.

You should be aware that many of us consider the feature of multiple
interpreters broken. For example, global variables in extension modules
are shared across interpreters, and there is nothing that can be done
about this, except for changing the entire C API.

Regards,
Martin
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