commit | 0bba7f83f2e04652e074acd918c2966c42f77af1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Feb 28 21:55:38 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Feb 28 21:55:38 2001 +0000 |
tree | 0d16b0b31a92052b3327e312a00113b799fdca5d | |
parent | 9da7f3b4f44eb4e2c9782f9f73da5e46dc1b9f96 [diff] |
Use the new PyErr_WarnExplicit() API to issue better warnings for global after assign / use. Note: I'm not updating the PyErr_Warn() call for import * / exec combined with a function, because I can't trigger it with an example. Jeremy, just follow the example of the call to PyErr_WarnExplicit() that I *did* include.