Re: [Python-Dev] format specification mini-language docs...

2008-11-25 Thread Eric Smith
Dino Viehland wrote: Finally providing any sign character seems to cause +1.0#INF and friends to be returned instead of inf as is documented: 10e667.__format__('+') '+1.0#INF' 10e667.__format__('') 'inf' Are these just doc bugs? The inf issue is the only one that seems particularly we

Re: [Python-Dev] Redirecting warnings.showwarning to logging

2008-11-25 Thread Vinay Sajip
Based on feedback here, I have a slightly revised proposal. Scott makes the point that if the file parameter passed in to showwarning is not None, the caller may be trying to extract output formatting. So, it's not enough just to assign warnings.showwarning = logging.showwarning, since access to th