commit | e0c3f5edc0f20cc28363258df501758c1bdb1ca7 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Sun Aug 05 18:20:17 2012 +1000 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Sun Aug 05 18:20:17 2012 +1000 |
tree | 641a52e5a0df70f91db0d7057e6680d1f286f662 | |
parent | 37d3ff14871a25429fb93167aeace0589be45426 [diff] |
Close #15559: Implementing __index__ creates a nasty interaction with the bytes constructor. At least for 3.3, ipaddress objects must now be explicitly converted with int() and thus can't be passed directly to the hex() builtin.