Guido van Rossum wrote: >>> This is where I wonder why the "def __main__()" PEP was rejected in >>> the first place. It would have solved this problem as well. >> >> Could this be reconsidered for Py3k? > > You have a point. AFAICT, there's nothing preventing it from being added in 2.6. It won't break existing code with the "if name == main" paradigm. -- Giovanni Bajo
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4