New submission from Antoine Pitrou <pit...@free.fr>:

This small test file exhibits the issue. When @total_ordering is not applied, 
the '<' operator raises TypeError as expected. When @total_ordering is applied, 
there is an infinite recursion error.

----------
components: Library (Lib)
files: totbug.py
messages: 142558
nosy: ncoghlan, pitrou, rhettinger
priority: normal
severity: normal
status: open
title: total_ordering goes into infinite recursion when NotImplemented is 
returned
type: behavior
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file22967/totbug.py

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

Reply via email to