BIND 10 trac915, updated. ac2e283bd92dcc5af494938d6cfed82e4074abde [trac915] and one more minor cleanup: use "pydnspp." prefix instead of deprecated "libdns_python." for fully qualified class names. also updated the template .cc file accordingly.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri May 13 23:21:11 UTC 2011


The branch, trac915 has been updated
       via  ac2e283bd92dcc5af494938d6cfed82e4074abde (commit)
      from  7a6f36fc9073def2a531a4090b97d223d5a5c69d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ac2e283bd92dcc5af494938d6cfed82e4074abde
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri May 13 16:20:23 2011 -0700

    [trac915] and one more minor cleanup: use "pydnspp." prefix instead of
    deprecated "libdns_python." for fully qualified class names.
    also updated the template .cc file accordingly.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dns/python/edns_python.cc       |    2 +-
 src/lib/dns/python/tsig_python.cc       |    2 +-
 src/lib/dns/python/tsig_rdata_python.cc |    2 +-
 src/lib/dns/python/tsigerror_python.cc  |    2 +-
 src/lib/dns/python/tsigkey_python.cc    |    4 ++--
 src/lib/dns/python/tsigrecord_python.cc |    2 +-
 src/lib/util/python/wrapper_template.cc |    2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/python/edns_python.cc b/src/lib/dns/python/edns_python.cc
index 0442cee..83c3bfa 100644
--- a/src/lib/dns/python/edns_python.cc
+++ b/src/lib/dns/python/edns_python.cc
@@ -108,7 +108,7 @@ PyMethodDef EDNS_methods[] = {
 // Most of the functions are not actually implemented and NULL here.
 PyTypeObject edns_type = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "libdns_python.EDNS",
+    "pydnspp.EDNS",
     sizeof(s_EDNS),                     // tp_basicsize
     0,                                  // tp_itemsize
     (destructor)EDNS_destroy,           // tp_dealloc
diff --git a/src/lib/dns/python/tsig_python.cc b/src/lib/dns/python/tsig_python.cc
index 8554887..464b84e 100644
--- a/src/lib/dns/python/tsig_python.cc
+++ b/src/lib/dns/python/tsig_python.cc
@@ -252,7 +252,7 @@ PyObject* po_TSIGContextError;
 // Most of the functions are not actually implemented and NULL here.
 PyTypeObject tsigcontext_type = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "libdns_python.TSIGContext",
+    "pydnspp.TSIGContext",
     sizeof(s_TSIGContext),                 // tp_basicsize
     0,                                  // tp_itemsize
     reinterpret_cast<destructor>(TSIGContext_destroy),       // tp_dealloc
diff --git a/src/lib/dns/python/tsig_rdata_python.cc b/src/lib/dns/python/tsig_rdata_python.cc
index be97e9d..4e4f287 100644
--- a/src/lib/dns/python/tsig_rdata_python.cc
+++ b/src/lib/dns/python/tsig_rdata_python.cc
@@ -290,7 +290,7 @@ namespace python {
 // Most of the functions are not actually implemented and NULL here.
 PyTypeObject tsig_type = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "libdns_python.TSIG",
+    "pydnspp.TSIG",
     sizeof(s_TSIG),                 // tp_basicsize
     0,                                  // tp_itemsize
     reinterpret_cast<destructor>(TSIG_destroy),       // tp_dealloc
diff --git a/src/lib/dns/python/tsigerror_python.cc b/src/lib/dns/python/tsigerror_python.cc
index 09de2a4..e7f302a 100644
--- a/src/lib/dns/python/tsigerror_python.cc
+++ b/src/lib/dns/python/tsigerror_python.cc
@@ -235,7 +235,7 @@ namespace python {
 // Most of the functions are not actually implemented and NULL here.
 PyTypeObject tsigerror_type = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "libdns_python.TSIGError",
+    "pydnspp.TSIGError",
     sizeof(s_TSIGError),                 // tp_basicsize
     0,                                  // tp_itemsize
     reinterpret_cast<destructor>(TSIGError_destroy),       // tp_dealloc
diff --git a/src/lib/dns/python/tsigkey_python.cc b/src/lib/dns/python/tsigkey_python.cc
index 04556f7..875a2c1 100644
--- a/src/lib/dns/python/tsigkey_python.cc
+++ b/src/lib/dns/python/tsigkey_python.cc
@@ -184,7 +184,7 @@ namespace python {
 // Most of the functions are not actually implemented and NULL here.
 PyTypeObject tsigkey_type = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "libdns_python.TSIGKey",
+    "pydnspp.TSIGKey",
     sizeof(s_TSIGKey),                  // tp_basicsize
     0,                                  // tp_itemsize
     (destructor)TSIGKey_destroy,        // tp_dealloc
@@ -418,7 +418,7 @@ namespace dns {
 namespace python {
 PyTypeObject tsigkeyring_type = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "libdns_python.TSIGKeyRing",
+    "pydnspp.TSIGKeyRing",
     sizeof(s_TSIGKeyRing),              // tp_basicsize
     0,                                  // tp_itemsize
     (destructor)TSIGKeyRing_destroy,    // tp_dealloc
diff --git a/src/lib/dns/python/tsigrecord_python.cc b/src/lib/dns/python/tsigrecord_python.cc
index e84d444..120ae7b 100644
--- a/src/lib/dns/python/tsigrecord_python.cc
+++ b/src/lib/dns/python/tsigrecord_python.cc
@@ -212,7 +212,7 @@ namespace python {
 // Most of the functions are not actually implemented and NULL here.
 PyTypeObject tsigrecord_type = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "libdns_python.TSIGRecord",
+    "pydnspp.TSIGRecord",
     sizeof(s_TSIGRecord),                 // tp_basicsize
     0,                                  // tp_itemsize
     reinterpret_cast<destructor>(TSIGRecord_destroy),       // tp_dealloc
diff --git a/src/lib/util/python/wrapper_template.cc b/src/lib/util/python/wrapper_template.cc
index 3b9d9e9..691e4bf 100644
--- a/src/lib/util/python/wrapper_template.cc
+++ b/src/lib/util/python/wrapper_template.cc
@@ -210,7 +210,7 @@ namespace python {
 // Most of the functions are not actually implemented and NULL here.
 PyTypeObject @cppclass at _type = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "libdns_python. at CPPCLASS@",
+    "pydnspp. at CPPCLASS@",
     sizeof(s_ at CPPCLASS@),                 // tp_basicsize
     0,                                  // tp_itemsize
     reinterpret_cast<destructor>(@CPPCLASS at _destroy),       // tp_dealloc




More information about the bind10-changes mailing list