On Mon, Jul 12, 2010 at 9:16 PM, Steven D'Aprano <steve-remove-t...@cybersource.com.au> wrote: > You've seen -1 being used as false? Where? Are you still talking about > Python builtins or language semantics?
Some of our database tables at work use 1 for true, -1 for false, and 0 for neither. Don't look at me, I didn't design it. Why they didn't just make the column nullable is beyond me, but that's the way it is. -- http://mail.python.org/mailman/listinfo/python-list