Implicit initialization is EVIL!

Roy Smith roy at panix.com
Sun Jul 3 18:32:47 EDT 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