[Python-Dev] Emit SyntaxWarning on unrecognized backslash escapes?

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Feb 24 12:11:23 CET 2015


On 23/02/2015 23:32, Serhiy Storchaka wrote:
> On 24.02.15 00:50, Nick Coghlan wrote:
>>> - SyntaxError in Python 3.7
>
> I think that SyntaxError could wait to 4.0.
>
>> Another suggestion: we may want to turn this particular deprecation
>> warning on by default in the interactive interpreter, and recommend
>> that other interactive interpreter developers (such as the IPython
>> folks) consider doing the same.
>
> Why not turn all deprecation warning on by default in the interactive
> interpreter?
>

In any given release how many of these would you see?  I wouldn't mind 
seeing a few lines whenever I ran the II, but if the number started 
getting into tens or hundreds, at best I'd find it extremely irritating.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Python-Dev mailing list