[issue32820] Add binary methods to ipaddress

2018-02-11 Thread Eric Osborne
Eric Osborne added the comment: test_not_an_index_issue15559() disallows __index__, so nevermind. Will resubmit without __index__ to get the full binary string, though. -- resolution: -> rejected ___ Python tracker

[issue32820] Add binary methods to ipaddress

2018-02-11 Thread Eric Osborne
New submission from Eric Osborne : This issue adds two things to the ipaddress lib: * an __index__ method to allow bin(), oct(), hex() to work * a property method to get the fully padded (32-bit or 128-bit) address as a string -- components: Library (Lib) messages: 311997 nosy: ewosbor