Nick Coghlan <ncogh...@gmail.com> added the comment:

It's about navigability/discovery of the source - to find out how the sys 
module gets initialised, you currently have to look in multiple places. The 
idea of the patch is to simplify that to the one logical place: sysmodule.c

However, I'm not sure it's right to actually *move* the full import state 
initialisation. A simple *indirection* (pythonrun.c -> sysmodule.c -> import.c) 
would solve the navigability problem while also retaining some level of 
encapsulation for the import state initialisation.

----------

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

Reply via email to