Message390903
| Author |
ethan.furman |
| Recipients |
Carl Osterwisch, Gabi.Davar, John Florian, chary314, dabrahams, davide.rizzo, dlenski, eric.araujo, eric.smith, eryksun, ethan smith, ethan.furman, ev2geny, jaraco, jwilk, martin.panter, ncoghlan, njs, paul.moore, piotr.dobrogost, pitrou, r.david.murray, sbt, steve.dower, tim.golden, zach.ware |
| Date |
2021年04月12日.20:46:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1618260411.61.0.632749919847.issue14243@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Paul,
If "rescuing" (i.e. "fixing" ;) NamedTemporaryFile was arduous, complicated, or had serious backwards-compatibility issues then I would completely agree with you. However, the fix is simple, the only backwards-compatible issue is the file would still be there /while a context manager was in use/ after it had been closed (which conforms to most, if not all, users of context managers) and a file would be left on disk in the event of a hard crash (hopefully a rare occurrence).
Your proposal, on the other, is a lot of work. Is the minor backwards compatibility worth all that work? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2021年04月12日 20:46:51 | ethan.furman | set | recipients:
+ ethan.furman, paul.moore, jaraco, ncoghlan, pitrou, eric.smith, tim.golden, jwilk, eric.araujo, r.david.murray, njs, dabrahams, davide.rizzo, sbt, Gabi.Davar, martin.panter, piotr.dobrogost, zach.ware, dlenski, eryksun, steve.dower, Carl Osterwisch, ethan smith, John Florian, ev2geny, chary314 |
| 2021年04月12日 20:46:51 | ethan.furman | set | messageid: <1618260411.61.0.632749919847.issue14243@roundup.psfhosted.org> |
| 2021年04月12日 20:46:51 | ethan.furman | link | issue14243 messages |
| 2021年04月12日 20:46:51 | ethan.furman | create |
|