Oops. The value "0 or +1" for the category argument of PyErr_Warn()
doesn't work. Make it 0. (Although it really *should* be 0 or +1 -- the refcount is incremented when it is raised as an exception, but not otherwise.)
Showing
Please
register
or
sign in
to comment