[CentralOH] None versus 0 Bug

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Mon Jun 4 17:15:45 CEST 2012

Hi Eric, 

On Mon, 4 Jun 2012 11:08:56 -0400, Eric Floehr <eric at intellovations.com> wrote:

> Also, in your Python implementation, "if record.x and record.y" will fail
> when x or y is 0, which are valid, not just None.  This has tripped me up
> in the past :-).  So better would be "if record.x is not None and record.y
> is not None".

Oops. Thanks for catching that. 


More information about the CentralOH mailing list