| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…abc`. In `glob._Globber`, move pathlib-specific methods to `pathlib._abc.Globber` and replace them with abstract methods. Rename `glob._Globber` to `glob._GlobberBase`, and `glob._StringGlobber` to `glob._Globber`. As a result, the `glob` module is no longer befouled by code that can only ever apply to pathlib. No change of behaviour.
|
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
|
Sorry, @barneygale, I could not cleanly backport this to 3.13 due to a conflict. cherry_picker 242c7498e5a889b47847fb6f0f133ce461fa7e24 3.13 |
Sorry, something went wrong.
…abc`. (python#120011) In `glob._Globber`, move pathlib-specific methods to `pathlib._abc.PathGlobber` and replace them with abstract methods. Rename `glob._Globber` to `glob._GlobberBase`. As a result, the `glob` module is no longer befouled by code that can only ever apply to pathlib. No change of behaviour.
…abc`. (python#120011) In `glob._Globber`, move pathlib-specific methods to `pathlib._abc.PathGlobber` and replace them with abstract methods. Rename `glob._Globber` to `glob._GlobberBase`. As a result, the `glob` module is no longer befouled by code that can only ever apply to pathlib. No change of behaviour.
| Back | FazBrowse Home | New Git URL |
In glob._Globber, move pathlib-specific methods to pathlib._abc.Globber and replace them with abstract methods. Rename glob._Globber to glob._GlobberBase, and glob._StringGlobber to glob._Globber. As a result, the glob module is no longer befouled by code that can only ever apply to pathlib.
No change of behaviour.