google / ipaddr-py

Google's Python IP address manipulation library
Apache License 2.0
194 stars 71 forks source link

"ip_int=0L" variable have a extra string in ipaddr.py #120

Closed ushell closed 7 years ago

ushell commented 7 years ago

in ipaddr.py file 1480 lines:

# Now, parse the hextets into a 128-bit integer.
  ip_int = 0L

the variable "ip_int=0L" is wrong when python setup.py build, the right variable is "ip_int = 0" ?

mbward commented 7 years ago

Looks like this module doesn't support Python 3. There's a few other ways it would break too. I'll send a patch.

mbward commented 7 years ago

Wait, ghost already sent https://github.com/google/ipaddr-py/pull/118. I'll ping the maintainers...