Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
bpo-25625: add contextlib.chdir
Update Lib/test/test_contextlib.py
Serhiy's feedback Signed-off-by: Filipe Laíns <[email protected]>
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
Please decide on chdir() / workdir() context manager python/steering-council#77
The presence of a chdir decorator in Python's stdlib promotes the idea that the feature is a good standard practice. However it is ill-advised to change process global state such as the working directory in most cases.
Merge main to work around BPO-45220 unrelated Windows failures
refeer that the cm is not parallel-safe in the news entry
fix typo in news Signed-off-by: Filipe Laíns <[email protected]>
add contextlib.chdir python/typeshed#6191
ENH: Add slicer.util.chdir context manager
ENH: Add slicer.util.chdir context manager Slicer/Slicer#6341
ENH: Add slicer.util.chdir context manager
add context manager for changing directories AnswerDotAI/fastcore#436