A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-January/019547.html below:

[Python-Dev] Utopian String Interpolation

[Python-Dev] Utopian String Interpolation [Python-Dev] Utopian String InterpolationPaul Svensson paul@svensson.org
Wed, 16 Jan 2002 17:43:48 -0500 (EST)
On Wed, 16 Jan 2002, Paul Prescod wrote:

>Guido van Rossum wrote:
>> 
>>...
>> 
>> The "why" is that long ago Python didn't have raw strings but it did
>> have regular expressions.  I thought it would be painful to have to
>> double all backslashes used for the regex syntax.
>
>Aha.
>
>> It would be hard to change this policy now.
>
>How about an optional warning which, after a year or so, would be turned
>on by default, and then a year or so after that would be an error? 

Such a warning might prove to be a useful debugging tool,
even if the language never changed.
Maybe it would be a useful addition to PyChecker or some similar tool ?

foot-in-the-door-ly,

	/Paul




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4