On Fri, Mar 15, 2019 at 11:54:51AM -0300, Andre Roberge wrote:
On Fri, Mar 15, 2019 at 11:42 AM Steven D'Aprano email@example.com wrote:
I still remember being told in no uncertain terms by the core devs that adding a clear() method to lists was a waste of time because there was already a perfectly good way to spell it with slicing. And then ABCs came along and now lists have a clear method. So opinions change too.
I agree with the opinions expressed in the (partially) quoted message
but I don't think that this is how this particular change happened.
You proposed that in April 2009, but there was nothing added to the bug tracker for 18 months until it was finally added by Terry Reedy in November 2010, based on discussion in a completely different thread (one about sets!):
Contrary-wise, a few years earlier the same request had been roundly dismissed by core-devs and Python luminaries as "inane", "redundant" and "trivial".
People can change their mind -- something that is dismissed one year may be accepted some years later on.