[Python-Dev] Re: A warning switch?

Jack Jansen jack@oratrix.nl
Wed, 01 Mar 2000 13:34:42 +0100

> > What about adding a command-line switch for enabling warnings, as has
> > been suggested long ago?  The .append() change could then print a
> > warning in 1.6alphas (and betas?), but still run, and be turned into
> > an error later.
> That's better.  I propose that the warnings are normally on, and that
> there are flags to turn them off or thrn them into errors.

Can we then please have an interface to the "give warning" call (in stead of a 
simple fprintf)? On the mac (and possibly also in PythonWin) it's probably 
better to pop up a dialog (possibly with a "don't show again" button) than do 
a printf which may get lost.
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm