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/2012-June/120322.html below:

[Python-Dev] PEP 362: 4th edition

[Python-Dev] PEP 362: 4th edition [Python-Dev] PEP 362: 4th editionChristian Heimes lists at cheimes.de
Sat Jun 16 00:05:32 CEST 2012
Am 15.06.2012 23:03, schrieb R. David Murray:
> The issue isn't "consenting adults", the issue is consistency.
> Without the deepcopy, sometimes what you get back from the
> inspect function is freely modifiable and sometimes it is not.
> That inconsistency is a bad thing.

This must be addressed one way or the other. Otherwise you will break
isolation of sub interpreters. Builtin objects, types and methods *must*
be immutable because they are shared across subinterpreters. This topic
has been addressed by the PEP.

Proposal:
You could store the signature objects for builtin methods in a dict in
each PyInterpreterState and use the qualname to reference the signature
object. This ensures full isolation.

Christian

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