
Aug. 9, 2012
4:40 a.m.
On Thu, Aug 09, 2012 at 03:24:59PM +1200, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
On 09/08/12 04:59, Oleg Broytman wrote:
To distinguish False and None for a tri-state variable that can have 3 values - "yes", "no" and "unspecified" - True, False and None in Python-speak.
Er, not quite best practice.
Unavoidable. E.g. in SQL a boolean column stores True, False and None (SQL NULL). Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.