You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few limitations to our current implementation for glob in newer versions of Python. In #474, we introduced cloupathlib/legacy/glob.py that has CPython code that was removed in 3.13, but we need for globbing.
There are a few limitations to our current implementation for glob in newer versions of Python. In #474, we introduced
cloupathlib/legacy/glob.py
that has CPython code that was removed in 3.13, but we need for globbing.This also means that there is no good way to implement parity with the behavior in 3.13 that globbing with a pattern that ends with “**” returns both files and directories. In previous versions, only directories were returned. Our current implementation does not have parity; if you add a test for
path.glob("**")
because Python 3.13 in this instance returns the directorypath
represents and we don't.We should update our glob implementation in the following ways:
cloupathlib/legacy/glob.py
**
discussed aboveThe text was updated successfully, but these errors were encountered: