[New-bugs-announce] [issue20973] Implement proper comparison operations for in _TotalOrderingMixin in ipaddres module.

Auke Willem Oosterhoff report at bugs.python.org
Tue Mar 18 21:54:29 CET 2014


New submission from Auke Willem Oosterhoff:

The comparison methods of _TotalOrderingMixin don't have nice implementation. Some of them raises a NotImplementedError. A few aren't covered in the tests. The comment suggests that these methods has been implemented this way because of issue 10042 which has been fixed. 

[1]:http://hg.python.org/cpython/file/f8b40d33e45d/Lib/ipaddress.py#l396
[2]:http://bugs.python.org/issue10042

----------
components: Library (Lib)
messages: 214017
nosy: OrangeTux, ncoghlan
priority: normal
severity: normal
status: open
title: Implement proper comparison operations for in _TotalOrderingMixin in ipaddres module.
type: enhancement
versions: Python 3.5

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


More information about the New-bugs-announce mailing list