homepage

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 ezio.melotti
Recipients bethard, docs@python, eric.araujo, ezio.melotti, jayt, tanqazx, xuanji
Date 2011年05月16日.12:00:21
SpamBayes Score 1.6842176e-06
Marked as misclassified No
Message-id <1305547222.01.0.465758631111.issue9938@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW unittest had a similar issue and it's been solved adding an 'exit' argument to unittest.main() [0].
I think using an attribute here might be fine.
The patch contains some trailing whitespace that should be removed, also it might be enough to name the attribute "exit_on_error".
It should also include tests to check that the attribute is set with the correct default value and that it doesn't raise SystemExit when the attribute is False.
[0]: http://docs.python.org/library/unittest.html#unittest.main 
History
Date User Action Args
2011年05月16日 12:00:22ezio.melottisetrecipients: + ezio.melotti, bethard, eric.araujo, docs@python, jayt, xuanji, tanqazx
2011年05月16日 12:00:22ezio.melottisetmessageid: <1305547222.01.0.465758631111.issue9938@psf.upfronthosting.co.za>
2011年05月16日 12:00:21ezio.melottilinkissue9938 messages
2011年05月16日 12:00:21ezio.melotticreate

AltStyle によって変換されたページ (->オリジナル) /