On Thu, May 16, 2002, holger krekel wrote: > Aahz wrote: >> On Thu, May 16, 2002, holger krekel wrote: >>> Kevin Butler wrote: >>>> >>>> If I have a choice between writing: >>>> >>>> log.debug( >>>> "HOME environment variable set to non-existent directory %s", >>>> homedir >>>> ) >>> >>> with the mapping in my previous posting you would write >>> >>> log.debug( >>> "HOME environment variable set to non-existent directory " + homedir >>> ) >> >> There is no difference between these two. > > that was my implicit argument (that you don't loose convenience). > thanks for making it explicit :-) Whoops. I just realized that I misread the "," in the first example for a "%". Never mind, I should just stay out of this thread, but before I leave, I have to say that my esthetic sense prefers the class-based logging levels. I doubt it will make much practical difference, though. -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ "In the end, outside of spy agencies, people are far too trusting and willing to help." --Ira Winkler
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