[docs] [issue13203] Doc: say id() is only useful for existing objects
Terry J. Reedy
report at bugs.python.org
Mon Oct 17 20:44:49 CEST 2011
Terry J. Reedy <tjreedy at udel.edu> added the comment:
I gave a maximum addition. The first sentence may be enough (or even just the second half of it). What people do not get is that the lifetime of new arg objects is the duration of the function call -- and that the output of id for departed objects is uniquely useless and invalid.
Python tracker <report at bugs.python.org>
More information about the docs