[Python-Dev] bool conversion wart? (original) (raw)
Guido van Rossum guido at python.org
Sat Feb 24 14:56:42 CET 2007
- Previous message: [Python-Dev] bool conversion wart?
- Next message: [Python-Dev] bool conversion wart?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Can anyone who is in favor of changing this please come up with a spec for the new bool() signature? What would you do for the most common use case of bool(), which is converting an arbitrary value to its Boolean equivalent without using an if test or the "not not x" hack?
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] bool conversion wart?
- Next message: [Python-Dev] bool conversion wart?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]