Message291627
| 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:32 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gregory.p.smith |
| 2017年04月13日 18:56:32 | serhiy.storchaka | set | messageid: <1492109792.08.0.371711743582.issue30065@psf.upfronthosting.co.za> |
| 2017年04月13日 18:56:32 | serhiy.storchaka | link | issue30065 messages |
| 2017年04月13日 18:56:31 | serhiy.storchaka | create |
|