Message405011
Alternatively, can't we just os.chdir(self._old_cwd) in __enter__ and preemptively fail? IMO it's probably better to just straight up fail if we can chdir back to the original directory than to have relatively fragile recovery logic. |
|
Date |
User |
Action |
Args |
2021-10-26 00:15:33 | FFY00 | set | recipients:
+ FFY00, barry, eryksun, ucodery |
2021-10-26 00:15:33 | FFY00 | set | messageid: <1635207333.62.0.216539045175.issue45545@roundup.psfhosted.org> |
2021-10-26 00:15:33 | FFY00 | link | issue45545 messages |
2021-10-26 00:15:33 | FFY00 | create | |
|