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.
Showing
Please
register
or
sign in
to comment