[issue3084] sys.exit() called from optparse - bad, bad, bad

2008-06-11 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3084] sys.exit() called from optparse - bad, bad, bad

2008-06-11 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I originally sent this by email but never saw it pop up. I eventually submitted via the web. -- superseder: -> sys.exit() called from optparse - bad, bad, bad ___ Python tracker <[EMAIL PROTECTE

[issue3084] sys.exit() called from optparse - bad, bad, bad

2008-06-11 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: This seems like a bug in optparse.OptionParser: def exit(self, status=0, msg=None): if msg: sys.stderr.write(msg) sys.exit(status) def error(self, msg): """error(msg : string) Print a us