[issue1329] Different 3.0a1 exit behavior
Guido van Rossum
report at bugs.python.org
Tue Oct 30 18:19:02 CET 2007
Guido van Rossum added the comment:
OK, thanks. The closefd part is good, but the stderrprinter part has a
problem. On Linux, in a non-debug build, this has the odd side effect
of subtracting one from sys.maxunicode. In a debug build, it dies like
this:
$ ./python -S
python: Modules/gcmodule.c:336: visit_reachable: Assertion `gc_refs > 0
|| gc_refs == (-3) || gc_refs == (-2)' failed.
Aborted
$
If I comment out the PySys_SetObject() call everything seems fine, but I
suspect that the problem is actually in the creation of the stdprinter
object.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1329>
__________________________________
More information about the Python-bugs-list
mailing list