Message384125
The following script causes havoc on Windows while it works as expected on Linux
~~~ python
import os
import tempfile
def test_chdir():
with tempfile.TemporaryDirectory() as tempdir:
os.chdir(tempdir)
~~~
Running the above on Windows results in RecursionError: maximum recursion depth exceeded while calling a Python object (see attachment for the full stacktrace). |
|
Date |
User |
Action |
Args |
2020-12-31 15:44:23 | Gabriele Tornetta | set | recipients:
+ Gabriele Tornetta |
2020-12-31 15:44:22 | Gabriele Tornetta | set | messageid: <1609429462.99.0.549073524259.issue42796@roundup.psfhosted.org> |
2020-12-31 15:44:22 | Gabriele Tornetta | link | issue42796 messages |
2020-12-31 15:44:22 | Gabriele Tornetta | create | |
|