New PEP: Quality Guidelines For Standard Modules
Roman Suzi
rnd at onego.ru
Wed Jul 4 00:48:01 EDT 2001
There could be even use of some special __-word to
stress that the module is standard:
__distribution__
or
__belongs__
And probably standard modules need to clean-up unused
names after they done, so there will be no other
standard modules in the module namespace like in this situation:
>>> import uu
>>> uu.
uu.Error uu.__doc__ uu.__name__ uu.decode uu.os uu.test
uu.__all__ uu.__file__ uu.binascii uu.encode uu.sys
uu.sys is the same sys here!
Also maybe standard modules need to have __all__ to explicitely
mention their interface (or we'll wait for interface PEP
to be adopted?)
Sincerely yours, Roman Suzi
--
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Wednesday, July 04, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Mediocrity requires aloofness to preserve it's dignity" _/
More information about the Python-list
mailing list