FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-68320, gh-88302 - Allow for `pathlib.Path` subclassing by barneygale · Pull Request #31691 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-68320, gh-88302 - Allow for pathlib.Path subclassing
- #31691
#31691
Merged
brettcannon
merged 53 commits into
python:main
python/cpython:main
from
barneygale:bpo-44136-remove-pathlib-flavour-2
barneygale/cpython:bpo-44136-remove-pathlib-flavour-2
Copy head branch name to clipboard
Dec 23, 2022
Conversation
Commits
53
(53)
Checks
Files changed
Merged
gh-68320, gh-88302 - Allow for pathlib.Path subclassing
#31691
brettcannon
merged 53 commits into
python:main
python/cpython:main
from
barneygale:bpo-44136-remove-pathlib-flavour-2
barneygale/cpython:bpo-44136-remove-pathlib-flavour-2
Copy head branch name to clipboard
Commits
Commits on Mar 5, 2022
bpo-24132, bpo-44136 - Fix `pathlib.Path` subclassing.
Show description for 7371220
barneygale
committed
7371220
View commit details
Copy full SHA for 7371220
Browse repository at this point
Add tests
barneygale
committed
8431d12
View commit details
Copy full SHA for 8431d12
Browse repository at this point
Add tests for PurePath subclasses
barneygale
committed
bf2ad3a
View commit details
Copy full SHA for bf2ad3a
Browse repository at this point
Update Misc/NEWS.d/next/Library/2022-03-05-02-14-09.bpo-24132.W6iORO.rst
Show description for 4036e2e
barneygale
and
AlexWaygood
authored
4036e2e
View commit details
Copy full SHA for 4036e2e
Browse repository at this point
Rename `PurePath._pathmod` to `PurePath._flavour` to reduce the diff.
barneygale
committed
0d08533
View commit details
Copy full SHA for 0d08533
Browse repository at this point
Merge branch 'bpo-44136-remove-pathlib-flavour-2' of github.com:barneygale/cpython into bpo-44136-remove-pathlib-flavour-2
barneygale
committed
0ad8022
View commit details
Copy full SHA for 0ad8022
Browse repository at this point
Commits on Mar 25, 2022
Undo an unnecessary change to `Path.__new__()`
barneygale
committed
28992fc
View commit details
Copy full SHA for 28992fc
Browse repository at this point
Remove `_casefold()` and `_casefold_parts()` methods.
Show description for dbec230
barneygale
committed
dbec230
View commit details
Copy full SHA for dbec230
Browse repository at this point
Commits on Apr 29, 2022
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2
barneygale
committed
d814ee4
View commit details
Copy full SHA for d814ee4
Browse repository at this point
Further simplify overall diff by inlining code from `compile_pattern()`
barneygale
committed
63f1d68
View commit details
Copy full SHA for 63f1d68
Browse repository at this point
Apply suggestions from code review
Show description for 8dddfdf
barneygale
and
brettcannon
authored
8dddfdf
View commit details
Copy full SHA for 8dddfdf
Browse repository at this point
Address a couple bits of review feedback
barneygale
committed
b4da721
View commit details
Copy full SHA for b4da721
Browse repository at this point
Fix tests
barneygale
committed
7a166fd
View commit details
Copy full SHA for 7a166fd
Browse repository at this point
Fix docstring formatting.
barneygale
committed
1f4dff1
View commit details
Copy full SHA for 1f4dff1
Browse repository at this point
Commits on Apr 30, 2022
Remove FIXME comments
barneygale
committed
51893c1
View commit details
Copy full SHA for 51893c1
Browse repository at this point
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2
barneygale
committed
48b49b6
View commit details
Copy full SHA for 48b49b6
Browse repository at this point
Commits on May 3, 2022
Update Lib/pathlib.py
Show description for 3624c97
barneygale
and
AlexWaygood
authored
3624c97
View commit details
Copy full SHA for 3624c97
Browse repository at this point
Commits on May 31, 2022
Remove vestigal 'casefold' names.
barneygale
committed
ab54c14
View commit details
Copy full SHA for ab54c14
Browse repository at this point
Commits on Jun 10, 2022
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2
barneygale
committed
2627417
View commit details
Copy full SHA for 2627417
Browse repository at this point
Restore comment on POSIX paths beginning `//` and tweak implementation.
barneygale
committed
bc7aded
View commit details
Copy full SHA for bc7aded
Browse repository at this point
Commits on Jun 12, 2022
Inline `_join_parsed_parts()` and `_make_child()` in `joinpath()`.
barneygale
committed
4d6e4f3
View commit details
Copy full SHA for 4d6e4f3
Browse repository at this point
Commits on Jun 13, 2022
Update Lib/pathlib.py
Show description for 70ca838
barneygale
and
AA-Turner
authored
70ca838
View commit details
Copy full SHA for 70ca838
Browse repository at this point
Commits on Jun 16, 2022
Remove unused import
barneygale
committed
a2cc74f
View commit details
Copy full SHA for a2cc74f
Browse repository at this point
Commits on Jun 17, 2022
Make NEWS entry more precise.
barneygale
committed
0e2478b
View commit details
Copy full SHA for 0e2478b
Browse repository at this point
Commits on Jul 29, 2022
Apply suggestions from code review
Show description for 0d0cf60
barneygale
and
brettcannon
authored
0d0cf60
View commit details
Copy full SHA for 0d0cf60
Browse repository at this point
Clarify `_pparts` and `_ncparts` naming.
Show description for f3048d3
barneygale
committed
f3048d3
View commit details
Copy full SHA for f3048d3
Browse repository at this point
Commits on Jul 30, 2022
Tidy up usage of `normcase()`
barneygale
committed
8a213ae
View commit details
Copy full SHA for 8a213ae
Browse repository at this point
Tweak `is_absolute()` to use `os.path.isabs()` wherever possible.
barneygale
committed
402dafe
View commit details
Copy full SHA for 402dafe
Browse repository at this point
Stop using `self._flavour` in `as_uri()`.
barneygale
committed
5cc3ab2
View commit details
Copy full SHA for 5cc3ab2
Browse repository at this point
Remove `cls._flavour` identity check in `_parse_parts()`.
barneygale
committed
19a8804
View commit details
Copy full SHA for 19a8804
Browse repository at this point
Fix Windows tests
barneygale
committed
9da46bc
View commit details
Copy full SHA for 9da46bc
Browse repository at this point
Commits on Aug 1, 2022
Restore `_split_root()` method and its tests.
barneygale
committed
29f9f81
View commit details
Copy full SHA for 29f9f81
Browse repository at this point
Commits on Aug 5, 2022
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2
barneygale
committed
52851b8
View commit details
Copy full SHA for 52851b8
Browse repository at this point
Commits on Aug 12, 2022
Optimize `_split_root()`
barneygale
committed
b39da53
View commit details
Copy full SHA for b39da53
Browse repository at this point
Commits on Aug 13, 2022
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2
barneygale
committed
c7b18b1
View commit details
Copy full SHA for c7b18b1
Browse repository at this point
Commits on Aug 23, 2022
Move `is_reserved()` implementation into `os.path` as a private function.
barneygale
committed
806ad15
View commit details
Copy full SHA for 806ad15
Browse repository at this point
Use `os.path.normcase()` when globbing.
Show description for a350009
barneygale
committed
a350009
View commit details
Copy full SHA for a350009
Browse repository at this point
Commits on Aug 25, 2022
Simplify `_split_root()` implementation.
barneygale
committed
799b40e
View commit details
Copy full SHA for 799b40e
Browse repository at this point
Commits on Aug 26, 2022
Remove tests for malformed UNC paths
barneygale
committed
a6b25ea
View commit details
Copy full SHA for a6b25ea
Browse repository at this point
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2
brettcannon
authored
ac6f6e2
View commit details
Copy full SHA for ac6f6e2
Browse repository at this point
Commits on Aug 27, 2022
Revert "Move `is_reserved()` implementation into `os.path` as a private function."
Show description for b8874df
barneygale
committed
b8874df
View commit details
Copy full SHA for b8874df
Browse repository at this point
Tweak _split_root() to use removesuffix()
barneygale
committed
9d5e18a
View commit details
Copy full SHA for 9d5e18a
Browse repository at this point
Remove test that `/b/c/d` and `///b/c/d` are equivalent.
Show description for f73f426
barneygale
committed
f73f426
View commit details
Copy full SHA for f73f426
Browse repository at this point
Commits on Sep 16, 2022
Restore comment linking to *Naming Files* page in Microsoft docs
barneygale
committed
37e4bc1
View commit details
Copy full SHA for 37e4bc1
Browse repository at this point
Commits on Nov 7, 2022
Apply suggestions from code review
Show description for e3f13ef
authored
e3f13ef
View commit details
Copy full SHA for e3f13ef
Browse repository at this point
Commits on Nov 15, 2022
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2
barneygale
committed
ff4e1b3
View commit details
Copy full SHA for ff4e1b3
Browse repository at this point
Clarify repr roundtrip tests.
barneygale
committed
07c67d0
View commit details
Copy full SHA for 07c67d0
Browse repository at this point
Reduce tests diff
barneygale
committed
950aa47
View commit details
Copy full SHA for 950aa47
Browse repository at this point
Remove test that `/b/c/d` and `///b/c/d` are equivalent.
Show description for d5f6f03
barneygale
committed
d5f6f03
View commit details
Copy full SHA for d5f6f03
Browse repository at this point
Fix missing full stops.
barneygale
committed
b66a4fb
View commit details
Copy full SHA for b66a4fb
Browse repository at this point
Remove four more test assertions affected by #96290
barneygale
committed
fbaadf4
View commit details
Copy full SHA for fbaadf4
Browse repository at this point
Commits on Nov 25, 2022
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2
barneygale
committed
3692fdf
View commit details
Copy full SHA for 3692fdf
Browse repository at this point
Commits on Dec 17, 2022
Wrap repr test cases in `self.subTest()` block
barneygale
committed
40dc514
View commit details
Copy full SHA for 40dc514
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL