This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Gabriele Tornetta
Recipients Gabriele Tornetta
Date 2020-12-31.15:44:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609429462.99.0.549073524259.issue42796@roundup.psfhosted.org>
In-reply-to
Content
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).
History
Date User Action Args
2020-12-31 15:44:23Gabriele Tornettasetrecipients: + Gabriele Tornetta
2020-12-31 15:44:22Gabriele Tornettasetmessageid: <1609429462.99.0.549073524259.issue42796@roundup.psfhosted.org>
2020-12-31 15:44:22Gabriele Tornettalinkissue42796 messages
2020-12-31 15:44:22Gabriele Tornettacreate