A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-May/024156.html below:

[Python-Dev] PEP282 and the warnings framework

[Python-Dev] PEP282 and the warnings frameworkAahz aahz@pythoncraft.com
Thu, 16 May 2002 11:52:22 -0400
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