Commit Graph

3 Commits

Author SHA1 Message Date
Gregory P. Smith 02953d244f ipaddr cleanup for python 3.x:
* Get rid of __hex__.
* Support bytearray as well as bytes.
* Don't double test for integer input.
2009-05-02 18:35:58 +00:00
Benjamin Peterson b83819f291 make py3k compat code explicitly on 2009-05-02 18:10:37 +00:00
Gregory P. Smith e54dff5e63 Merged revisions 72173 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72173 | gregory.p.smith | 2009-05-01 12:59:52 -0700 (Fri, 01 May 2009) | 5 lines

  Adds the ipaddr module to the standard library.  Issue #3959.
  Based off of subversion r69 from http://code.google.com/p/ipaddr-py/

  This code is 2to3 safe, I'll merge it into py3k later this afternoon.
........
2009-05-01 22:13:48 +00:00