Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

It may seem pointless, but it takes less than a minute to do it and it would be 
both faster and clearer to do it manually.  There's a limit to how much 
implicit code generation can or should be done automatically.  

Also, I'm not too keen on the feature creep, or having the tool grow in 
complexity (making it harder to understand what it actually does).  I would 
also be concerned about subtly changing the semantics for code that may already 
be using total_ordering -- the proposed change is probably harmless in most 
cases with only a minor performance hit, but it might break some code that 
currently works. 

BTW, in Py3.x you get __ne__ for free whenever __eq__ is supplied.

----------
title: total_ordering stack overflow -> total_ordering
type: behavior -> feature request
versions: +Python 3.3 -Python 2.7

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

Reply via email to