[Python-Dev] transitioning from % to {} formatting (original) (raw)
Raymond Hettinger python at rcn.com
Thu Oct 1 17:50:28 CEST 2009
- Previous message: [Python-Dev] transitioning from % to {} formatting
- Next message: [Python-Dev] transitioning from % to {} formatting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Vinay Sajip]
And the special wrappers needn't be too intrusive:
__ = BraceMessage_ logger.debug(("Message with {0} {1}", 1, "argument"))_
It looks like the BraceMessage would have to re-instantiate on every invocation.
Raymond
- Previous message: [Python-Dev] transitioning from % to {} formatting
- Next message: [Python-Dev] transitioning from % to {} formatting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]