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 ramiroluz
Recipients ramiroluz
Date 2010-11-22.00:38:30
SpamBayes Score 0.021229185
Marked as misclassified No
Message-id <1290386312.84.0.302753892173.issue10495@psf.upfronthosting.co.za>
In-reply-to
Content
When someone run Demo/comparisons/regextest.py without arguments it waits for lines to be inserted in the command line silently, until the EOF, or Ctrl+D in Linux, is entered.

If the user read the file, editing or using cat Demo/comparisons/sortingtest.py he have to understand the code to figure out how to use it.

My suggestion is to add an usage message, plus the if __name__ == '__main__':.
History
Date User Action Args
2010-11-22 00:38:32ramiroluzsetrecipients: + ramiroluz
2010-11-22 00:38:32ramiroluzsetmessageid: <1290386312.84.0.302753892173.issue10495@psf.upfronthosting.co.za>
2010-11-22 00:38:30ramiroluzlinkissue10495 messages
2010-11-22 00:38:30ramiroluzcreate