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 <>
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.
Date User Action Args
2021-07-22 19:54:25eric.smithsetrecipients: + eric.smith, anton.gruebel
2021-07-22 19:54:25eric.smithsetmessageid: <>
2021-07-22 19:54:25eric.smithlinkissue44711 messages
2021-07-22 19:54:25eric.smithcreate