New submission from STINNER Victor: Attached patch enhances Py_MIN and Py_MAX to check that types of both arguments are compatible at compile time. Checks are only done if the compiler is GCC.
The patch uses also Py_MIN and Py_MAX in more places. (The commit may be done in two parts.) ---------- components: Interpreter Core files: py_min_max.patch keywords: patch messages: 167161 nosy: haypo priority: normal severity: normal status: open title: Enhance Py_MIN and Py_MAX versions: Python 3.3 Added file: http://bugs.python.org/file26651/py_min_max.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15530> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com