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 gvanrossum
Recipients MrJean1, christian.heimes, gvanrossum, nnorwitz
Date 2007-10-30.17:19:01
SpamBayes Score 0.0992433
Marked as misclassified No
Message-id <1193764742.0.0.831603326624.issue1329@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2007-10-30 17:19:02gvanrossumsetspambayes_score: 0.0992433 -> 0.0992433
recipients: + gvanrossum, nnorwitz, christian.heimes, MrJean1
2007-10-30 17:19:02gvanrossumsetspambayes_score: 0.0992433 -> 0.0992433
messageid: <1193764742.0.0.831603326624.issue1329@psf.upfronthosting.co.za>
2007-10-30 17:19:01gvanrossumlinkissue1329 messages
2007-10-30 17:19:01gvanrossumcreate