Opened 8 years ago

Closed 8 years ago

#27793 closed Cleanup/optimization (fixed)

Use Python's ipaddress module for IP validation

Reported by: Claude Paroz Owned by: nobody
Component: Utilities Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Python 3.4 and up have a new ipaddress module that we could use to replace the validation code in IP address validators.
https://docs.python.org/3/library/ipaddress.html

Change History (3)

comment:1 by Claude Paroz, 8 years ago

Has patch: set

comment:2 by Tim Graham, 8 years ago

Summary: Use the new ipaddress module for IP validationUse Python's ipaddress module for IP validation
Triage Stage: UnreviewedReady for checkin

comment:3 by Claude Paroz <claude@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 277a4dd4:

Fixed #27793 -- Used stdlib's ipaddress module to validate IP addresses

Thanks Tim Graham for the review.

Note: See TracTickets for help on using tickets.
Back to Top