This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author toxnx
Recipients
Date 2004-03-07.00:16:33
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The test function in SimpleDialog is named "test()" 
instead of "_test()".  Since it only is used to test the 
SimpleDialog class, at the very least it should be 
named "_test()" so it doesn't run the risk of overwriting 
a function by the same name when imported using "from 
SimpleDialog import *".

However, I propose that the function declaration for test
() be moved under "if __name__ == '__main__':", that 
way the function is explicitly not part of the SimpleDialog 
module.
History
Date User Action Args
2007-08-23 15:32:41adminlinkissue911176 messages
2007-08-23 15:32:41admincreate