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> 2004-12-10 Federico Di Gregorio <fog@debian.org>
* psycopg/cursor_type.c: now *all* write or async accesses to the * psycopg/cursor_type.c: now *all* write or async accesses to the

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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