[Python-Dev] Re: Long-term deprecation policy

2019-07-19 Thread Ezio Melotti
On Wed, Jul 17, 2019 at 2:36 AM Brett Cannon wrote: > > Jeroen Demeyer wrote: > > I have seen multiple discussions where somebody wants to deprecate a > > useless function but somebody else complains that we cannot do that > > because the function in question cannot be removed (because of

[Python-Dev] Re: Long-term deprecation policy

2019-07-17 Thread Brett Cannon
Jeroen Demeyer wrote: > On 2019-07-17 02:34, Brett Cannon wrote: > > I prefer removal for ease of maintenance (people > > always want to update code even if it's deprecated), and to help make sure > > people who > > don't read the docs but discover something via the REPL or something and > >

[Python-Dev] Re: Long-term deprecation policy

2019-07-17 Thread Inada Naoki
On Tue, Jul 16, 2019 at 11:07 PM Jeroen Demeyer wrote: > > On 2019-07-16 15:33, Inada Naoki wrote: > >> We currently have a deprecation policy saying that functions deprecated > >> in version N cannot be removed before version N+2. That's a reasonable > >> policy but some deprecation purists

[Python-Dev] Re: Long-term deprecation policy

2019-07-16 Thread Jeroen Demeyer
On 2019-07-17 02:34, Brett Cannon wrote: I prefer removal for ease of maintenance (people always want to update code even if it's deprecated), and to help make sure people who don't read the docs but discover something via the REPL or something and don't run with warnings on do not

[Python-Dev] Re: Long-term deprecation policy

2019-07-16 Thread Brett Cannon
Jeroen Demeyer wrote: > I have seen multiple discussions where somebody wants to deprecate a > useless function but somebody else complains that we cannot do that > because the function in question cannot be removed (because of backwards > compatibility). See

[Python-Dev] Re: Long-term deprecation policy

2019-07-16 Thread Jeroen Demeyer
On 2019-07-16 15:33, Inada Naoki wrote: We currently have a deprecation policy saying that functions deprecated in version N cannot be removed before version N+2. That's a reasonable policy but some deprecation purists insist that it MUST (instead of MAY) be removed in version N+2. Following

[Python-Dev] Re: Long-term deprecation policy

2019-07-16 Thread Inada Naoki
On Tue, Jul 16, 2019 at 6:46 PM Jeroen Demeyer wrote: > > I have seen multiple discussions where somebody wants to deprecate a > useless function but somebody else complains that we cannot do that > because the function in question cannot be removed (because of backwards > compatibility). See