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 brechtm
Recipients arigo, brechtm
Date 2015-08-06.09:03:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438851797.63.0.509500735998.issue24806@psf.upfronthosting.co.za>
In-reply-to
Content
This is a real-world example where this type of inheritance is used: https://github.com/brechtm/rinohtype/blob/8bd961243c1059aa7cb738493e4687f7a5930d5b/rinoh/backend/pdf/cos.py#L121

I don't think there is any inherent reason not to subclass from (indirectly) object and int at the same time. I understand this is only a limitation of CPython? Please correct me if I'm wrong.
History
Date User Action Args
2015-08-06 09:03:17brechtmsetrecipients: + brechtm, arigo
2015-08-06 09:03:17brechtmsetmessageid: <1438851797.63.0.509500735998.issue24806@psf.upfronthosting.co.za>
2015-08-06 09:03:17brechtmlinkissue24806 messages
2015-08-06 09:03:17brechtmcreate