Nov. 24, 2013
4:27 p.m.
Guido van Rossum wrote:
Haven't followed all of this, but perhaps the simplest thing would be to define a new builtin function that returns True in the namespace of the main module and false everywhere else.
Can someone remind me why there's so much resistance to simply blessing a __main__() function? It would be straightforward and intuitive and in line with what just about every other language does. -- Greg