Serhiy Storchaka <[email protected]> added the comment:
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.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44711>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com