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 eric.smith
Recipients anton.gruebel, eric.smith
Date 2021-07-22.19:54:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626983665.7.0.902950912796.issue44711@roundup.psfhosted.org>
In-reply-to
Content
The difference is that type(cmd) is doing an exact match on the type, while isinstance is checking for types or derived types. I don't know if that makes a difference here, but it's worth noting.
History
Date User Action Args
2021-07-22 19:54:25eric.smithsetrecipients: + eric.smith, anton.gruebel
2021-07-22 19:54:25eric.smithsetmessageid: <1626983665.7.0.902950912796.issue44711@roundup.psfhosted.org>
2021-07-22 19:54:25eric.smithlinkissue44711 messages
2021-07-22 19:54:25eric.smithcreate