Opened 9 years ago
Closed 9 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 , 9 years ago
| Has patch: | set |
|---|
comment:2 by , 9 years ago
| Summary: | Use the new ipaddress module for IP validation → Use Python's ipaddress module for IP validation |
|---|---|
| Triage Stage: | Unreviewed → Ready for checkin |
comment:3 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 277a4dd4: