[Python-ideas] Deprecating rarely used str methods

Joshua Landau joshua at landau.ws
Sat Aug 10 11:24:10 CEST 2013


On 10 August 2013 09:09, Chris Angelico <rosuav at gmail.com> wrote:
> On Sat, Aug 10, 2013 at 6:36 AM, Joshua Landau <joshua at landau.ws> wrote:
>> On 10 August 2013 04:58, Chris Angelico <rosuav at gmail.com> wrote:
>>> Oh, I can see the other side's arguments. If str.format existed and
>>> str% didn't, there would be insufficient grounds to add it. But they
>>> both exist, and the arguments for removing a feature have to be
>>> insanely strong. Status quo wins easily.
>>
>> But the arguments for deprecating a feature in favour of the other (so
>> as to aid standardisation) without imminent removal plans don't have
>> to be as strong.
>
> What does deprecation mean if you aren't planning to remove it? Why
> should I change my code if it's not going to break? Deprecation has to
> be backed by intent to remove.

without *imminent* removal plans

Also, such a measure would primarily affect new code.


More information about the Python-ideas mailing list