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

Typecatcher fails to run on Python 3.9 due to deprecated method #16

Closed
reinhart1010 opened this issue Aug 13, 2021 · 1 comment · Fixed by #17
Closed

Typecatcher fails to run on Python 3.9 due to deprecated method #16

reinhart1010 opened this issue Aug 13, 2021 · 1 comment · Fixed by #17

Comments

@reinhart1010
Copy link
Contributor

image

I might want to fix this issue and create a PR on it.

@reinhart1010
Copy link
Contributor Author

From Python release notes (https://docs.python.org/3.9/whatsnew/3.9.html#removed):

Methods getchildren() and getiterator() of classes ElementTree and Element in the ElementTree module have been removed. They were deprecated in Python 3.2. Use iter(x) or list(x) instead of x.getchildren() and x.iter() or list(x.iter()) instead of x.getiterator(). (Contributed by Serhiy Storchaka in bpo-36543.)

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