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 louielu
Recipients Bruno Oliveira, Daniel Lepage, louielu
Date 2017-06-05.02:31:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496629915.69.0.289678488867.issue30570@psf.upfronthosting.co.za>
In-reply-to
Content
Without this segfault, I think you do a wrong operation. In other cases, for example:

>>> issubclass(10, int)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: issubclass() arg 1 must be a class


`issubclass` will return TypeError on instance, if you test as `issubclass(Failure, int)` or `issubclass(Failure().__class__, int`, it should get the correct answer.
History
Date User Action Args
2017-06-05 02:31:55louielusetrecipients: + louielu, Bruno Oliveira, Daniel Lepage
2017-06-05 02:31:55louielusetmessageid: <1496629915.69.0.289678488867.issue30570@psf.upfronthosting.co.za>
2017-06-05 02:31:55louielulinkissue30570 messages
2017-06-05 02:31:55louielucreate