Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Dropped PSYCOPG_NEW_BOOLEAN flag | Daniele Varrazzo | 2014-08-24 | 1 | -9/+0 |
| | | | | | | | Introduced in 2.0 beta 8, 2006 A.D. Went absolutely untouched in 8 years of refactoring, when Python 2.5 and PostgreSQL 8.1 roamed the earth. I would say it has stood the test of the time. | ||||
* | Dropped simple type wrapper functions | Daniele Varrazzo | 2014-08-15 | 1 | -14/+0 |
| | | | | | These functions don't need to exist: exposing the type in the module is enough. It is actually better as one may use isinstance and such. | ||||
* | Dropped almost-no-op customized objects repr() | Daniele Varrazzo | 2014-08-15 | 1 | -8/+1 |
| | | | | | | | | The default repr is enough: it prints <TypeName at 0xADDR> instead of <TypeName object at 0xADDR>. The only people being hurt by this change are the ones using doctests: they deserve it. | ||||
* | Name the types after the module they are exposed from | Daniele Varrazzo | 2014-08-15 | 1 | -2/+2 |
| | |||||
* | Dropped GC support for several objects | Daniele Varrazzo | 2013-04-05 | 1 | -11/+2 |
| | | | | | | Non-containers don't need GC. It was half-baked anyway as the tp_clear was often not set. Dropped tp_traverse too for these objects as unused. | ||||
* | PyType_GenericAlloc is the default allocator: no need to specify | Daniele Varrazzo | 2013-03-20 | 1 | -1/+1 |
| | |||||
* | Dropped "customized" pg_free functions | Daniele Varrazzo | 2013-03-20 | 1 | -29/+1 |
| | | | | The defaut is already to call PyObject_GC_Del. | ||||
* | Fixed adaptation in several adapters. | Daniele Varrazzo | 2010-12-31 | 1 | -7/+7 |
| | | | | | The getquoted methods always return bytes. The str() convert this representation to string on the fly. | ||||
* | The library can be compiled with Python 3. | Daniele Varrazzo | 2010-12-21 | 1 | -4/+4 |
| | | | | | | | | | Just compiled! No test run yet and many points to review, marked in the code. The patch is largely Martin von Löwis work, simplified after refactoring in the previous commits and adapted to the new code (as the patch was originally for Psycopg 2.0.9) | ||||
* | Import structmember/stringobject headers from python.h. | Daniele Varrazzo | 2010-12-21 | 1 | -2/+0 |
| | | | | stringobject is not to be imported with Python 3. | ||||
* | Using PyVarObject_HEAD_INIT macro. | Daniele Varrazzo | 2010-12-21 | 1 | -2/+1 |
| | |||||
* | Using Py_TYPE and Py_REFCNT macros. | Daniele Varrazzo | 2010-12-21 | 1 | -4/+4 |
| | |||||
* | Changed Python const RO -> READONLY. | Daniele Varrazzo | 2010-12-12 | 1 | -1/+1 |
| | |||||
* | Internal imports simplified. | Daniele Varrazzo | 2010-12-12 | 1 | -8/+5 |
| | | | | | | | | | | .c files only need to import psycopg.h: it will in turn import dependencies from Python and libpq and configure.h. psycopg.h should be the first to be imported, so the basic imports are not required in the .h's As a guideline I'm trying to import from the most specific to the most generic to detect missing imports in the .h's. | ||||
* | Dropped PyArg_ParseTuple() calls in functions taking no arguments. | Daniele Varrazzo | 2010-11-09 | 1 | -2/+1 |
| | |||||
* | Replaced PyObject_CallFunction() with *ObjArgs() where more efficient. | Daniele Varrazzo | 2010-11-09 | 1 | -1/+1 |
| | |||||
* | Changes license to LGPL3 + OpenSSL exception on all source files | Federico Di Gregorio | 2010-02-12 | 1 | -12/+16 |
| | |||||
* | Use Py_CLEAR() in a few more places, and do INCREF's before setting | James Henstridge | 2008-07-21 | 1 | -2/+2 |
| | | | | struct members rather than afterwards. | ||||
* | * psycopg/adapter_qstring.c (qstring_traverse): add cyclic GC | James Henstridge | 2008-07-18 | 1 | -3/+12 |
| | | | | | | | | | | | | | traversal for quoted string adapters. * psycopg/adapter_pboolean.c (pboolean_traverse): add cyclic GC traversal for boolean adapters. * psycopg/adapter_mxdatetime.c (mxdatetime_traverse): add cyclic GC traversal for mxdatetime adapters. * psycopg/adapter_datetime.c (pydatetime_traverse): add cyclic GC traversal for datetime adapters. | ||||
* | * psycopg/typecast_array.c (typecast_array_scan): set an initial | James Henstridge | 2008-01-13 | 1 | -2/+2 |
| | | | | | | value for quotes to keep gcc happy. * psycopg/*.c: add missing static modifier on many functions. | ||||
* | Fixed both Python 2.5 and 64 bit problems. | Federico Di Gregorio | 2007-04-10 | 1 | -20/+27 |
| | |||||
* | Boolean fix for arrays. | Federico Di Gregorio | 2006-04-24 | 1 | -0/+9 |
| | |||||
* | Code cleanup. | Federico Di Gregorio | 2005-10-18 | 1 | -3/+4 |
| | |||||
* | mingw patch from Daniele Varazzo. | Federico Di Gregorio | 2005-04-10 | 1 | -1/+1 |
| | |||||
* | Added __conform__ to all adapters (typos excluded.) | Federico Di Gregorio | 2005-03-03 | 1 | -1/+1 |
| | |||||
* | Added __conform__ to all adapters. | Federico Di Gregorio | 2005-03-03 | 1 | -7/+12 |
| | |||||
* | Adaptation fixes (a lot.) | Federico Di Gregorio | 2005-02-28 | 1 | -2/+2 |
| | |||||
* | Renaming types. | Federico Di Gregorio | 2004-12-13 | 1 | -1/+1 |
| | |||||
* | Initial psycopg 2 import after SVN crash. | Federico Di Gregorio | 2004-10-19 | 1 | -0/+223 |