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

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Feb 23 22:39:27 CET 2015


On 23/02/2015 21:27, Serhiy Storchaka wrote:
> On 23.02.15 21:58, Joao S. O. Bueno wrote:
>> That happens all the time, and is this use case that should possibly
>> be addressed here - maybe
>> something as simple as adding a couple of paragraphs to different places
>> in the documentation could mitigate the issue. (in contrast to make a
>> tons of otherwise valid code
>> to become deprecated in a couple releases).
>
> The problem is that the user don't know that he should read the
> documentation. It just find that his script works with "C:\sample.txt",
> but doesn't work with "D:\test.txt". He has no ideas what happen.
>

Isn't this why users have help desks?

-- 
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