Movatterモバイル変換
[0]ホーム
[Python-Dev] PEP 285 (Adding a bool type) extending it further
Guido van Rossumguido@python.org
Thu, 03 Oct 2002 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 proposalhas nothing to do with a Boolean type. I've tried to explained beforewhy this can't be done.--Guido van Rossum (home page:http://www.python.org/~guido/)
[8]ページ先頭