[Python-Dev] Re: PEP 292, Simpler String Substitutions
François Pinard
pinard@iro.umontreal.ca
20 Jun 2002 15:15:41 -0400
[Guido van Rossum]
> +1 on (e.g.) a text module.
> -1 on reusing the string module.
_A_ text module is OK. But please, avoid naming such a module "text".
Coming to Python, I had to loose the habit of naming the usual string
work-variable "string", because it would conflict with the module name.
(Some use `s', but this is more close to algebra than programming, as for
programming, clear names are usually better.) So, I have tons of programs
and scripts using "text" instead for the usual string work-variable.
It would be a pain having to revise this all, making room for "import text".
--
François Pinard http://www.iro.umontreal.ca/~pinard