Message341247
This will force legal third-party code to add special code to suppress warnings. This is breaking change.
Other problem is with shadowing builtins. This increases chance of breakage when introduce new builtins. Currently adding a new builtin does not affect existing code which does not use this builting, but all will be changed if implement this feature.
Since shadowing a builtin and overwriting an existing global is not always an error, I think this warning should not be the part of the interpreter, but rather a part of third-party linters (which can be configured to ignore some warnings for particular projects). |
|
Date |
User |
Action |
Args |
2019-05-02 04:56:17 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, Windson Yang |
2019-05-02 04:56:17 | serhiy.storchaka | set | messageid: <1556772977.5.0.175905698441.issue36762@roundup.psfhosted.org> |
2019-05-02 04:56:17 | serhiy.storchaka | link | issue36762 messages |
2019-05-02 04:56:17 | serhiy.storchaka | create | |
|