-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Make all names and fullnames in mypy properties #7640
Comments
Oh ugh this would be a big plugin compatability break wouldn't it |
Yeah, but on the other hand it would be good to do this before 1.0 release since the current situation is bad. I'd rather not be stuck with the current state forever. |
I agree with Jukka here. |
I think this is probably a good idea. If we choose to move ahead with this, we should probably announce our intentions here ASAP #6617 |
OK I'll do it after 0.740 |
SymbolNode and FuncBase had name and fullname as methods while everything else has them as attributes or properties. Turn them into properties. Fixes #7640. This was done with `sed -i -e 's/\.name()/.name/g' -e 's/\.fullname()/.fullname/g' mypy/*.py mypy/*/*.py mypyc/*.py mypyc/*/*.py misc/proper_plugin.py test-data/unit/plugins/*.py`.
^
The text was updated successfully, but these errors were encountered: