Message348231
I believe this to be a bug in the standard library instead of solely being the result of an application error.
When a Popen instance is finalized by the garbage collector, the internal handle is also finalized and closed despite the instance being put on the active list. This results in _cleanup throwing because the handle can no longer be used.
I've attached a small reproduction. |
|
Date |
User |
Action |
Args |
2019-07-21 08:07:31 | emanuel | set | recipients:
+ emanuel, gregory.p.smith, paul.moore, vstinner, tim.golden, zach.ware, eryksun, steve.dower, efiop |
2019-07-21 08:07:31 | emanuel | set | messageid: <1563696451.37.0.517660463823.issue37380@roundup.psfhosted.org> |
2019-07-21 08:07:31 | emanuel | link | issue37380 messages |
2019-07-21 08:07:31 | emanuel | create | |
|