History for Lib/pathlib - python/cpython · GitHub

github.com

Tin mới

gh-86533: Restore os.makedirs() ability to apply *mode* recursively (GH-150011)

gh-86533: Restore os.makedirs() ability to apply *mode* recursively (GH-150011)

gh-149611: Explain return values for `Path.write_text()` and `Path.write_bytes()` (#149629)

gh-149611: Explain return values for `Path.write_text()` and `Path.write_bytes()` (#149629)

gh-137855: Improve import time of `pathlib` (GH-146327)

gh-137855: Improve import time of `pathlib` (GH-146327)

GH-139174: Prepare `pathlib.Path.info` for new methods (part 2) (#140155)

GH-139174: Prepare `pathlib.Path.info` for new methods (part 2) (#140155)

GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (#133831)

GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (#133831)

gh-139001: Fix thread-safety issue in `pathlib.Path` (gh-139066)

gh-139001: Fix thread-safety issue in `pathlib.Path` (gh-139066)

pathlib ABCs: restore `relative_to()` and `is_relative_to()` (#138853)

pathlib ABCs: restore `relative_to()` and `is_relative_to()` (#138853)

GH-139174: Prepare `pathlib.Path.info` for new methods (#139175)

GH-139174: Prepare `pathlib.Path.info` for new methods (#139175)

GH-128520: pathlib ABCs: improve protocol for 'openable' objects (#134101)

GH-128520: pathlib ABCs: improve protocol for 'openable' objects (#134101)

GH-128520: pathlib ABCs: tweak protocol for virtual path strings (#134104)

GH-128520: pathlib ABCs: tweak protocol for virtual path strings (#134104)

gh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (#133876)

gh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (#133876)

GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437)

GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437)

GH-128520: pathlib ABCs: raise text encoding warnings at correct stack level (#133051)

GH-128520: pathlib ABCs: raise text encoding warnings at correct stack level (#133051)

GH-125866: Support complete "file:" URLs in urllib (#132378)

GH-125866: Support complete "file:" URLs in urllib (#132378)

GH-123599: `url2pathname()`: handle authority section in file URL (#126844)

GH-123599: `url2pathname()`: handle authority section in file URL (#126844)

GH-128520: pathlib ABCs: tighten up argument types (#131621)

GH-128520: pathlib ABCs: tighten up argument types (#131621)

GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617)

GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617)

GH-128520: pathlib ABCs: reject empty pattern in `ReadablePath.glob()` (#127343)

GH-128520: pathlib ABCs: reject empty pattern in `ReadablePath.glob()` (#127343)

GH-123599: Deprecate duplicate `pathname2url()` implementation (#127380)

GH-123599: Deprecate duplicate `pathname2url()` implementation (#127380)

GH-123599: Remove duplicate `url2pathname()` implementation (#127237)

GH-123599: Remove duplicate `url2pathname()` implementation (#127237)

GH-130614: pathlib ABCs: improve support for receiving path metadata (#131259)

GH-130614: pathlib ABCs: improve support for receiving path metadata (#131259)

GH-130614: pathlib ABCs: parametrize test suite for path copying (#131168)

GH-130614: pathlib ABCs: parametrize test suite for path copying (#131168)

GH-127381: pathlib ABCs: remove `case_sensitive` argument (#131024)

GH-127381: pathlib ABCs: remove `case_sensitive` argument (#131024)

GH-130614: pathlib ABCs: support alternate separator in `full_match()` (#130991)

GH-130614: pathlib ABCs: support alternate separator in `full_match()` (#130991)

GH-130614: pathlib ABCs: retain original separator in `with_name()` (#130990)

GH-128520: Merge `pathlib._local` into `pathlib` (#130748)

GH-128520: Merge `pathlib._abc` into `pathlib.types` (#130747)

GH-127381: pathlib ABCs: remove `WritablePath.mkdir()` arguments (#130611)

GH-127381: pathlib ABCs: remove `ReadablePath.exists()` and `is_*()` (#130520)

Revert "GH-116380: Speed up `glob.[i]glob()` by making fewer system calls. (#116392)" (#130743)

GH-116380: Speed up `glob.[i]glob()` by making fewer system calls. (#116392)

GH-130608: Remove `dirs_exist_ok` argument from `pathlib.Path.copy()` (#130610)

GH-125413: Add private `pathlib.Path` method to write metadata (#130238)

GH-125413: Fix stale metadata from `pathlib.Path.copy()` and `move()` (#130424)

GH-125413: pathlib ABCs: use caching `path.info.exists()` when globbing (#130422)