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

Guido van Rossum guido at python.org
Thu Feb 26 01:45:26 CET 2015


Well, you can turn warnings or off using a command line flag or by making
calls into the warnings module, so everyone who emulates a REPL can copy
this behavior. I'm not worried about that.

On Wed, Feb 25, 2015 at 4:20 PM, Terry Reedy <tjreedy at udel.edu> wrote:

> On 2/25/2015 4:28 PM, Ethan Furman wrote:
>
>> On 02/24/2015 11:51 PM, Serhiy Storchaka wrote:
>>
>>  What you are think about turning deprecation warnings on by default
>>>
>> >> in the interactive interpreter?
>
>>
>> -1
>>
>> One can use the commandline switch if one wants to.
>>
>
> A change limited to the interactive interpreter would be meaningless for
> everyone who works at a simulated prompt in a gui program running on
> non-interactive python, or running user code under supervision in
> non-interactive python.  This includes both modes of Idle (default and
> -n).  I presume this includes nearly any other alternative to the console
> interpreter.
>
> On Windows, the actual Command Prompt interactive interpreter is a
> wretched environment.  I only use it to start Idle on repository builds and
> to check whether Idle does the same thing as the console interpreter.  I
> suspect that many users on Windows never see the console interpreter, just
> as they many never see a command prompt command line.
>
> --
> Terry Jan Reedy
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>



-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150225/db9f6fa1/attachment.html>


More information about the Python-ideas mailing list