Message160006
> I considered briefly trying to make 'P' handle subclasses of bool.
Not an issue: bool can't be subclassed. :-)
Python 3.2.3 (default, Apr 13 2012, 00:15:25)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> class MyBool(bool):
... pass
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: type 'bool' is not an acceptable base type |
|
Date |
User |
Action |
Args |
2012-05-05 16:50:51 | mark.dickinson | set | recipients:
+ mark.dickinson, loewis, georg.brandl, larry, eric.smith, benjamin.peterson, serhiy.storchaka |
2012-05-05 16:50:51 | mark.dickinson | set | messageid: <1336236651.24.0.890567968969.issue14705@psf.upfronthosting.co.za> |
2012-05-05 16:50:50 | mark.dickinson | link | issue14705 messages |
2012-05-05 16:50:50 | mark.dickinson | create | |
|