[issue36392] IPv4Interface Object has no attributte prefixlen

2021-12-06 Thread Ken Jin
Ken Jin added the comment: The link to what Andrei is referring to: https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Network.prefixlen -- ___ Python tracker ___

[issue36392] IPv4Interface Object has no attributte prefixlen

2021-12-04 Thread Andrei Kulakov
Andrei Kulakov added the comment: The docs for current bugfix releases (3.9+) have clear links from the Interface class attribute `network` to the Network class which lists the `prefixlen` attribute. I don't think it can be made clearer - there's two ways to find it - either searching for

[issue36392] IPv4Interface Object has no attributte prefixlen

2021-06-25 Thread Václav Šmilauer
Václav Šmilauer added the comment: This one works: addr.network.prefixlen. It took me a while to find out; I find the documentation somewhat confusing in this point. -- nosy: +eudoxos ___ Python tracker

[issue36392] IPv4Interface Object has no attributte prefixlen

2019-03-21 Thread SilentGhost
Change by SilentGhost : -- nosy: +pmoody ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36392] IPv4Interface Object has no attributte prefixlen

2019-03-21 Thread Eddgar Rojas
New submission from Eddgar Rojas : The python the Class IPv4Interface on the ipaddress module when I try to use the .prefixlen attribute it says that do not exist but is i have access by using ._prefixlen if i have on the IPv4Interface class the .netmask attribute and the .nethost