Reference

alex23 wuwei23 at gmail.com
Thu Mar 6 03:12:15 CET 2014


On 6/03/2014 10:52 AM, Marko Rauhamaa wrote:
> I was just saying talking about id() as a memory address isn't all that
> bad. It's a bit like rolling down your power windows or turning up the
> volume, when there's nothing to roll or turn. There's no risk of getting
> your program wrong.

Unless you're talking about, say, the PyPy implementation, for which id 
is _not_ a memory address at all.

Why insist on using "memory address" rather than "unique identifier", 
when the latter is fundamentally more correct?




More information about the Python-list mailing list