Message322027
| Author | r.david.murray |
|---|---|
| Recipients | jwilk, ncoghlan, r.david.murray, rhettinger |
| Date | 2018-07-20.16:35:12 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1532104512.66.0.56676864532.issue34157@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Nick, what Jakub is saying is that 'with' hasn't even gotten involved yet: we're still executing the NamedTemporaryFile constructor, so the object hasn't been returned for 'with' to operate on yet. In other words, NamedTemporaryFile.__init__ isn't safe against ctl-C when it calls _mkstemp, which is obvious by inspection since it isn't inside the try/except. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-07-20 16:35:12 | r.david.murray | set | recipients: + r.david.murray, rhettinger, ncoghlan, jwilk |
| 2018-07-20 16:35:12 | r.david.murray | set | messageid: <1532104512.66.0.56676864532.issue34157@psf.upfronthosting.co.za> |
| 2018-07-20 16:35:12 | r.david.murray | link | issue34157 messages |
| 2018-07-20 16:35:12 | r.david.murray | create | |