On Thu, Aug 09, 2012 at 03:24:59PM +1200, Greg Ewing firstname.lastname@example.org 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).