[New-bugs-announce] [issue23699] Add a macro to ease writing rich comparisons

Petr Viktorin report at bugs.python.org
Wed Mar 18 14:43:22 CET 2015


New submission from Petr Viktorin:

Rich comparison functions of many builtin types include a block of boilerplate which can be consolidated in a macro. The macro can be useful for third-party extensions as well as CPython itself.

See this e-mail for a longer write-up: https://mail.python.org/pipermail/python-ideas/2015-March/032564.html

----------
files: 0001-Define-Py_RICHCOMPARE-to-ease-writing-rich-compariso.patch
keywords: patch
messages: 238441
nosy: encukou
priority: normal
severity: normal
status: open
title: Add a macro to ease writing rich comparisons
type: enhancement
Added file: http://bugs.python.org/file38541/0001-Define-Py_RICHCOMPARE-to-ease-writing-rich-compariso.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23699>
_______________________________________


More information about the New-bugs-announce mailing list