[Python-ideas] Show deprecation warnings in the interactive interpreter

random832 at fastmail.us random832 at fastmail.us
Thu Feb 26 00:27:24 CET 2015


On Wed, Feb 25, 2015, at 16:45, Terry Reedy wrote:
> On 2/25/2015 3:39 AM, Ben Finney wrote:
> > Serhiy Storchaka <storchaka at gmail.com>
> > writes:
> >
> >> What you are think about turning deprecation warnings on by default in
> >> the interactive interpreter?
> 
> I don't really get the point.  It seems to me that the idea is to have 
> warnings optionally on during development, always off during production. 
>   Most development, especially of 'permanent' code, does not take place 
> at the interactive prompt.

I think the idea is that people experiment at the interactive prompt and
warnings will help them learn good habits.


More information about the Python-ideas mailing list