[Python-Dev] Removing Python 2.4 -m switch helpers from import.c

Nick Coghlan ncoghlan at iinet.net.au
Fri Apr 21 13:10:44 CEST 2006


With the -m switch switching to using the runpy module in 2.5, the two private 
helper functions exposed by import.c (_PyImport_FindModule & 
_PyImport_IsScript) aren't needed anymore.

Should I remove them, since they're essentially dead code now?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-Dev mailing list