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

2025-10-17 Thread barneygale
https://github.com/python/cpython/commit/1bfe86cca3ec16351d69fa778f1212f1dd84 commit: 1bfe86cca3ec16351d69fa778f1212f1dd84 branch: main author: Barney Gale committer: barneygale date: 2025-10-18T02:13:25+01:00 summary: GH-139174: Prepare `pathlib.Path.info` for new methods (part 2

[Python-checkins] pathlib ABCs: restore `relative_to()` and `is_relative_to()` (#138853)

2025-10-17 Thread barneygale
https://github.com/python/cpython/commit/49aaee7978c54211967392678072accc403d15f2 commit: 49aaee7978c54211967392678072accc403d15f2 branch: main author: Barney Gale committer: barneygale date: 2025-10-10T19:08:55+01:00 summary: pathlib ABCs: restore `relative_to()` and `is_relative_to

[Python-checkins] [3.14] GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (GH-133831) (#140276)

2025-10-17 Thread barneygale
https://github.com/python/cpython/commit/f59236b746b8cab8eb06a1c9fcd6c8ad9b6a93d1 commit: f59236b746b8cab8eb06a1c9fcd6c8ad9b6a93d1 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2025-10-17T22:23:01Z summary: [3.

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

2025-10-17 Thread barneygale
https://github.com/python/cpython/commit/f4e51f253ad6c27583438f6182c33cf368bfa45f commit: f4e51f253ad6c27583438f6182c33cf368bfa45f branch: main author: Barney Gale committer: barneygale date: 2025-10-17T21:57:51Z summary: GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13

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

2025-09-23 Thread barneygale
https://github.com/python/cpython/commit/9e6493849ec2389460a8933314fcc8b7be01c221 commit: 9e6493849ec2389460a8933314fcc8b7be01c221 branch: main author: Barney Gale committer: barneygale date: 2025-09-24T01:52:24Z summary: GH-139174: Prepare `pathlib.Path.info` for new methods (#139175) Merge

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

2025-09-12 Thread barneygale
https://github.com/python/cpython/commit/805e3368d6d07e58430654d1365283924fdf4143 commit: 805e3368d6d07e58430654d1365283924fdf4143 branch: main author: Barney Gale committer: barneygale date: 2025-09-12T22:25:18+01:00 summary: GH-128520: pathlib ABCs: improve protocol for 'openable

[Python-checkins] GH-137466: Remove deprecated and undocumented `glob.glob0()` and `glob1()` (#137467)

2025-08-06 Thread barneygale
https://github.com/python/cpython/commit/f0a3c6ebc9bee22ddb318db1143317dc2cf06de1 commit: f0a3c6ebc9bee22ddb318db1143317dc2cf06de1 branch: main author: Barney Gale committer: barneygale date: 2025-08-06T17:13:58+01:00 summary: GH-137466: Remove deprecated and undocumented `glob.glob0()` and

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

2025-07-27 Thread barneygale
https://github.com/python/cpython/commit/2bd4ff07001038fada17b6dbcb5ab5aabd27c26e commit: 2bd4ff07001038fada17b6dbcb5ab5aabd27c26e branch: main author: Barney Gale committer: barneygale date: 2025-07-27T12:47:15+01:00 summary: GH-128520: pathlib ABCs: tweak protocol for virtual path strings

[Python-checkins] GH-137059: `url2pathname()`: fix support for drive letter in netloc (#137060)

2025-07-27 Thread barneygale
https://github.com/python/cpython/commit/10a925c86db4cbcb9324c7269f69f813d3e7ed79 commit: 10a925c86db4cbcb9324c7269f69f813d3e7ed79 branch: main author: Barney Gale committer: barneygale date: 2025-07-27T11:44:41Z summary: GH-137059: `url2pathname()`: fix support for drive letter in netloc

[Python-checkins] [3.14] GH-136874: `url2pathname()`: discard query and fragment components (GH-136875) (#136942)

2025-07-21 Thread barneygale
https://github.com/python/cpython/commit/81edfb7140074bac3407c175664281e7aaad046a commit: 81edfb7140074bac3407c175664281e7aaad046a branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2025-07-21T19:08:07+01:00 summary: [3.

[Python-checkins] GH-136874: `url2pathname()`: discard query and fragment components (#136875)

2025-07-21 Thread barneygale
https://github.com/python/cpython/commit/80b2d60a51cfd824d025eb8b3ec500acce5c010c commit: 80b2d60a51cfd824d025eb8b3ec500acce5c010c branch: main author: Barney Gale committer: barneygale date: 2025-07-21T17:33:20Z summary: GH-136874: `url2pathname()`: discard query and fragment components

[Python-checkins] [3.13] gh-133286: add explanation about `seq` for pathlib Pattern Language (GH-133340) (#134106)

2025-05-16 Thread barneygale
https://github.com/python/cpython/commit/8077e2268c7f44142ba5305e46ad8553aa464794 commit: 8077e2268c7f44142ba5305e46ad8553aa464794 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2025-05-16T20:20:53+01:00 summary: [3.

[Python-checkins] [3.14] gh-133286: add explanation about `seq` for pathlib Pattern Language (GH-133340) (#134105)

2025-05-16 Thread barneygale
https://github.com/python/cpython/commit/c8dcde4d5e34893b2017dee6ee50db641514ef34 commit: c8dcde4d5e34893b2017dee6ee50db641514ef34 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2025-05-16T20:20:47+01:00 summary: [3.

[Python-checkins] gh-133286: add explanation about `seq` for pathlib Pattern Language (#133340)

2025-05-16 Thread barneygale
https://github.com/python/cpython/commit/ac8df4b5892d2e4bd99731e7d87223a35c238f81 commit: ac8df4b5892d2e4bd99731e7d87223a35c238f81 branch: main author: alexey semenyuk committer: barneygale date: 2025-05-16T18:42:06Z summary: gh-133286: add explanation about `seq` for pathlib Pattern Language

[Python-checkins] GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437)

2025-05-12 Thread barneygale
https://github.com/python/cpython/commit/5dbd27db7d79af88fb3f9b47f8b80438a147d349 commit: 5dbd27db7d79af88fb3f9b47f8b80438a147d349 branch: main author: Barney Gale committer: barneygale date: 2025-05-12T19:00:36+01:00 summary: GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437

[Python-checkins] GH-123599: `url2pathname()`: don't call `gethostbyname()` by default (#132610)

2025-05-05 Thread barneygale
https://github.com/python/cpython/commit/8e08ac9f32d89bf387c75bb6d0710a7b59026b5b commit: 8e08ac9f32d89bf387c75bb6d0710a7b59026b5b branch: main author: Barney Gale committer: barneygale date: 2025-05-05T17:03:42Z summary: GH-123599: `url2pathname()`: don't call `gethostbyname()` by de

[Python-checkins] GH-128520: pathlib ABCs tests: use explicit text encoding (#133105)

2025-04-28 Thread barneygale
https://github.com/python/cpython/commit/336322b34137d90b0db19545c09a77f050ba8de0 commit: 336322b34137d90b0db19545c09a77f050ba8de0 branch: main author: Barney Gale committer: barneygale date: 2025-04-28T20:18:56+01:00 summary: GH-128520: pathlib ABCs tests: use explicit text encoding (#133105

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

2025-04-28 Thread barneygale
https://github.com/python/cpython/commit/fbffd70328bb2a73d8154b4dd944e6d707fde9b3 commit: fbffd70328bb2a73d8154b4dd944e6d707fde9b3 branch: main author: Barney Gale committer: barneygale date: 2025-04-28T19:04:20+01:00 summary: GH-128520: pathlib ABCs: raise text encoding warnings at correct

[Python-checkins] GH-90812: Add test for `urlopen()` of file URI for UNC path (#132489)

2025-04-15 Thread barneygale
https://github.com/python/cpython/commit/f3192dac669ce14016efcec267ef331108d6b442 commit: f3192dac669ce14016efcec267ef331108d6b442 branch: main author: Barney Gale committer: barneygale date: 2025-04-15T19:16:34+01:00 summary: GH-90812: Add test for `urlopen()` of file URI for UNC path (#132489

[Python-checkins] GH-123599: Match `file:` URL hostname against machine hostname in urllib (#132523)

2025-04-14 Thread barneygale
https://github.com/python/cpython/commit/0879ebc953fa7372a4d99f3f79889093f04cac67 commit: 0879ebc953fa7372a4d99f3f79889093f04cac67 branch: main author: Barney Gale committer: barneygale date: 2025-04-15T01:05:06+01:00 summary: GH-123599: Match `file:` URL hostname against machine hostname in

[Python-checkins] GH-125866: Support complete "file:" URLs in urllib (#132378)

2025-04-13 Thread barneygale
https://github.com/python/cpython/commit/ccad61e35d240972d14f993507566706fbf419f1 commit: ccad61e35d240972d14f993507566706fbf419f1 branch: main author: Barney Gale committer: barneygale date: 2025-04-14T01:49:02+01:00 summary: GH-125866: Support complete "file:" URLs in urllib (#13

[Python-checkins] [3.13] gh-132356: Find the correct group name in test_group_no_follow_symlinks (GH-132357) (#132404)

2025-04-11 Thread barneygale
https://github.com/python/cpython/commit/089c43f1601c88a2744fa960fd958ed05f741ba7 commit: 089c43f1601c88a2744fa960fd958ed05f741ba7 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2025-04-11T15:24:16Z summary: [3.

[Python-checkins] gh-132356: Find the correct group name in test_group_no_follow_symlinks (#132357)

2025-04-11 Thread barneygale
https://github.com/python/cpython/commit/3e1a47bdb468d02665c137d84dd44500a557b58b commit: 3e1a47bdb468d02665c137d84dd44500a557b58b branch: main author: Karolina Surma <[email protected]> committer: barneygale date: 2025-04-11T15:58:39+01:00 summary: gh-132356: Fi

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

2025-04-10 Thread barneygale
https://github.com/python/cpython/commit/66cdb2bd8ab93a4691bead7f5d1e54e5ca6895b4 commit: 66cdb2bd8ab93a4691bead7f5d1e54e5ca6895b4 branch: main author: Barney Gale committer: barneygale date: 2025-04-10T19:58:04Z summary: GH-123599: `url2pathname()`: handle authority section in file URL

[Python-checkins] GH-125866: Deprecate `nturl2path` module (#131432)

2025-04-05 Thread barneygale
https://github.com/python/cpython/commit/8abfaba5a67a99c446f0c13253ee0ce97bf6fa5c commit: 8abfaba5a67a99c446f0c13253ee0ce97bf6fa5c branch: main author: Barney Gale committer: barneygale date: 2025-03-19T19:33:01Z summary: GH-125866: Deprecate `nturl2path` module (#131432) Deprecate the

[Python-checkins] GH-128520: pathlib ABCs: tighten up argument types (#131621)

2025-03-24 Thread barneygale
https://github.com/python/cpython/commit/d372472896ca9d5666b40072a9ed7040300e11a0 commit: d372472896ca9d5666b40072a9ed7040300e11a0 branch: main author: Barney Gale committer: barneygale date: 2025-03-24T15:39:08Z summary: GH-128520: pathlib ABCs: tighten up argument types (#131621) In

[Python-checkins] GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617)

2025-03-24 Thread barneygale
https://github.com/python/cpython/commit/d716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7 commit: d716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7 branch: main author: Barney Gale committer: barneygale date: 2025-03-24T15:13:18Z summary: GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617

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

2025-03-24 Thread barneygale
https://github.com/python/cpython/commit/fbfb0e1f6efae7055f7420c999ad6256e10d6b62 commit: fbfb0e1f6efae7055f7420c999ad6256e10d6b62 branch: main author: Barney Gale committer: barneygale date: 2025-03-24T15:12:29Z summary: GH-128520: pathlib ABCs: reject empty pattern in `ReadablePath.glob

[Python-checkins] GH-128520: pathlib ABCs: allow tests to be run externally (#131315)

2025-03-21 Thread barneygale
https://github.com/python/cpython/commit/cf9d1a4b6b28a76a49edba4028d5533195172287 commit: cf9d1a4b6b28a76a49edba4028d5533195172287 branch: main author: Barney Gale committer: barneygale date: 2025-03-21T22:18:20Z summary: GH-128520: pathlib ABCs: allow tests to be run externally (#131315

[Python-checkins] GH-123599: Remove duplicate `url2pathname()` implementation (#127237)

2025-03-20 Thread barneygale
https://github.com/python/cpython/commit/63b5aed06ed6fcd7956c9b99eb0a3651116cf2e4 commit: 63b5aed06ed6fcd7956c9b99eb0a3651116cf2e4 branch: main author: Barney Gale committer: barneygale date: 2025-03-19T21:08:32Z summary: GH-123599: Remove duplicate `url2pathname()` implementation (#127237

[Python-checkins] GH-123599: Deprecate duplicate `pathname2url()` implementation (#127380)

2025-03-19 Thread barneygale
https://github.com/python/cpython/commit/f141e8ec2a2e8d21fc08c1f56ef40104c7a7fad2 commit: f141e8ec2a2e8d21fc08c1f56ef40104c7a7fad2 branch: main author: Barney Gale committer: barneygale date: 2025-03-20T00:54:36Z summary: GH-123599: Deprecate duplicate `pathname2url()` implementation (#127380

[Python-checkins] GH-126367: `url2pathname()`: handle NTFS alternate data streams (#131428)

2025-03-18 Thread barneygale
https://github.com/python/cpython/commit/d783d7b51d31db568de6b3438f4e805acff663da commit: d783d7b51d31db568de6b3438f4e805acff663da branch: main author: Barney Gale committer: barneygale date: 2025-03-18T23:37:12Z summary: GH-126367: `url2pathname()`: handle NTFS alternate data streams (#131428

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

2025-03-15 Thread barneygale
https://github.com/python/cpython/commit/563ab5cefe98d3a4a8f86eb46ca5aeaeaa5b120b commit: 563ab5cefe98d3a4a8f86eb46ca5aeaeaa5b120b branch: main author: Barney Gale committer: barneygale date: 2025-03-16T06:11:20Z summary: GH-130614: pathlib ABCs: improve support for receiving path metadata

[Python-checkins] GH-130614: pathlib ABCs: delete vestigial `test_pathlib_abc` module (#131215)

2025-03-14 Thread barneygale
https://github.com/python/cpython/commit/633942e348da2c26e6c0eaa9c70a467c5f3b2b78 commit: 633942e348da2c26e6c0eaa9c70a467c5f3b2b78 branch: main author: Barney Gale committer: barneygale date: 2025-03-14T20:04:07Z summary: GH-130614: pathlib ABCs: delete vestigial `test_pathlib_abc` module

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

2025-03-13 Thread barneygale
https://github.com/python/cpython/commit/45c2ef48ca8be4d5fe6fe0373961e04da813475b commit: 45c2ef48ca8be4d5fe6fe0373961e04da813475b branch: main author: Barney Gale committer: barneygale date: 2025-03-13T21:56:59Z summary: GH-130614: pathlib ABCs: parametrize test suite for path copying (#131168

[Python-checkins] GH-130614: pathlib ABCs: revise test suite for writable paths (#131112)

2025-03-12 Thread barneygale
https://github.com/python/cpython/commit/db6a998b18e9476226507144b3b2fab854095dbc commit: db6a998b18e9476226507144b3b2fab854095dbc branch: main author: Barney Gale committer: barneygale date: 2025-03-12T19:06:43Z summary: GH-130614: pathlib ABCs: revise test suite for writable paths (#131112

[Python-checkins] GH-130614: pathlib ABCs: revise test suite for readable paths (#131018)

2025-03-11 Thread barneygale
https://github.com/python/cpython/commit/ad90c5fabc415d4e46205947cceda82893ec1460 commit: ad90c5fabc415d4e46205947cceda82893ec1460 branch: main author: Barney Gale committer: barneygale date: 2025-03-11T20:54:22Z summary: GH-130614: pathlib ABCs: revise test suite for readable paths (#131018

[Python-checkins] GH-130614: pathlib ABCs: revise test suite for Windows path joining (#131016)

2025-03-11 Thread barneygale
https://github.com/python/cpython/commit/3569e4a670bc6a02f1bb1baf08ecfb85c63755fb commit: 3569e4a670bc6a02f1bb1baf08ecfb85c63755fb branch: main author: Barney Gale committer: barneygale date: 2025-03-11T18:01:43Z summary: GH-130614: pathlib ABCs: revise test suite for Windows path joining

[Python-checkins] GH-127381: pathlib ABCs: remove `case_sensitive` argument (#131024)

2025-03-11 Thread barneygale
https://github.com/python/cpython/commit/93fc3d34f9285d337c1e19e84764b02629eaab68 commit: 93fc3d34f9285d337c1e19e84764b02629eaab68 branch: main author: Barney Gale committer: barneygale date: 2025-03-10T17:50:48Z summary: GH-127381: pathlib ABCs: remove `case_sensitive` argument (#131024

[Python-checkins] GH-130614: pathlib ABCs: revise test suite for Posix path joining (#131017)

2025-03-11 Thread barneygale
https://github.com/python/cpython/commit/5a484714c3497dd5c67a1469c0cc246bf1452892 commit: 5a484714c3497dd5c67a1469c0cc246bf1452892 branch: main author: Barney Gale committer: barneygale date: 2025-03-10T17:59:10Z summary: GH-130614: pathlib ABCs: revise test suite for Posix path joining

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

2025-03-09 Thread barneygale
https://github.com/python/cpython/commit/ba64cc5db410a893e6ff5bfee9210207947b69c2 commit: ba64cc5db410a893e6ff5bfee9210207947b69c2 branch: main author: Barney Gale committer: barneygale date: 2025-03-09T16:36:20Z summary: GH-130614: pathlib ABCs: retain original separator in `with_name

[Python-checkins] GH-130614: pathlib ABCs: revise test suite for path joining (#130988)

2025-03-09 Thread barneygale
https://github.com/python/cpython/commit/475f933ed8b1c9546f1b5497a2241140c7065b5f commit: 475f933ed8b1c9546f1b5497a2241140c7065b5f branch: main author: Barney Gale committer: barneygale date: 2025-03-09T17:02:37Z summary: GH-130614: pathlib ABCs: revise test suite for path joining (#130988

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

2025-03-09 Thread barneygale
https://github.com/python/cpython/commit/bbd6d17ef85e5de885cdfab0ae567184ba1550ff commit: bbd6d17ef85e5de885cdfab0ae567184ba1550ff branch: main author: Barney Gale committer: barneygale date: 2025-03-09T16:36:59Z summary: GH-130614: pathlib ABCs: support alternate separator in `full_match

[Python-checkins] GH-128520: Merge `pathlib._local` into `pathlib` (#130748)

2025-03-07 Thread barneygale
https://github.com/python/cpython/commit/4bf25a0dc85821446a48b995e4f6c3112ebaae10 commit: 4bf25a0dc85821446a48b995e4f6c3112ebaae10 branch: main author: Barney Gale committer: barneygale date: 2025-03-07T19:24:57Z summary: GH-128520: Merge `pathlib._local` into `pathlib` (#130748) The `pathlib

[Python-checkins] GH-128520: Merge `pathlib._abc` into `pathlib.types` (#130747)

2025-03-03 Thread barneygale
https://github.com/python/cpython/commit/d0eb01c9de9a455df36f885506314d8d00645c9f commit: d0eb01c9de9a455df36f885506314d8d00645c9f branch: main author: Barney Gale committer: barneygale date: 2025-03-03T17:56:57Z summary: GH-128520: Merge `pathlib._abc` into `pathlib.types` (#130747) There

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

2025-03-01 Thread barneygale
https://github.com/python/cpython/commit/a55dffd66dbddfd50c8f3de195218d041d26bd3c commit: a55dffd66dbddfd50c8f3de195218d041d26bd3c branch: main author: Barney Gale committer: barneygale date: 2025-03-01T21:24:19Z summary: GH-127381: pathlib ABCs: remove `ReadablePath.exists()` and `is_

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

2025-03-01 Thread barneygale
https://github.com/python/cpython/commit/c9932a9ec8a3077933a85101aae9c3ac155e6d04 commit: c9932a9ec8a3077933a85101aae9c3ac155e6d04 branch: main author: Barney Gale committer: barneygale date: 2025-03-01T21:25:38Z summary: GH-127381: pathlib ABCs: remove `WritablePath.mkdir()` arguments (#130611

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

2025-03-01 Thread barneygale
https://github.com/python/cpython/commit/5326c27fc674713879747e61a8deca7a66e69754 commit: 5326c27fc674713879747e61a8deca7a66e69754 branch: main author: Barney Gale committer: barneygale date: 2025-03-01T20:04:01Z summary: Revert "GH-116380: Speed up `glob.[i]glob()` by making fewer system

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

2025-02-28 Thread barneygale
https://github.com/python/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727 commit: da4899b94a9a9083fed4972b2473546e0d997727 branch: main author: Barney Gale committer: barneygale date: 2025-02-28T20:33:51Z summary: GH-116380: Speed up `glob.[i]glob()` by making fewer system calls

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

2025-02-28 Thread barneygale
https://github.com/python/cpython/commit/b5454509612870dd0e09aaba4b79865a5faad284 commit: b5454509612870dd0e09aaba4b79865a5faad284 branch: main author: Barney Gale committer: barneygale date: 2025-02-28T19:29:20Z summary: GH-130608: Remove `dirs_exist_ok` argument from `pathlib.Path.copy

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

2025-02-26 Thread barneygale
https://github.com/python/cpython/commit/b251d409f9cf6a84e6d7a78d284467f57c97a63a commit: b251d409f9cf6a84e6d7a78d284467f57c97a63a branch: main author: Barney Gale committer: barneygale date: 2025-02-26T21:07:27Z summary: GH-125413: Add private `pathlib.Path` method to write metadata (#130238

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

2025-02-24 Thread barneygale
https://github.com/python/cpython/commit/78e09a488d41066dea5f8dcf22405a0d5dd8be23 commit: 78e09a488d41066dea5f8dcf22405a0d5dd8be23 branch: main author: Barney Gale committer: barneygale date: 2025-02-24T19:10:50Z summary: GH-125413: Fix stale metadata from `pathlib.Path.copy()` and `move

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

2025-02-24 Thread barneygale
https://github.com/python/cpython/commit/48c84a400aa90014a16ceac92df4b0cf5ca6b3d4 commit: 48c84a400aa90014a16ceac92df4b0cf5ca6b3d4 branch: main author: Barney Gale committer: barneygale date: 2025-02-24T19:07:54Z summary: GH-125413: pathlib ABCs: use caching `path.info.exists()` when globbing

[Python-checkins] GH-128520: More consistent type-checking behaviour in pathlib (#130199)

2025-02-21 Thread barneygale
https://github.com/python/cpython/commit/d88677ac20b9466387459d5adb2e87b7de64bc19 commit: d88677ac20b9466387459d5adb2e87b7de64bc19 branch: main author: Barney Gale committer: barneygale date: 2025-02-21T17:47:45Z summary: GH-128520: More consistent type-checking behaviour in pathlib (#130199

[Python-checkins] GH-127381: pathlib ABCs: remove `ReadablePath.rglob()` (#130207)

2025-02-17 Thread barneygale
https://github.com/python/cpython/commit/6f07016bf01366da5939c4029c91b7f37d55 commit: 6f07016bf01366da5939c4029c91b7f37d55 branch: main author: Barney Gale committer: barneygale date: 2025-02-17T19:15:59Z summary: GH-127381: pathlib ABCs: remove `ReadablePath.rglob()` (#130207) Remove

[Python-checkins] GH-125413: Add private metadata methods to `pathlib.Path.info` (#129897)

2025-02-17 Thread barneygale
https://github.com/python/cpython/commit/7fcace99bbe1716c3e9713804e5bffaebdc8dd8f commit: 7fcace99bbe1716c3e9713804e5bffaebdc8dd8f branch: main author: Barney Gale committer: barneygale date: 2025-02-17T19:15:25Z summary: GH-125413: Add private metadata methods to `pathlib.Path.info` (#129897

[Python-checkins] pathlib ABCs: remove caching of path parser case sensitivity (#130194)

2025-02-16 Thread barneygale
https://github.com/python/cpython/commit/655fc8a0fce3396fc1af3f7bc8f5c94ca8ec377d commit: 655fc8a0fce3396fc1af3f7bc8f5c94ca8ec377d branch: main author: Barney Gale committer: barneygale date: 2025-02-16T17:08:55Z summary: pathlib ABCs: remove caching of path parser case sensitivity (#130194

[Python-checkins] GH-128520: Subclass `abc.ABC` in `pathlib._abc` (#128745)

2025-02-15 Thread barneygale
https://github.com/python/cpython/commit/a7d41a89474a07ce2b96943ea3f152e0dc757240 commit: a7d41a89474a07ce2b96943ea3f152e0dc757240 branch: main author: Barney Gale committer: barneygale date: 2025-02-16T00:37:26Z summary: GH-128520: Subclass `abc.ABC` in `pathlib._abc` (#128745) Convert

[Python-checkins] GH-125413: Move `pathlib.Path.copy()` implementation alongside `Path.info` (#129856)

2025-02-09 Thread barneygale
https://github.com/python/cpython/commit/c88dacb391ab95229b500dabb812e02109058ed7 commit: c88dacb391ab95229b500dabb812e02109058ed7 branch: main author: Barney Gale committer: barneygale date: 2025-02-09T12:05:23Z summary: GH-125413: Move `pathlib.Path.copy()` implementation alongside `Path.info

[Python-checkins] GH-129835: Yield path with trailing slash from `ReadablePath.glob('')` (#129836)

2025-02-07 Thread barneygale
https://github.com/python/cpython/commit/707d066193c26ab66c8e5e45e72c3a37f48daf45 commit: 707d066193c26ab66c8e5e45e72c3a37f48daf45 branch: main author: Barney Gale committer: barneygale date: 2025-02-08T06:47:09Z summary: GH-129835: Yield path with trailing slash from `ReadablePath.glob

[Python-checkins] GH-125413: Add `pathlib.Path.info` attribute (#127730)

2025-02-07 Thread barneygale
https://github.com/python/cpython/commit/718ab662991214039626db432d60310e0e19a0ac commit: 718ab662991214039626db432d60310e0e19a0ac branch: main author: Barney Gale committer: barneygale date: 2025-02-08T01:16:45Z summary: GH-125413: Add `pathlib.Path.info` attribute (#127730) Add

[Python-checkins] GH-127381: pathlib ABCs: remove `JoinablePath.match()` (#129147)

2025-01-28 Thread barneygale
https://github.com/python/cpython/commit/a4459c34ea4270311f0b7e22f1203af5ccc39875 commit: a4459c34ea4270311f0b7e22f1203af5ccc39875 branch: main author: Barney Gale committer: barneygale date: 2025-01-28T20:22:55Z summary: GH-127381: pathlib ABCs: remove `JoinablePath.match()` (#129147) Unlike

[Python-checkins] GH-128520: Make `pathlib._abc.WritablePath` a sibling of `ReadablePath` (#129014)

2025-01-21 Thread barneygale
https://github.com/python/cpython/commit/01d91500ca5b40bd84ef27fdf1f858a25c602bdb commit: 01d91500ca5b40bd84ef27fdf1f858a25c602bdb branch: main author: Barney Gale committer: barneygale date: 2025-01-21T18:35:37Z summary: GH-128520: Make `pathlib._abc.WritablePath` a sibling of `ReadablePath

[Python-checkins] GH-128520: Divide pathlib ABCs into three classes (#128523)

2025-01-11 Thread barneygale
https://github.com/python/cpython/commit/22a442181d5f1ac496dac08e24fd852de404882f commit: 22a442181d5f1ac496dac08e24fd852de404882f branch: main author: Barney Gale committer: barneygale date: 2025-01-11T19:27:47Z summary: GH-128520: Divide pathlib ABCs into three classes (#128523) In the

[Python-checkins] pathlib tests: create `walk()` test hierarchy without using class under test (#128338)

2025-01-04 Thread barneygale
https://github.com/python/cpython/commit/fd94c6a8032676d0659aa9e38cdaa7c17093119c commit: fd94c6a8032676d0659aa9e38cdaa7c17093119c branch: main author: Barney Gale committer: barneygale date: 2025-01-04T15:45:24Z summary: pathlib tests: create `walk()` test hierarchy without using class under

[Python-checkins] GH-127381: pathlib ABCs: remove `PathBase.move()` and `move_into()` (#128337)

2025-01-04 Thread barneygale
https://github.com/python/cpython/commit/95352dcb9321423d0606ae0b01524ad61c2c2ec1 commit: 95352dcb9321423d0606ae0b01524ad61c2c2ec1 branch: main author: Barney Gale committer: barneygale date: 2025-01-04T12:53:51Z summary: GH-127381: pathlib ABCs: remove `PathBase.move()` and `move_into

[Python-checkins] GH-127381: pathlib ABCs: remove uncommon `PurePathBase` methods (#127853)

2024-12-29 Thread barneygale
https://github.com/python/cpython/commit/ef63cca494571f50906baae1d176469a3dcf8838 commit: ef63cca494571f50906baae1d176469a3dcf8838 branch: main author: Barney Gale committer: barneygale date: 2024-12-29T22:07:12Z summary: GH-127381: pathlib ABCs: remove uncommon `PurePathBase` methods (#127853

[Python-checkins] GH-127381: pathlib ABCs: remove `PathBase.stat()` (#128334)

2024-12-29 Thread barneygale
https://github.com/python/cpython/commit/c78729f2df7c0e220f1080edb2a0d0cdd49e22df commit: c78729f2df7c0e220f1080edb2a0d0cdd49e22df branch: main author: Barney Gale committer: barneygale date: 2024-12-29T21:42:07Z summary: GH-127381: pathlib ABCs: remove `PathBase.stat()` (#128334) Remove the

[Python-checkins] pathlib tests: create test hierarchy without using class under test (#128200)

2024-12-23 Thread barneygale
https://github.com/python/cpython/commit/d61542b5ff1fe64705e5ce1bcc53048f14098dba commit: d61542b5ff1fe64705e5ce1bcc53048f14098dba branch: main author: Barney Gale committer: barneygale date: 2024-12-23T17:22:15Z summary: pathlib tests: create test hierarchy without using class under test

[Python-checkins] GH-127807: pathlib ABCs: move private copying methods to dedicated class (#127810)

2024-12-21 Thread barneygale
https://github.com/python/cpython/commit/8d9f52a7be5c09c0fd4423943edadaacf6d7f917 commit: 8d9f52a7be5c09c0fd4423943edadaacf6d7f917 branch: main author: Barney Gale committer: barneygale date: 2024-12-22T02:22:08Z summary: GH-127807: pathlib ABCs: move private copying methods to dedicated class

[Python-checkins] GH-127807: pathlib ABCs: remove a few private attributes (#127851)

2024-12-21 Thread barneygale
https://github.com/python/cpython/commit/f5ba74b81979b621e38be70ec3ddad1e7f1365ce commit: f5ba74b81979b621e38be70ec3ddad1e7f1365ce branch: main author: Barney Gale committer: barneygale date: 2024-12-22T01:41:38Z summary: GH-127807: pathlib ABCs: remove a few private attributes (#127851) >F

[Python-checkins] GH-127807: pathlib ABCs: remove `PurePathBase._raw_paths` (#127883)

2024-12-21 Thread barneygale
https://github.com/python/cpython/commit/a959ea1b0a026ff118975b9b539513b06dde3190 commit: a959ea1b0a026ff118975b9b539513b06dde3190 branch: main author: Barney Gale committer: barneygale date: 2024-12-22T01:17:59Z summary: GH-127807: pathlib ABCs: remove `PurePathBase._raw_paths` (#127883

[Python-checkins] GH-127807: pathlib ABCs: remove `PathBase._unsupported_msg()` (#127855)

2024-12-12 Thread barneygale
https://github.com/python/cpython/commit/7146f1894638130940944d4808dae7d144d46227 commit: 7146f1894638130940944d4808dae7d144d46227 branch: main author: Barney Gale committer: barneygale date: 2024-12-12T17:39:24Z summary: GH-127807: pathlib ABCs: remove `PathBase._unsupported_msg()` (#127855

[Python-checkins] GH-127381: pathlib ABCs: remove remaining uncommon `PathBase` methods (#127714)

2024-12-11 Thread barneygale
https://github.com/python/cpython/commit/292afd1d51dd7aacb12a6165f596ae7bb58c9ba8 commit: 292afd1d51dd7aacb12a6165f596ae7bb58c9ba8 branch: main author: Barney Gale committer: barneygale date: 2024-12-12T06:49:34Z summary: GH-127381: pathlib ABCs: remove remaining uncommon `PathBase` methods

[Python-checkins] GH-127381: pathlib ABCs: remove `PathBase.samefile()` and rarer `is_*()` (#127709)

2024-12-10 Thread barneygale
https://github.com/python/cpython/commit/12b4f1a5a175d4dcec27631fce2883038f0917ae commit: 12b4f1a5a175d4dcec27631fce2883038f0917ae branch: main author: Barney Gale committer: barneygale date: 2024-12-11T00:09:55Z summary: GH-127381: pathlib ABCs: remove `PathBase.samefile()` and rarer `is_

[Python-checkins] GH-127456: pathlib ABCs: add protocol for path parser (#127494)

2024-12-09 Thread barneygale
https://github.com/python/cpython/commit/5c89adf385aaaca97c2ee9074f8b1fda0f57ad26 commit: 5c89adf385aaaca97c2ee9074f8b1fda0f57ad26 branch: main author: Barney Gale committer: barneygale date: 2024-12-09T18:31:22Z summary: GH-127456: pathlib ABCs: add protocol for path parser (#127494) Change

[Python-checkins] GH-127381: pathlib ABCs: remove `PathBase.unlink()` and `rmdir()` (#127736)

2024-12-08 Thread barneygale
https://github.com/python/cpython/commit/7f8ec523021427a5c1ab3ce0cdd6e4bb909f1dc5 commit: 7f8ec523021427a5c1ab3ce0cdd6e4bb909f1dc5 branch: main author: Barney Gale committer: barneygale date: 2024-12-08T18:45:09Z summary: GH-127381: pathlib ABCs: remove `PathBase.unlink()` and `rmdir

[Python-checkins] GH-127090: Fix `urllib.response.addinfourl.url` value for opened `file:` URIs (#127091)

2024-12-07 Thread barneygale
https://github.com/python/cpython/commit/79b7cab50a3292a1c01466cf0e69fb7b4e56cfb1 commit: 79b7cab50a3292a1c01466cf0e69fb7b4e56cfb1 branch: main author: Barney Gale committer: barneygale date: 2024-12-07T17:58:42Z summary: GH-127090: Fix `urllib.response.addinfourl.url` value for opened `file

[Python-checkins] GH-127381: pathlib ABCs: remove `PathBase.resolve()` and `absolute()` (#127707)

2024-12-06 Thread barneygale
https://github.com/python/cpython/commit/31c9f3ced293492b38e784c17c4befe425da5dab commit: 31c9f3ced293492b38e784c17c4befe425da5dab branch: main author: Barney Gale committer: barneygale date: 2024-12-06T21:39:45Z summary: GH-127381: pathlib ABCs: remove `PathBase.resolve()` and `absolute

[Python-checkins] GH-127381: pathlib ABCs: remove `PathBase.rename()` and `replace()` (#127658)

2024-12-06 Thread barneygale
https://github.com/python/cpython/commit/5b6635f772d187d6049a56bfea76855644cd4ca1 commit: 5b6635f772d187d6049a56bfea76855644cd4ca1 branch: main author: Barney Gale committer: barneygale date: 2024-12-06T18:10:00Z summary: GH-127381: pathlib ABCs: remove `PathBase.rename()` and `replace

[Python-checkins] GH-125413: Revert addition of `pathlib.Path.scandir()` method (#127377)

2024-12-05 Thread barneygale
https://github.com/python/cpython/commit/8b3cccf3f9508572d85b0044519f2bd5715dacad commit: 8b3cccf3f9508572d85b0044519f2bd5715dacad branch: main author: Barney Gale committer: barneygale date: 2024-12-05T21:39:43Z summary: GH-125413: Revert addition of `pathlib.Path.scandir()` method (#127377

[Python-checkins] GH-127381: pathlib ABCs: remove `PathBase.cwd()` and `home()` (#127427)

2024-11-30 Thread barneygale
https://github.com/python/cpython/commit/328187cc4fcdd578db42cf6a16c197c3382157a7 commit: 328187cc4fcdd578db42cf6a16c197c3382157a7 branch: main author: Barney Gale committer: barneygale date: 2024-11-30T18:39:39Z summary: GH-127381: pathlib ABCs: remove `PathBase.cwd()` and `home()` (#127427

[Python-checkins] GH-127381: pathlib ABCs: remove `PathBase.lstat()` (#127382)

2024-11-29 Thread barneygale
https://github.com/python/cpython/commit/38264a060a8178d58046e90e9beb8220e3c22046 commit: 38264a060a8178d58046e90e9beb8220e3c22046 branch: main author: Barney Gale committer: barneygale date: 2024-11-29T21:03:39Z summary: GH-127381: pathlib ABCs: remove `PathBase.lstat()` (#127382) Remove the

[Python-checkins] gh-122288: Improve performances of `fnmatch.translate` (#122289)

2024-11-27 Thread barneygale
https://github.com/python/cpython/commit/78cb377c622a98b1bf58df40c828e886575a6927 commit: 78cb377c622a98b1bf58df40c828e886575a6927 branch: main author: Bénédikt Tran <[email protected]> committer: barneygale date: 2024-11-27T16:42:45Z summary: gh-122288: I

[Python-checkins] GH-127236: `pathname2url()`: generate RFC 1738 URL for absolute POSIX path (#127194)

2024-11-25 Thread barneygale
https://github.com/python/cpython/commit/5bb059fe606983814a445e4dcf9e96fd7cb4951a commit: 5bb059fe606983814a445e4dcf9e96fd7cb4951a branch: main author: Barney Gale committer: barneygale date: 2024-11-25T19:59:20Z summary: GH-127236: `pathname2url()`: generate RFC 1738 URL for absolute POSIX

[Python-checkins] [3.12] Improve `pathname2url()` and `url2pathname()` docs (GH-127125) (#127233)

2024-11-24 Thread barneygale
https://github.com/python/cpython/commit/b52ab48a10276ea332cd80e5fcc0c0dd2a4b7e02 commit: b52ab48a10276ea332cd80e5fcc0c0dd2a4b7e02 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-24T17:48:12Z summary: [3.12] I

[Python-checkins] [3.13] Improve `pathname2url()` and `url2pathname()` docs (GH-127125) (#127232)

2024-11-24 Thread barneygale
https://github.com/python/cpython/commit/a6e61fd9d8323072d962ec649075b63027c43745 commit: a6e61fd9d8323072d962ec649075b63027c43745 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-24T17:46:54Z summary: [3.13] I

[Python-checkins] Improve `pathname2url()` and `url2pathname()` docs (#127125)

2024-11-24 Thread barneygale
https://github.com/python/cpython/commit/307c63358681d669ae39e5ecd814bded4a93443a commit: 307c63358681d669ae39e5ecd814bded4a93443a branch: main author: Barney Gale committer: barneygale date: 2024-11-24T17:33:46Z summary: Improve `pathname2url()` and `url2pathname()` docs (#127125) These

[Python-checkins] GH-125866: Preserve Windows drive letter case in file URIs (#127138)

2024-11-23 Thread barneygale
https://github.com/python/cpython/commit/cc813e10ff190af38b8429d0d49fb9249493d504 commit: cc813e10ff190af38b8429d0d49fb9249493d504 branch: main author: Barney Gale committer: barneygale date: 2024-11-23T10:41:39Z summary: GH-125866: Preserve Windows drive letter case in file URIs (#127138

[Python-checkins] [3.12] GH-127078: `url2pathname()`: handle extra slash before UNC drive in URL path (GH-127132) (#127136)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/c470e822bf6b8cde65c61323d0d7892c5df37326 commit: c470e822bf6b8cde65c61323d0d7892c5df37326 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-22T04:37:51Z summary: [3.

[Python-checkins] [3.13] GH-127078: `url2pathname()`: handle extra slash before UNC drive in URL path (GH-127132) (#127135)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/7bbcd32e59ab9b47c0f9e436eabb19fd0b957d63 commit: 7bbcd32e59ab9b47c0f9e436eabb19fd0b957d63 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-22T04:37:30Z summary: [3.

[Python-checkins] GH-127078: `url2pathname()`: handle extra slash before UNC drive in URL path (#127132)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/8c98ed846a7d7e50c4cf06f823d94737144dcf6a commit: 8c98ed846a7d7e50c4cf06f823d94737144dcf6a branch: main author: Barney Gale committer: barneygale date: 2024-11-22T04:12:50Z summary: GH-127078: `url2pathname()`: handle extra slash before UNC drive in URL

[Python-checkins] GH-126766: `url2pathname()`: handle 'localhost' authority (#127129)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/ebf564a1d3e2e81b9846535114e481d6096443d2 commit: ebf564a1d3e2e81b9846535114e481d6096443d2 branch: main author: Barney Gale committer: barneygale date: 2024-11-22T03:17:06Z summary: GH-126766: `url2pathname()`: handle 'localhost' authorit

[Python-checkins] [3.13] GH-126766: `url2pathname()`: handle 'localhost' authority (GH-127129) (#127130)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/4b9068eeea18f6488cd2213a21b3e9527642b6c8 commit: 4b9068eeea18f6488cd2213a21b3e9527642b6c8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-22T03:42:26Z summary: [3.

[Python-checkins] [3.12] GH-126766: `url2pathname()`: handle 'localhost' authority (GH-127129) (#127131)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/4b705f50d1c65536e19048b32397e8118d92558d commit: 4b705f50d1c65536e19048b32397e8118d92558d branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-22T03:42:46Z summary: [3.

[Python-checkins] GH-126601: `pathname2url()`: handle NTFS alternate data streams (#126760)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/fd133d4f21cd7f5cbf6bcf332290ce52e5501167 commit: fd133d4f21cd7f5cbf6bcf332290ce52e5501167 branch: main author: Barney Gale committer: barneygale date: 2024-11-22T00:29:05Z summary: GH-126601: `pathname2url()`: handle NTFS alternate data streams (#126760

[Python-checkins] [3.13] GH-85168: Use filesystem encoding when converting to/from `file` URIs (GH-126852) (#127039)

2024-11-20 Thread barneygale
https://github.com/python/cpython/commit/746a0c5bc8979d6265e9669987eff52e7631222a commit: 746a0c5bc8979d6265e9669987eff52e7631222a branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-20T20:10:29Z summary: [3.

[Python-checkins] GH-85168: Use filesystem encoding when converting to/from `file` URIs (#126852)

2024-11-19 Thread barneygale
https://github.com/python/cpython/commit/c9b399fbdb01584dcfff0d7f6ad484644ff269c3 commit: c9b399fbdb01584dcfff0d7f6ad484644ff269c3 branch: main author: Barney Gale committer: barneygale date: 2024-11-19T21:19:30Z summary: GH-85168: Use filesystem encoding when converting to/from `file` URIs

[Python-checkins] [3.12] GH-85168: Use filesystem encoding when converting to/from `file` URIs (GH-126852) (#127040)

2024-11-19 Thread barneygale
https://github.com/python/cpython/commit/7735f58ea5274fd72caee42b090761df2b27c087 commit: 7735f58ea5274fd72caee42b090761df2b27c087 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-19T21:55:10Z summary: [3.

[Python-checkins] [3.12] GH-126766: `url2pathname()`: handle empty authority section. (GH-126767) (#126837)

2024-11-14 Thread barneygale
https://github.com/python/cpython/commit/04f38bb775e998e78bb0cb2747ef57f50f129cb5 commit: 04f38bb775e998e78bb0cb2747ef57f50f129cb5 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-14T23:52:46Z summary: [3.

  1   2   3   >