[Python-3000] python -S

Christian Heimes lists at cheimes.de
Fri Aug 15 01:40:32 CEST 2008


Antoine Pitrou wrote:
> Well, it looks like I underestimated the consequences of making io.py depend on
> the threading module. Is it ok if I add itertools, operator, _collections and
> time to the list of statically compiled modules? They are needed by threading,
> and thus necessary for running setup.py on a blank checkout.

Couldn't you use "from _thread import allocate_lock as Lock" instead? I 
know, I know, never use a private module directly. But the io module is 
crucial to the interpreter startup. Do we really want to load four 
additional C modules and one Python module at *every* startup?

Christian



More information about the Python-3000 mailing list