Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 escape for negative numbers prefixed by minus operator | Daniele Varrazzo | 2011-05-30 | 1 | -3/+22 |
| | | | | Closes ticket #57. | ||||
* | Add negative infinity support for Python->pg conversion | Marti Raudsepp | 2011-02-12 | 1 | -2/+6 |
| | |||||
* | Fixed adaptation in several adapters. | Daniele Varrazzo | 2010-12-31 | 1 | -7/+20 |
| | | | | | 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 | -2/+2 |
| | | | | | | | | | 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 | -1/+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 |
| | |||||
* | Fixed float loss of precision | Federico Di Gregorio | 2009-11-09 | 1 | -1/+1 |
| | |||||
* | Added adapter to handle float('inf') and float('nan') | Federico Di Gregorio | 2009-01-23 | 1 | -0/+246 |