Do I always have to write "self." ?

Moshe Zadka moshez at
Sat Apr 29 04:15:35 EDT 2000

On Sat, 29 Apr 2000 jsolbrig at wrote:

> Actually,
> What I'd like to see would for "self" to an official keyword rather than
> simply a convention. The more things that are "conventional" but not
> required, the more potential there is for occasional bugs.
> And occasional bugs are the WORST.

Here's a solution:
Search the deja-news archives for "selfnanny", and run it over your code.
It will warn you about all methods not beginning with "self".

Moshe Zadka <mzadka at>. -- we put the penguin in .com

More information about the Python-list mailing list