[Python-Dev] Re: Update PEP 292

Barry Warsaw barry at python.org
Mon Aug 23 02:30:37 CEST 2004


On Fri, 2004-08-20 at 12:29, Brett C. wrote:
> > What do you think about this compared to Tim's pattern, which is more
> > strict than just complaining about $'s at the end of strings?
> > 

> But Raymond is pushing for "practicality beats purity" which is more or 
> less true, but I am starting to agree with Tim that dollar amounts in an 
> interpolated string probably won't hapeen that often.  If anything the 
> number will be what is interpolated in.  So going for a more explicit 
> version is seeming to be the better solution. [...]

I agree that explicit is better than implicit.  I've added this as an
open issue in the PEP, but the implementation (patch) I'm going to post
will require throw the ValueError for all bad placeholders.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : [Python-Dev] Re: Update PEP 292

	
  • Next message: [Python-Dev] Re: Update PEP 292
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  • More information about the Python-Dev mailing list

    Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

    Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant