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

Fix calls to removed os.path.walk #2314

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Jul 22, 2024

os.path.walk was removed in Python 3 https://docs.python.org/2.7/library/os.path.html#os.path.walk

This fixes the following:

  • VersionStamp/bulkstamp.py script
  • com/win32comext/shell/demos/dump_link.py demo
  • com/win32comext/shell/demos/servers/empty_volume_cache.py demo
  • com/win32comext/shell/demos/viewstate.py demo

It would've been caught by mypy's attr-defined, or by pyright' reportAttributeAccessIssue.

@Avasam Avasam changed the title Fix calls to removed os.pathp.walk Fix calls to removed os.path.walk Aug 3, 2024
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 this pull request may close these issues.

None yet

1 participant