[Fwd: Re: [Python-Dev] For review: PEP 285: Adding a bool type]
9 Mar
2002
9 Mar
'02
1:33 a.m.
[resent - forgot python-dev in my reply to guido] Guido van Rossum wrote:
Absolutely not. I want True == 2 to be False.
Intersesting. so: operator.truth(2) would be True but: 2 == True would be False and: bool(2) would be True Once again, casting, coercion, comparisons and truth value rear their fuzzy heads. --david
8077
Age (days ago)
8077
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Ascher