Renaming types.

This commit is contained in:
Federico Di Gregorio 2004-12-13 14:29:42 +00:00
parent 1b74bb897f
commit 06ef93271a
9 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2004-12-14 Federico Di Gregorio <fog@debian.org>
* psycopg/*.c: changed the names of most of the psycopg's built-in
types to replect their position in the psycopg._psycopg module.
2004-12-10 Federico Di Gregorio <fog@debian.org>
* psycopg/cursor_type.c: now *all* write or async accesses to the

View File

@ -263,7 +263,7 @@ binary_repr(binaryObject *self)
PyTypeObject binaryType = {
PyObject_HEAD_INIT(NULL)
0,
"psycopg.Binary",
"psycopg._psycopg.Binary",
sizeof(binaryObject),
0,
binary_dealloc, /*tp_dealloc*/

View File

@ -181,7 +181,7 @@ pydatetime_repr(pydatetimeObject *self)
PyTypeObject pydatetimeType = {
PyObject_HEAD_INIT(NULL)
0,
"psycopg.datetime",
"psycopg._psycopg.datetime",
sizeof(pydatetimeObject),
0,
pydatetime_dealloc, /*tp_dealloc*/

View File

@ -157,7 +157,7 @@ mxdatetime_repr(mxdatetimeObject *self)
PyTypeObject mxdatetimeType = {
PyObject_HEAD_INIT(NULL)
0,
"psycopg.MxDateTime",
"psycopg._psycopg.MxDateTime",
sizeof(mxdatetimeObject),
0,
mxdatetime_dealloc, /*tp_dealloc*/

View File

@ -148,7 +148,7 @@ pboolean_repr(pbooleanObject *self)
PyTypeObject pbooleanType = {
PyObject_HEAD_INIT(NULL)
0,
"psycopg.Boolean",
"psycopg._psycopg.Boolean",
sizeof(pbooleanObject),
0,
pboolean_dealloc, /*tp_dealloc*/

View File

@ -280,7 +280,7 @@ qstring_repr(qstringObject *self)
PyTypeObject qstringType = {
PyObject_HEAD_INIT(NULL)
0,
"psycopg.QuotedString",
"psycopg._psycopg.QuotedString",
sizeof(qstringObject),
0,
qstring_dealloc, /*tp_dealloc*/

View File

@ -335,7 +335,7 @@ connection_repr(connectionObject *self)
PyTypeObject connectionType = {
PyObject_HEAD_INIT(NULL)
0,
"psycopg.connection",
"psycopg._psycopg.connection",
sizeof(connectionObject),
0,
connection_dealloc, /*tp_dealloc*/

View File

@ -1174,7 +1174,7 @@ cursor_repr(cursorObject *self)
PyTypeObject cursorType = {
PyObject_HEAD_INIT(NULL)
0,
"psycopg.cursor",
"psycopg._psycopg.cursor",
sizeof(cursorObject),
0,
cursor_dealloc, /*tp_dealloc*/

View File

@ -154,7 +154,7 @@ isqlquote_del(PyObject* self)
PyTypeObject isqlquoteType = {
PyObject_HEAD_INIT(NULL)
0,
"psycopg.ISQLQuote",
"psycopg._psycopg.ISQLQuote",
sizeof(isqlquoteObject),
0,
isqlquote_dealloc, /*tp_dealloc*/