On 4/23/07, Christian Heimes <[EMAIL PROTECTED]> wrote: > 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. >
299. > >> 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:-) That's fine, but this view in no way addresses the problem I am tackling; how to allow a module to be executed that has a relative import. With the change you want you don't even address the issue I am trying to tackle. -Brett _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com