> So, an environment variable would be useful, but maybe there should also be > a Python function available that calls set_error_mode(). > sys.set_error_mode()?
Even though this would be somewhat lying - I'd put it into msvcrt.set_error_mode. For the _CrtSet functions, one might expose them as-is; they do belong to msvcrt, so the module would be the proper place. For SetErrorMode, still put it into msvcrt - it's at least Windows-specific. Regards, Martin _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com