On 25/10/2013 19:26, Mark Janssen wrote:
OTOH why in particular would you want to initialise them with zeros? I
often initialise arrays to nan which is useful for debugging.
Is this some kind of joke? What has this list become?
It's a useful debugging technique to initialize memory to distinctive values
that should never occur in real data.
If you're doing this, you're doing something wrong. Please give me
the hex value for NaN so I can initialize with my array.
It is clear that you know as much about debugging as you do about
objects and message passing, a summary here for the uninitiated
http://code.activestate.com/lists/python-ideas/19908/. I can see why the
BDFL described you as an embarrassment, and if he didn't, he certainly
should have done.
--
Python is the second best programming language in the world.
But the best has yet to be invented. Christian Tismer
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list