> [Jeremy Hylton wrote] > > It seems quite plausible to decide to log an exception and > > then get another trivial exception raised and caught on the > > way to the logger. You would still want to log the original > > exception, so passing it explicitly is helpful sometimes. [Trent] > Yes, I suppose so. I'd like to call YAGNI on this. Also on the idea of being able to pass an exception to all logging levels. Also on the idea of passing the exc_info in rather than having the logger call sys.exc_info(). Instead, the logger should be subclassable or extensible so that Jeremy can implement this functionality if he really wants it. KISS. --Guido van Rossum (home page: http://www.python.org/~guido/)
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