[Python-Dev] transitioning from % to {} formatting (original) (raw)
Benjamin Peterson benjamin at python.org
Sun Oct 4 00:38:55 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 ]
2009/10/3 Vinay Sajip <vinay_sajip at yahoo.co.uk>:
Raymond Hettinger <python rcn.com> writes:
We should get one written. ISTM, every %-formatting string is directly translatable to an equivalent {}-formatting string.
I've made a start, but I'm not sure how best to handle the '#' and ' ' conversion flags.
Mine handles it differently for each type specifier.
-- Regards, Benjamin
- Previous message: [Python-Dev] transitioning from % to {} formatting
- Next message: [Python-Dev] transitioning from % to {} formatting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]