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 : http://mail.python.org/pipermail/python-dev/attachments/20040822/15e88b1b/attachment.pgp
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4