[Python-Dev] Re: PEP 292 - Simpler String Substitutions (original) (raw)
Barry Warsaw barry at python.org
Tue Aug 24 19:00:37 CEST 2004
- Previous message: [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 ]
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 : http://mail.python.org/pipermail/python-dev/attachments/20040824/e2907160/attachment.pgp
- Previous message: [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 ]