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 serhiy.storchaka
Recipients gregory.p.smith, serhiy.storchaka
Date 2017-04-13.18:56:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492109792.08.0.371711743582.issue30065@psf.upfronthosting.co.za>
In-reply-to
Content
It is hard to reproduce (especially the second issue) since in all cases in the stdlib a list passed to fork_exec() is just created by sorted() and doesn't have other references. But if someone is so insane that passes int-like objects with non-idempotent __int__ as file descriptors his can get a crash in debug build (or mystical bugs in release build). Added tests utilizes this, but this unlikely happens in real code.

I have found this issue during analyzing usages of PyObject_Size(), PySequence_Size() and PyMapping_Size() in issue30061.
History
Date User Action Args
2017-04-13 18:56:32serhiy.storchakasetrecipients: + serhiy.storchaka, gregory.p.smith
2017-04-13 18:56:32serhiy.storchakasetmessageid: <1492109792.08.0.371711743582.issue30065@psf.upfronthosting.co.za>
2017-04-13 18:56:32serhiy.storchakalinkissue30065 messages
2017-04-13 18:56:31serhiy.storchakacreate