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

Ben Finney ben+python at benfinney.id.au
Wed Feb 25 09:39:50 CET 2015


Serhiy Storchaka <storchaka at gmail.com>
writes:

> What you are think about turning deprecation warnings on by default in
> the interactive interpreter?

In its favour: Exposing problems early, when they can easily be fixed,
is good.

To its detriment: Making the interactive interpreter behave differently
by default from the non-interactive interpreter should be resisted; code
which behaves a certain way by default in one should behave the same way
in the other, without extremely compelling justification.

I'm willing to hear more argument for and against.

-- 
 \       “Remember: every member of your ‘target audience’ also owns a |
  `\   broadcasting station. These ‘targets’ can shoot back.” —Michael |
_o__)               Rathbun to advertisers, news.admin.net-abuse.email |
Ben Finney



More information about the Python-ideas mailing list