]> granicus.if.org Git - python/commit
ipaddr cleanup for python 3.x:
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 2 May 2009 18:35:58 +0000 (18:35 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 2 May 2009 18:35:58 +0000 (18:35 +0000)
commit02953d244fdb2fe99853d2fe5db905df53c6596f
treef8aeeea9807ac47dfb4601d479fab53b881b448a
parentb83819f2912b7be618be35dc5c0bf911bd37220c
ipaddr cleanup for python 3.x:
* Get rid of __hex__.
* Support bytearray as well as bytes.
* Don't double test for integer input.
Lib/ipaddr.py