Issue 30903: IPv4Network's hostmask attribute doesn't returns string value as mentioned in Documentation. (original) (raw)
Issue30903
Created on 2017-07-11 12:39 by Abhijit Mamarde, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Files |
|
|
|
File name |
Uploaded |
Description |
Edit |
ipaddress_doc_bug.py |
Abhijit Mamarde,2017-07-11 12:39 |
testcase/script to show the issue. |
|
Messages (2) |
|
|
msg298153 - (view) |
Author: Abhijit Mamarde (Abhijit Mamarde) |
Date: 2017-07-11 12:39 |
documentation mentions hostmask attribute of IPv4Network class returns a `string`, but in actual it is returning the object of class IPv4Address URL to official doc: https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Network.hostmask PFA program file to show the actual issue. |
|
|
msg338563 - (view) |
Author: Cheryl Sabella (cheryl.sabella) *  |
Date: 2019-03-21 19:18 |
Thank you for the report. This was fixed as part of PR6021. There was no bpo ticket for that pull request. |
|
|
History |
|
|
|
Date |
User |
Action |
Args |
2022-04-11 14:58:48 |
admin |
set |
github: 75086 |
2019-03-21 19🔞21 |
cheryl.sabella |
set |
status: open -> closednosy: + cheryl.sabellamessages: + resolution: fixedstage: resolved |
2017-07-11 12:39:42 |
Abhijit Mamarde |
create |
|