News for hackers. Stuff that matters.
Re:In Memoriam: Tim Peters 1952–2026 by bjourne on Thursday November 12, 2026 @09:23AM (#50467726)
Haha, yes! Back in the day whether self should be implicit or explicit was a major point of contention. Those who loved Java and C++ found self to be almost as repugnant as Python's indentation-based syntax. I even posted code on the now defunct ActiveState site to make self implicit again:

https://web.archive.org/web/20211128002836/https://code.acti...

For good reasons, Pythonistas were not appreciative! :)

Re:In Memoriam: Tim Peters 1952–2026 by zahlman on Friday November 13, 2026 @11:44AM (#50486101)
The revamp of the object model in 3.x IMO justified the design decision more strongly, since now methods are just functions (unless and until munged by the descriptor protocol) and the class is essentially just a namespace for them. (Namespaces are one honking great idea -- let's do more of those!) In 2.x, methods were a separate "unbound method" type even when accessed through the class, even if you explicitly inherited from `object`; with this model, one could more easily imagine special accommodations for `self`.