[Python-3000] [Python-Dev] PEP 30XZ: Simplified Parsing

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 3 02:49:14 CEST 2007


Trent Mick wrote:

> But if you don't want the EOLs? Example from some code of mine:
> 
>      raise MakeError("extracting '%s' in '%s' did not create the "
>                      "directory that the Python build will expect: "
>                      "'%s'" % (src_pkg, dst_dir, dst))
> 
> I use this kind of thing frequently. Don't know if others consider it 
> bad style.

I use it too, and would be disappointed if it were
taken away. I find the usefulness considerably
outweighs any occasional problems.

--
Greg


More information about the Python-3000 mailing list