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

Another round of simplifying member accesses — and in particular, met… #6290

Closed
wants to merge 1 commit into from

Conversation

erictraut
Copy link
Collaborator

…hod accesses for magic methods. The previous code had redundant (and partially incomplete) methods for evaluating calls to magic methods. This change consolidates the code and eliminates various holes.

…hod accesses for magic methods. The previous code had redundant (and partially incomplete) methods for evaluating calls to magic methods. This change consolidates the code and eliminates various holes.
Copy link
Contributor

github-actions bot commented Nov 1, 2023

Diff from mypy_primer, showing the effect of this PR on open source code:

steam.py (https://github.com/Gobot1234/steam.py)
+   /tmp/mypy_primer/projects/steam.py/steam/clan.py:133:18 - error: Object of type "None" cannot be used as iterable value (reportOptionalIterable)
- 7935 errors, 23 warnings, 0 informations 
+ 7936 errors, 23 warnings, 0 informations 

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
+   /tmp/mypy_primer/projects/pandas-stubs/tests/test_frame.py:59:23 - error: Object of type "None" cannot be used as iterable value (reportOptionalIterable)
- 1366 errors, 0 warnings, 0 informations 
+ 1367 errors, 0 warnings, 0 informations 

@erictraut erictraut closed this Nov 1, 2023
@erictraut erictraut deleted the memberAccessSimplification2 branch November 1, 2023 19:26
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 this pull request may close these issues.

1 participant