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-June/025641.html below:

[Python-Dev] PEP 292, Simpler String Substitutions

[Python-Dev] PEP 292, Simpler String Substitutions [Python-Dev] PEP 292, Simpler String SubstitutionsTrent Mick trentm@ActiveState.com
Wed, 19 Jun 2002 17:39:42 -0700
[Delaney, Timothy wrote]
> > From: barry@zope.com [mailto:barry@zope.com]
> >=20
> > >>>>> "MS" =3D=3D Martin Sj=F6gren <martin@strakt.com> writes:
> >=20
> >     MS> What's the advantage of using ${name} and ${country} instead?
> >=20
> > There's a lot of empirical evidence that %(name)s is quite error
> > prone.
>=20
> Perhaps an unadorned %(name) should default to %(name)s?

Or:
- get pychecker2 working (the one that does not need to import modules
  that it checks, I *think* that that is one of the pychecker2 features)
- get PyChecker in the core
- provide a python flag to load the pychecker import hook to check your
  code when running it (say, '-w')
- have PyChecker warn about "%(name)"-sans-formatting-character
  instances in strings (if it does not already).

Trent

--=20
Trent Mick
TrentM@ActiveState.com




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