> - bool() called without arguments now returns False rather than > raising an exception. This is consistent with calling the > constructors for the other builtin types -- called without argument > they all return the false value of that type. (SF patch #724135) That's clearly useful for mutable types such as lists and dicts, but for immutable types? Especially one such as bool whose possible values are so, er, symmetrical in prominence (is there a succinct word for this concept?) Does anyone have a use case for this? Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
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