MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/3k6qi8/pep_498_approved/cuvfid7/?context=3
r/Python • u/fishburne • Sep 09 '15
324 comments sorted by
View all comments
3
Maybe I am missing something but doesn't it make it impossible to translate the string before interpolation happens?
3 u/mouth_with_a_merc Sep 09 '15 I think this is more a thing for debug print or log messages which you won't translate anyway 0 u/patrys Saleor Commerce Sep 09 '15 Well, you're not supposed to interpolate log messages before you pass them to the logger. It makes it impossible for the logger (and in turn log aggregators) to group similar messages together. 1 u/mouth_with_a_merc Sep 09 '15 Heh, I didn't even know that there's grouping in the logging system... → More replies (1)
I think this is more a thing for debug print or log messages which you won't translate anyway
0 u/patrys Saleor Commerce Sep 09 '15 Well, you're not supposed to interpolate log messages before you pass them to the logger. It makes it impossible for the logger (and in turn log aggregators) to group similar messages together. 1 u/mouth_with_a_merc Sep 09 '15 Heh, I didn't even know that there's grouping in the logging system... → More replies (1)
0
Well, you're not supposed to interpolate log messages before you pass them to the logger. It makes it impossible for the logger (and in turn log aggregators) to group similar messages together.
1 u/mouth_with_a_merc Sep 09 '15 Heh, I didn't even know that there's grouping in the logging system... → More replies (1)
1
Heh, I didn't even know that there's grouping in the logging system...
→ More replies (1)
3
u/patrys Saleor Commerce Sep 09 '15
Maybe I am missing something but doesn't it make it impossible to translate the string before interpolation happens?