h0arry / ipaddr-py

Automatically exported from code.google.com/p/ipaddr-py
0 stars 0 forks source link

'module' object has no attribute 'IPv4' #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
despite what the wiki is saying (and the python doc), ipaddr has no
attribute IPv4.
Is there a replacement for that purpose ?

> What version of the product are you using? On what operating system?

svn r127

>>> import ipaddr
>>> addr = ipaddr.IPv4('1.1.1.1/255.255.255.0')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'IPv4'

Original issue reported on code.google.com by mathieu.geli on 30 Nov 2009 at 3:16

GoogleCodeExporter commented 9 years ago
hey, sorry for not seeing this earlier. You're right, the documentation on the 
exampleusage page is for the 1.x version of the library. It's undergone a major 
re-
write and I never actually updated the wiki documentation.

Original comment by pmo...@google.com on 17 Dec 2009 at 6:46

GoogleCodeExporter commented 9 years ago
closing out old bugs. this documentation is slowing being updated.

Original comment by pmo...@google.com on 15 Jun 2010 at 2:15