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 r.david.murray
Recipients billyziege, r.david.murray
Date 2015-12-16.15:54:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450281288.78.0.736528395118.issue25884@psf.upfronthosting.co.za>
In-reply-to
Content
Which version of python are you running?  I can't match that traceback up to the code in the current 2.7 inspect module.

That said, the same issue probably exists in the current code.  A 2.7 class is expected to have either an __mro__ or a __bases__ attribute, and if it has neither inspect probably *should* throw an error, since it can't know what to do with the class.  The error could be clearer, though.

But, let's see what others think.
History
Date User Action Args
2015-12-16 15:54:48r.david.murraysetrecipients: + r.david.murray, billyziege
2015-12-16 15:54:48r.david.murraysetmessageid: <1450281288.78.0.736528395118.issue25884@psf.upfronthosting.co.za>
2015-12-16 15:54:48r.david.murraylinkissue25884 messages
2015-12-16 15:54:48r.david.murraycreate