Please remove me from the python list

2022-10-11 Thread evagreven16
-- https://mail.python.org/mailman/listinfo/python-list

Re: REMOVE ME

2016-04-11 Thread Chris Angelico
On Tue, Apr 12, 2016 at 9:10 AM, Steven D'Aprano wrote: > Hence "self.things" will return the same > list each time, the one defined as a class attribute, regardless of > which "self" does the lookup. > > If a method were to assign to the attribute, for example "self.things =

Re: REMOVE ME

2016-04-11 Thread Steven D'Aprano
something like this: >> >> class Thing: >> things = [] >> def __init__(self): >> self.things.append(self) >> def __del__(self): >> # Remove me when I'm dead >> self.things.remove(self) >> >> This ing

Re: REMOVE ME

2016-04-11 Thread John Pote
_(self): self.things.append(self) def __del__(self): # Remove me when I'm dead self.things.remove(self) This ingenious technique guarantees that you never have dead objects in your list, by having each object remove itself when it dies. ChrisA I'm not quite sure how tongue in cheek ChrisA's

Re: REMOVE ME

2016-04-10 Thread Steven D'Aprano
On Sunday 10 April 2016 13:46, fan nie wrote: > We cannot remove you. You subscribed, you have to unsubscribe yourself. If you look at the footer of this email, right at the bottom, it should have instructions for unsubscribing. Otherwise, go here:

Re: REMOVE ME

2016-04-09 Thread Ben Finney
fan nie writes: > [no content] Thank you for sending a message to everyone on the mailing list, with the full correct information on how to check subscription settings and how to unsubscribe. As you are no doubt aware, since you left the message body entirely blank to draw

Re: REMOVE ME

2016-04-09 Thread Chris Angelico
ef __del__(self): # Remove me when I'm dead self.things.remove(self) This ingenious technique guarantees that you never have dead objects in your list, by having each object remove itself when it dies. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

REMOVE ME

2016-04-09 Thread fan nie
-- https://mail.python.org/mailman/listinfo/python-list

please remove me from this list

2008-05-04 Thread Vladimir Kropylev
please remove me from this list, thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: please remove me from this list

2008-05-04 Thread David
On Sun, May 4, 2008 at 2:48 PM, Vladimir Kropylev [EMAIL PROTECTED] wrote: please remove me from this list, thanks -- http://mail.python.org/mailman/listinfo/python-list Follow that link (http://mail.python.org/mailman/listinfo/python-list) and see the Python-list Subscribers section