Implicit initialization is EVIL!

Roy Smith roy at panix.com
Mon Jul 4 00:32:47 CEST 2011


In article <mailman.588.1309731711.1164.python-list at python.org>,
 Chris Angelico <rosuav at gmail.com> wrote:

> var(0x14205359) x   # Don't forget to provide an address where the
> object will be located
> x=42
> 
> After all, everyone's gotta learn about segfaults some day!

0x14205359 is more likely to give a bus error (odd address) than a 
segfault :-)



More information about the Python-list mailing list