[Python-3000] Removing 'self' from method definitions

Thomas Wouters thomas at python.org
Thu Apr 13 22:40:47 CEST 2006


On 4/13/06, Ian Bicking <ianb at colorstudy.com> wrote:

> I propose that the self argument be removed from method definitions.  It
> would not be removed from other places, e.g., you'd still use
> "self.foo()", but the definition for that method would be "def foo():".


Guido already shot this idea down. (It's one of the items in the PEP-13
draft Brett put in my mailbox.) You're free to make a PEP, of course,
especially if it covers every pro and con. But you'll have to work hard,
very hard, to convince Guido (and me, and many others, but we don't count.)

If you are going to make a real PEP, don't forget to ask for feedback on
python-list a few times.

--
Thomas Wouters <thomas at python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20060413/dd356ddb/attachment-0001.htm 


More information about the Python-3000 mailing list