0

Giudo Van Helsing today announced that the use of a main() function in Python will now generate an error. After stating that "Python is not C" he went on to say that for backward compatibility the programmer can import a module for programs already using main(). "...and since the people who use main() are also the people who disregard naming conventions, it is"

from USELESScRUFT import main

The new main() function will also be required to return an integer or an error will be generated.

Edited by woooee: n/a

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by griswolf
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.