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 brechtm
Date 2015-08-06.07:00:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438844411.04.0.216994777179.issue24806@psf.upfronthosting.co.za>
In-reply-to
Content
These both raise an exception:

    class Null(type(None)): pass

    class Null(object, type(None)): pass

The following does not:

    class Object(object): pass
    class Null(Object, type(None)): pass

This should also raise a TypeError.
Also, the result is not what I expected, as "bool(Null())" yields True.
History
Date User Action Args
2015-08-06 07:00:11brechtmsetrecipients: + brechtm
2015-08-06 07:00:11brechtmsetmessageid: <1438844411.04.0.216994777179.issue24806@psf.upfronthosting.co.za>
2015-08-06 07:00:10brechtmlinkissue24806 messages
2015-08-06 07:00:10brechtmcreate