Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glob.glob1 is deprecated in Python3.13, undocumented and not meant to be public #2357

Open
Avasam opened this issue Aug 5, 2024 · 0 comments · May be fixed by #2358
Open

glob.glob1 is deprecated in Python3.13, undocumented and not meant to be public #2357

Avasam opened this issue Aug 5, 2024 · 0 comments · May be fixed by #2358

Comments

@Avasam
Copy link
Collaborator

Avasam commented Aug 5, 2024

For all bugs, please provide the following information:

Expected behavior and actual behavior

glob0 and glob1 are undocumented are were meant to be private. Their use is now officially deprecated as of Python 3.13:
python/cpython#117337
https://docs.python.org/3.13/whatsnew/3.13.html#new-deprecations

Currently Pythonwin/pywin/framework/bitmap.py uses for fileName in glob.glob1(winDir, "*.bmp")[:2]

Steps to reproduce the problem

Search glob1 in code

System information

Python version and distribution: 3.13

pywin32 version: 306

Installed from PyPI or exe installer: N/A

Windows Version: N/A

DLL locations: N/A

@Avasam Avasam changed the title glob.glob1 is deprecated, undocumented and was meant to be private glob.glob1 is deprecated in Python3.13, undocumented and was meant to be private Aug 5, 2024
@Avasam Avasam changed the title glob.glob1 is deprecated in Python3.13, undocumented and was meant to be private glob.glob1 is deprecated in Python3.13, undocumented and not meant to be public Aug 5, 2024
@Avasam Avasam linked a pull request Aug 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant