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

AENUM creating class bodies dynamically causes pylint warning #2719

Closed
fordp2002 opened this issue Jan 31, 2019 · 2 comments · Fixed by pythoninja/adarklib#29, thermondo/stanley#208 or ChrisRBe/PP-P2P-Parser#85

Comments

@fordp2002
Copy link

https://stackoverflow.com/questions/54423962/aenum-creating-class-bodies-dynamically-causes-pylint-warning
1

Current behavior

Error

Expected behavior

No Error

pylint --version output

<class 'AttributeError'>: 'For' object has no attribute 'value'

[installed astroid-2.2.0.dev0 pylint-2.3.0.dev1]

@PCManticore
Copy link
Contributor

Thanks for the report. This was a bug in the astroid library used by pylint. The latest master branch of astroid should fix this problem.

@fordp2002
Copy link
Author

Many Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment