You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PCManticore
changed the title
Access to a private function in inner class emits W0212
Access to a private function in inner class emits protected-access
Aug 16, 2019
…#5232)
* Fix access to private function in inner class on protected-access bug
* Add functional test for protected-access from inner class
* Add Ikraduya to CONTRIBUTORS file
* Add if statement to avoid potential bug
* Fix ``protected-access`` for attributes and methods of nested classes
This closes#3066
Co-authored-by: ikraduya <ikraduya@gmail.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
This issue might be related to #1159 and maybe others.
Steps to reproduce
The following code emits a W0212:
Current behavior
Expected behavior
A solid 10/10 score.
pylint --version output
pylint 2.3.1
astroid 2.2.5
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]]
The text was updated successfully, but these errors were encountered: