[New-bugs-announce] [issue15530] Enhance Py_MIN and Py_MAX

STINNER Victor report at bugs.python.org
Wed Aug 1 20:19:55 CEST 2012

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list