Re: [Tutor] a quick Q: built-in method pop of list object at 0x7f8221a22cb0>

2011-09-08 Thread lina
Thanks, this is very informative. open some windows for me. On Thu, Sep 8, 2011 at 9:58 PM, Alan Gauld wrote: > On 08/09/11 13:59, lina wrote: >> >> >> >> what does the 0x7f8221a22cb0 mean here? the computer physical address. > > It's a unique identifier for the object which is implementation

Re: [Tutor] a quick Q: built-in method pop of list object at 0x7f8221a22cb0>

2011-09-08 Thread Alan Gauld
On 08/09/11 13:59, lina wrote: what does the 0x7f8221a22cb0 mean here? the computer physical address. It's a unique identifier for the object which is implementation dependant. In practice you can consider it the memory address. But I wouldn't try using it as an address by passing it into

Re: [Tutor] a quick Q: built-in method pop of list object at 0x7f8221a22cb0>

2011-09-08 Thread Steven D'Aprano
lina wrote: Hi, what does the 0x7f8221a22cb0 mean here? the computer physical address. That's the ID of the list object, converted to hexadecimal. Every object in Python gets a unique (for the life of the object) ID. In CPython, the version you are using, that ID happens to be the memory

[Tutor] a quick Q: built-in method pop of list object at 0x7f8221a22cb0>

2011-09-08 Thread lina
Hi, what does the 0x7f8221a22cb0 mean here? the computer physical address. Thanks, -- Best Regards, lina ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor