Author: guido.van.rossum
Date: Fri Nov 2 17:24:54 2007
New Revision: 58775
Modified:
python/branches/py3k-pep3137/Python/pythonrun.c
Log:
Re-enable assignment of the proper thing to sys.stderr;
in my fury I accidentally submitted a debug change.
This fixes the failure in test_sys.
Modified: python/branches/py3k-pep3137/Python/pythonrun.c
==============================================================================
--- python/branches/py3k-pep3137/Python/pythonrun.c (original)
+++ python/branches/py3k-pep3137/Python/pythonrun.c Fri Nov 2 17:24:54 2007
@@ -744,7 +744,7 @@
PySys_SetObject("stdout", std);
Py_DECREF(std);
-#if 0 /* Disable this if you have trouble debugging bootstrap stuff */
+#if 1 /* Disable this if you have trouble debugging bootstrap stuff */
/* Set sys.stderr, replaces the preliminary stderr */
if (!(std = PyFile_FromFd(fileno(stderr), "<stderr>", "w", -1,
NULL, "\n", 0))) {
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins