This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients alex, cvrebert, eric.araujo, ncoghlan, pitrou
Date 2011-10-29.14:11:01
SpamBayes Score 5.127471e-06
Marked as misclassified No
Message-id <>
Yeah, I was thinking about this a bit more and realised that I'd rejected the "quote everything by default" approach before I had the idea of providing a custom conversion specifier to disable the implicit string conversion and quoting.

So perhaps a better alternative would be:

  default - str + shlex.quote
  !u - unquoted (i.e. normal str.format default behaviour)

When you have a concise way to explicitly bypass it, making the default behaviour as safe as possible seems like a good way to go.
Date User Action Args
2011-10-29 14:11:02ncoghlansetrecipients: + ncoghlan, pitrou, eric.araujo, alex, cvrebert
2011-10-29 14:11:02ncoghlansetmessageid: <>
2011-10-29 14:11:01ncoghlanlinkissue13238 messages
2011-10-29 14:11:01ncoghlancreate