Gregor Hoffleit <[EMAIL PROTECTED]> writes: [Python warning messages]
> Could you mail an example of such a message ? y = None def fun(): y = None def bar(): y bar() fun() results in: <file>:2: SyntaxWarning: local name 'y' in 'fun' shadows use of 'y' as global in nested scope 'bar' def fun(): There are probably other kinds of warnings; PyErr_Warn is called in a number of places. Python 2.1 provides a mechanism to switch off warnings (the 'warnings' module, don't ask me about details :-/), but by default, they are printed to stderr.