New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipaddress.ip_{address,network,interface} raises TypeError instead of ValueError if given a tuple as address #90573
Comments
TypeError Traceback (most recent call last)
<ipython-input-7-7fc0bff07012> in <module>
----> 1 ipaddress.ip_network(("192.168.100.0", "fooo"))
Compared to:
NetmaskValueError Traceback (most recent call last)
<ipython-input-8-79078758e653> in <module>
----> 1 ipaddress.IPv4Network(("192.168.100.0", "foo"))
|
thomascellerier
mannequin
added
3.8
only security fixes
stdlib
Python modules in the Lib dir
type-bug
An unexpected behavior, bug, or error
labels
Jan 17, 2022
thomascellerier
mannequin
changed the title
ipaddress.ip_{address,network,interface} raise TypeError instead of ValueError if given a tuple as address
ipaddress.ip_{address,network,interface} raises TypeError instead of ValueError if given a tuple as address
Jan 17, 2022
thomascellerier
mannequin
changed the title
ipaddress.ip_{address,network,interface} raise TypeError instead of ValueError if given a tuple as address
ipaddress.ip_{address,network,interface} raises TypeError instead of ValueError if given a tuple as address
Jan 17, 2022
Duplicate of bpo-46141. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: