-
-
Notifications
You must be signed in to change notification settings - Fork 278
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 python39 #858
Fix python39 #858
Conversation
… raising 'too many positional arguments'
…ss decorated with dataclasses
…dule is no more a class but a function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice evolution. Should we also remove python 3.5 ? What about in pylint ? python3.5 prevent some thing from being done easily and the end of life was September 2020.
@Pierre-Sassoulas you are right, it's time to drop support for python3.5 but i would prefer to do this in another PR. |
Steps
Description
This PR deals with python 3.9. The biggest change concerns the
NamedTuple
brain. Withpython 3.9
NamedTuple
is no more a class but instead it is now a function. The classNamedTuple
is built dynamically that's why it is necessary to enhance the brain module to take this into account.Type of Changes
Linked issues
Closes pylint-dev/pylint#3876 and partially pylint-dev/pylint#3895