[New-bugs-announce] [issue28767] Readd __index__ support on ipaddress objects

Josh Rosenberg report at bugs.python.org
Mon Nov 21 12:40:40 EST 2016


New submission from Josh Rosenberg:

It looks like, due to #16722, in #15559, __index__ was removed from ipaddress objects. #16722 was fixed a few months later, but the comments asking for it to be readded were put on a closed issue, so no one noticed.

Can __index__ support be readded now? Should be as simple as undoing https://hg.python.org/cpython/rev/5abea8a43f19 (probably manually, assuming the subsequent history would make a direct rollback nonfeasible).

Nosying the folks involved in fixing the original bugs.

----------
messages: 281384
nosy: benjamin.peterson, josh.r, ncoghlan
priority: normal
severity: normal
status: open
title: Readd __index__ support on ipaddress objects
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list