New submission from Éric Araujo <mer...@netwok.org>:

Hello

The correct behavior of functools.total_ordering depends on a check performed 
with an assert. Attached patch changes it to a test that always runs.

Since it’s a kind of protocol error, I went for TypeError but you may disagree.

Regards

----------
components: Library (Lib)
files: remove-assert-in-total_ordering.diff
keywords: patch
messages: 102770
nosy: merwok, rhettinger
severity: normal
status: open
title: Remove assert in functools.total_ordering
type: behavior
versions: Python 2.7, Python 3.2
Added file: 
http://bugs.python.org/file16852/remove-assert-in-total_ordering.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8361>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to