[Python-ideas] sys.py

Victor Stinner victor.stinner at gmail.com
Thu Sep 14 18:26:59 EDT 2017


Le 14 sept. 2017 01:01, "Eric Snow" <ericsnowcurrently at gmail.com> a écrit :

In the case of
sys.modules, the problem is that assigning a bogus value (e.g. []) can
cause the interpreter to crash.  It wasn't a problem until recently
when I removed PyInterpreterState.modules and made sys.modules
authoritative (see https://bugs.python.org/issue28411).


How do you crash Python? Can't we fix the interpreter?

Your change makes so I would prefer to keep it if possible.

Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170915/622b7e88/attachment-0001.html>


More information about the Python-ideas mailing list