cpython/Doc/whatsnew
Barney Gale 49f90ba1ea
GH-73435: Implement recursive wildcards in pathlib.PurePath.match() (#101398)
`PurePath.match()` now handles the `**` wildcard as in `Path.glob()`, i.e. it matches any number of path segments.

We now compile a `re.Pattern` object for the entire pattern. This is made more difficult by `fnmatch` not treating directory separators as special when evaluating wildcards (`*`, `?`, etc), and so we arrange the path parts onto separate *lines* in a string, and ensure we don't set `re.DOTALL`.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-30 20:18:09 +00:00
..
2.0.rst gh-104773: PEP 594: Remove the chunk module (#104868) 2023-05-25 16:27:55 +00:00
2.1.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
2.2.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
2.3.rst gh-75552: Remove deprecated tkinter.tix module (GH-104902) 2023-05-27 12:34:19 -05:00
2.4.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
2.5.rst gh-104773: PEP 594: Remove the audioop module (#104937) 2023-05-25 17:59:00 +02:00
2.6.rst gh-104773: Remove the msilib package (GH-104911) 2023-05-24 20:06:00 -05:00
2.7.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
3.0.rst gh-104780: Remove 2to3 program and lib2to3 module (#104781) 2023-05-23 19:40:02 +02:00
3.1.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
3.2.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
3.3.rst gh-104773: PEP 594: Remove the crypt module (#104908) 2023-05-25 15:45:46 +02:00
3.4.rst gh-104773: PEP 594: Remove the audioop module (#104937) 2023-05-25 17:59:00 +02:00
3.5.rst gh-104773: PEP 594: Remove the imghdr module (#104777) 2023-05-26 13:29:45 +00:00
3.6.rst gh-75552: Remove deprecated tkinter.tix module (GH-104902) 2023-05-27 12:34:19 -05:00
3.7.rst gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02:00
3.8.rst gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) 2023-05-24 09:04:53 +00:00
3.9.rst gh-104773: PEP 594: Remove the audioop module (#104937) 2023-05-25 17:59:00 +02:00
3.10.rst gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) 2023-05-24 09:04:53 +00:00
3.11.rst gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (#104994) 2023-05-26 19:09:47 -07:00
3.12.rst Document PEP 698 and other new typing features in What's New (#104957) 2023-05-28 12:13:19 -07:00
3.13.rst GH-73435: Implement recursive wildcards in pathlib.PurePath.match() (#101398) 2023-05-30 20:18:09 +00:00
changelog.rst
index.rst Fix whatsnew for 3.13. (GH-104756) 2023-05-22 16:05:27 -04:00