Author serhiy.storchaka
Recipients anton.gruebel, eric.smith, python-dev, serhiy.storchaka
Date 2021-07-22.20:27:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626985647.25.0.701565462604.issue44711@roundup.psfhosted.org>
In-reply-to
Content
I suppose it is a very old code written when str was a function, not a type (thus using type('')) and builtin types were not subclassable (thus not using isinstance()).

I once analyzed other similar cases in the stdlib. Seems it is time to revive my old patch.
History
Date User Action Args
2021-07-22 20:27:27serhiy.storchakasetrecipients: + serhiy.storchaka, eric.smith, python-dev, anton.gruebel
2021-07-22 20:27:27serhiy.storchakasetmessageid: <1626985647.25.0.701565462604.issue44711@roundup.psfhosted.org>
2021-07-22 20:27:27serhiy.storchakalinkissue44711 messages
2021-07-22 20:27:27serhiy.storchakacreate