Message248112
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. |
|
Date |
User |
Action |
Args |
2015-08-06 07:00:11 | brechtm | set | recipients:
+ brechtm |
2015-08-06 07:00:11 | brechtm | set | messageid: <1438844411.04.0.216994777179.issue24806@psf.upfronthosting.co.za> |
2015-08-06 07:00:10 | brechtm | link | issue24806 messages |
2015-08-06 07:00:10 | brechtm | create | |
|