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 <>
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:

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:23Gabriele Tornettasetrecipients: + Gabriele Tornetta
2020-12-31 15:44:22Gabriele Tornettasetmessageid: <>
2020-12-31 15:44:22Gabriele Tornettalinkissue42796 messages
2020-12-31 15:44:22Gabriele Tornettacreate