Message341852
> So it's already possible to do what you describe, simply by doing:
I think there is an edge case here if a stdin/stdout is opened? It would get closed at exist from the context, no?
So I suggest that a slight extension of what open otherwise returns is returned which make sure context manager applies only to non-stdin/stdout handles. |
|
Date |
User |
Action |
Args |
2019-05-08 05:58:55 | mitar | set | recipients:
+ mitar, bethard, eric.araujo, Paolo.Elvati, manveru, Stefan.Pfeiffer, paul.j3, David.Layton, josh.r, remi.lapeyre |
2019-05-08 05:58:55 | mitar | set | messageid: <1557295135.23.0.268547600424.issue13824@roundup.psfhosted.org> |
2019-05-08 05:58:55 | mitar | link | issue13824 messages |
2019-05-08 05:58:55 | mitar | create | |
|