Greg Ewing wrote: > Ka-Ping Yee <ping@lfw.org>: > > >>But in the new scheme, there is a "blessed" Boolean type. Does this >>make the other kinds of true and false less legitimate? These "other kinds of true and false" should IMHO be implemented via a conversion method __bool__ (just like __int__, __str__, __unicode__ etc.) and will be a bool aware version of __nonzero__ which should be deprecated. if should internally call this bool conversion method. Bye, Walter Dörwald -- Walter Dörwald · LivingLogic AG, Bayreuth/Germany · www.livinglogic.de
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4