Yury Selivanov added the comment: Had to regenerate the patch. Fixed some typos + now I use PyErr_WriteUnraisable if PyErr_WarnFormat returns non-zero.
And yeah, PendingDeprecationWarning is a better choice. ---------- Added file: http://bugs.python.org/file39444/gen_stop_warn.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24237> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com