Antoine Pitrou added the comment:

>From a quick look at the PyInterpreterState, stuff that may be risky to rely 
>on:
- mutable data from the sys module (mainly import-related data: sys.path, 
sys.meta_path, etc.)
- codecs registry metadata

Of course third-party modules (C extensions) may key additional data on the 
current interpreter, but I can't think of any stdlib module that does.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24554>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to