BIND 10 #944: some generalized checks
BIND 10 Development
do-not-reply at isc.org
Thu May 19 10:46:44 UTC 2011
#944: some generalized checks
-------------------------------------+-------------------------------------
Reporter: jelte | Owner:
Type: task | Status: new
Priority: major | Milestone: New
Component: Unclassified | Tasks
Sensitive: 0 | Keywords:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
we don't really have a python util afaik, but we could use some general
set of checks (for instance that an integer is a valid port number, that a
string represent a valid domain name, etc.); from #811:
"this makes me think that maybe we do need a set of generalized check-
calls like is_valid_port_number, etc. Preferably ones that do not raise,
but do convert to specific type if necessary (and do provide the error if
they can't)"
having a good place to put these and a somewhat general interface for this
is more important than providing a complete set of specific checks, we can
add them as we encounter the need for them later
--
Ticket URL: <http://bind10.isc.org/ticket/944>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list