[Python-3000] stdlib as .zip by default, pydoc to view source?

Nick Coghlan ncoghlan at gmail.com
Sat Jun 21 17:37:00 CEST 2008


Neil Schemenauer wrote:
> I wonder if it would make sense to start installing the Python
> standard library as a .zip file by default.  Some benefits would be
> a tidier and more compact install and slightly faster startup times.
> One downside is that it becomes more difficult to look at the source
> of modules.  That's an important feature of Python, especially for
> people learning the language.  
> 
> I think that downside could be mitigated by adding an option to
> pydoc that shows the source of a module.  For example, "pydoc -s
> bisect" could show the source for the bisect module.

Better to split the two questions I think, since I'd be +1 on having a 
way for pydoc to display the source code of an importable module, but -1 
on having the standard lib installed solely as a zip file by default 
(for the reasons Guido noted in his post).

Cheers,
Nick.

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


More information about the Python-3000 mailing list