On Tue, Mar 24, 2009 at 3:45 PM, Antoine Pitrou <solip...@pitrou.net> wrote: > Mark Hammond <skippy.hammond <at> gmail.com> writes: >> >> Note that I previously opened http://bugs.python.org/issue5116 with a >> patch to enable this to be controlled from Python via the msvcrt module. >> This would enable the test suite to disable assertions for its entire run. > > We certainly don't want to disable assertions during the test suite if it > silences bugs which can crash the user's interpreter.
I assume the goal would be to write them to stdout or stderr instead of hanging the process by throwing up a dialog box. For that matter, you could use CrtSetReportFile to redirect them to any given file and then assert at the end of the test run that the file is empty. -- Curt Hagenlocher c...@hagenlocher.org _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com