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 sobolevn
Recipients sobolevn
Date 2022-01-19.17:42:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
There are several legacy `hasattr` checks that are always `True` in newer Python versions:

1. https://github.com/python/cpython/blob/d45cd2d20770f72a000ba6dfa9ac88dd49423c27/Lib/test/test_typing.py#L3516
2. https://github.com/python/cpython/blob/d45cd2d20770f72a000ba6dfa9ac88dd49423c27/Lib/test/test_typing.py#L5133

I think it is safe to delete them.
History
Date User Action Args
2022-01-19 17:42:38sobolevnsetrecipients: + sobolevn
2022-01-19 17:42:38sobolevnsetmessageid: <[email protected]>
2022-01-19 17:42:38sobolevnlinkissue46437 messages
2022-01-19 17:42:38sobolevncreate