On Sun, Sep 02, 2001 at 09:52:42PM -0400, Guido van Rossum wrote: > > I'm fine with a single option, but I'd like to note two things: we already > > have a command line option to turn on specific warnings, do we really need > > another ? > Yes, for efficiency reasons. A call to PyErr_Warn(), even if it > doesn't print anything, is very expensive (compared to a division): it > calls out to the warnings.py module which goes through a list of > filters etc., etc. Well, sure, but that says naught about not using the same *option*, just about not using the same framework :) It shouldn't be too hard to specialcase, say, -Wdiv. (or '-Wodiv' or '-Wtdiv', or whichever.) -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
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