[Python-3000] PEP to change how the main module is delineated (original) (raw)

Christian Heimes lists at cheimes.de
Mon Apr 23 15:07:33 CEST 2007


Brett Cannon wrote:

Someone on python-idea brought up the idea to add the sys module to builtins. The feature would remove the requirement for an extra line and the costs should be minimal or even zero since sys is a special builtin module.

That's a separate PEP.

Do you remember the PEP number? I can't find the PEP.

Some people including me like to resurrect the PEP 299 main() function idea. http://www.python.org/dev/peps/pep-0299/ As I have already said multiple times on python-ideas, I don't personally like that idea. If someone wants to do the work to try to push that view then they can.

I know. I mentioned it because I "wanted to push that view". O:-)

Christian



More information about the Python-3000 mailing list