[Python-Dev] PEP 285 (Adding a bool type) extending it further

Guido van Rossum guido@python.org
2002年10月03日 20:52:40 -0400


> Given my silly problems trying to write a class which overwrite
> logical operations like 'and', 'or' and 'not', which is not possible
> by now [...] I would like to propose to extend the PEP 285 to add
> boolean operations that can be overloaded as the rest of the
> operations in python.

Sorry, PEP 285 is already accepted and implemented, and your proposal
has nothing to do with a Boolean type. I've tried to explained before
why this can't be done.
--Guido van Rossum (home page: http://www.python.org/~guido/)

AltStyle によって変換されたページ (->オリジナル) /