summaryrefslogtreecommitdiff
path: root/lib/pool.py
Commit message (Collapse)AuthorAgeFilesLines
* Use an import style reported not broken on Python 3.6Daniele Varrazzo2017-06-171-1/+1
| | | | Couldn't reproduce the issue but it has been documented in #550.
* Python source cleanup using flake8Daniele Varrazzo2016-10-111-16/+22
|
* Fixed PersistentConnectionPool on Python 3Daniele Varrazzo2015-10-011-2/+2
| | | | Fixes ticket #348.
* Correct exausted -> exhausted typoErik Lee2014-11-171-1/+1
|
* Convert pool arguments to intDaniele Varrazzo2014-08-131-2/+2
| | | | | | | Failing to do so may cause dangerous misbehaviours such as an unbounded pool (because of lame comparison operators in Python 2). Fix ticket #220.
* Merge branch 'dead-bytes' into develDaniele Varrazzo2013-03-161-24/+0
|\
| * Dropped configuration of unused logger inside the pool moduleDaniele Varrazzo2012-12-031-24/+0
| |
* | Added specific pool implementation for ZPsycopgDADaniele Varrazzo2012-12-041-0/+4
|/ | | | | | | | | | | The implementation is based on psycopg 2.4, which should be less broken (zope-wise) of the current one. Instantiating psycopg2.pool.PersistentConnectionPool now raises a warning. This should fix ticket #123, #125. The issue of the reset on set_client_encoding() is still present but that's always been there and I'm no good at fixing it.
* Check the connection status before putting back into the poolDaniele Varrazzo2011-08-091-1/+16
| | | | | | Rollback connections in transaction or in error. Discard broken connections. Closes ticket #62.
* Raise PoolError when putting a connection not belonging to the poolDaniele Varrazzo2011-08-091-1/+1
| | | | A KeyError was raised instead.
* Some light cleanup for Py3 conversion.Daniele Varrazzo2010-12-211-1/+1
| | | | Either flagged as warning by python2.6 -3 or converted by 2to3.
* Dropped logging.basicConfig() call.Daniele Varrazzo2010-07-091-3/+0
| | | | | It messes up with projects using logging but where no handler is installed on the root logger. Bug reported by Joe Abbate.
* Use the default role for cross referencing Python objects.Daniele Varrazzo2010-02-261-1/+1
|
* Added documentation for the 'pool' module.Daniele Varrazzo2010-02-261-2/+2
|
* Changes license to LGPL3 + OpenSSL exception on all source filesFederico Di Gregorio2010-02-121-9/+17
|
* Removed spurious printFederico Di Gregorio2009-03-161-1/+0
|
* Logging patch from Charlie.Federico Di Gregorio2006-09-011-0/+16
|
* Various pool changes.Federico Di Gregorio2005-10-191-3/+39
|
* Indentation fixes.Federico Di Gregorio2005-09-301-8/+8
|
* piro pool.py patch.Federico Di Gregorio2005-09-241-17/+17
|
* psycopg->psycopg2 fixes.Federico Di Gregorio2005-09-121-8/+4
|
* License changes. Fixes. Added register_adapter().Federico Di Gregorio2005-01-201-0/+4
|
* Initial psycopg 2 import after SVN crash.Federico Di Gregorio2004-10-191-0/+184