[Python-Dev] Re: PEP 292 - Simpler String Substitutions

Barry Warsaw barry at python.org
Tue Aug 24 19:00:37 CEST 2004


On Mon, 2004-08-23 at 12:32, Tim Peters wrote:

> Apologies to Barry, but I'm +1 on auto-str() too.  It's a string
> interpolation -- the user is explicitly asking for a string.  If they
> made a mistake, it was in asking for a string to begin with, not in
> feeding it a non-string.

Should it be auto-unicode(), given that Template is derived from
unicode?  And if so, should we entertain the possibility of insanities
like giving the user the ability to pass optional arguments to the
unicode() call?  If the answers to that are yes and no, that's fine with
me.

-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: PEP 292 - Simpler String Substitutions

	
  • Next message: [Python-Dev] Re: PEP 292 - Simpler String Substitutions
  • 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