BIND 10 #314: better name than libdns_python
BIND 10 Development
do-not-reply at isc.org
Wed Aug 18 21:55:58 UTC 2010
#314: better name than libdns_python
---------------------------+------------------------------------------------
Reporter: jinmei | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: y2 6 month milestone
Component: Unclassified | Keywords:
Sensitive: 0 | Estimatedhours: 0
Hours: 0 | Billable: 1
Totalhours: 0 | Internal: 0
---------------------------+------------------------------------------------
Our python loadable modules are named libXXX_python (specifically,
libdns_python and libxfr_python). The naming is a bit awkward in some
points:
- libXXX doesn't seem to be common for python modules
- the "_python" suffix is redundant
Since they are a wrraper of some C++ libraries, a simple and probably the
best naming is to derive it from the C++ library name removing the "lib"
prefix. e.g., for libdns++.so, just say dns++.
Unfortunately the python interpreter doesn't seem to be happy with the
syntax "++", however. Plain "dns" is not a good candidate either, because
dnspython already uses it.
In any case it'd be better to give them better names. Some possibilities:
- dnsypp (pycryptopp, a crypto++ wrapper, takes the same approach)
- pydnspp (basically the same idea as the first one)
- dnsplusplus
--
Ticket URL: <http://bind10.isc.org/ticket/314>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list