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

Element.Name+ fails in 2025 #446

Open
2 tasks
Tracked by #447
andydandy74 opened this issue Jan 29, 2025 · 0 comments
Open
2 tasks
Tracked by #447

Element.Name+ fails in 2025 #446

andydandy74 opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels

Comments

@andydandy74
Copy link
Owner

andydandy74 commented Jan 29, 2025

  • Fix in R25
  • Re-check in R22

Possible fix

In R25 CPython doesn't like this line:

elif hasattr(item, "Name"): return item.Name

but it's fine with this one:

elif hasattr(item, "get_Name"): return unwrapped.get_Name()
@andydandy74 andydandy74 self-assigned this Jan 29, 2025
@andydandy74 andydandy74 changed the title Element.Name+ fails in 2022 Element.Name+ fails in 2025 Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do
Development

No branches or pull requests

1 participant