This is probably the single snippet of code I find myself re-implementing the most in projects. Not being thread safe is not optimal, but there isn't really any good way to do so, and that does not negate the huge usefulness of this function. Signed-off-by: Filipe Laíns <[email protected]>
Co-authored-by: Filipe Laíns <[email protected]>
Signed-off-by: Filipe Laíns <[email protected]>
mentioned this pull request
Closed
Signed-off-by: Filipe Laíns <[email protected]>
Signed-off-by: Filipe Laíns <[email protected]>
Merged
added a commit to jcfr/Slicer that referenced this pull request
This commit implements a non thread-safe context manager to change the current working directory. Available in Python 3.11 as ``contextlib.chdir`` and adapted from
.
mentioned this pull request
Merged
added a commit to Slicer/Slicer that referenced this pull request
This commit implements a non thread-safe context manager to change the current working directory. Available in Python 3.11 as ``contextlib.chdir`` and adapted from
. Closed
Closed