This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Windson Yang, rhettinger, serhiy.storchaka
Date 2019-05-02.04:56:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556772977.5.0.175905698441.issue36762@roundup.psfhosted.org>
In-reply-to
Content
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).
History
Date User Action Args
2019-05-02 04:56:17serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, Windson Yang
2019-05-02 04:56:17serhiy.storchakasetmessageid: <1556772977.5.0.175905698441.issue36762@roundup.psfhosted.org>
2019-05-02 04:56:17serhiy.storchakalinkissue36762 messages
2019-05-02 04:56:17serhiy.storchakacreate