Daniele Varrazzo
a201307185
Avoid printing the typecast name in debug statement
...
The way we were doing it is unsafe and causes assertion failures on Py3.
Fixes ticket #188
2014-04-04 19:26:35 +01:00
Daniele Varrazzo
cefef286a6
Fixed use of Python object with refcount 0 in cursor_init
...
Caused segfault running test_cursor.CursorTests.test_invalid_name under
Python 3.4 built in debug mode.
2014-04-04 19:26:34 +01:00
Daniele Varrazzo
df7018a5d4
Work around pip issue #1630 breaking 'pip -e git+url'
...
https://github.com/pypa/pip/issues/1630
Fixes ticket #18 (opened in 2010!)
2014-04-04 17:57:35 +01:00
Daniele Varrazzo
25ae646dcf
Fixed bug number typo in NEWS file
2014-04-03 02:45:22 +01:00
Daniele Varrazzo
2245b56dc1
Fixed overflow opening a lobject with an oid not fitting in a signed int
...
Fixes 🎫 `203`.
2014-04-03 02:35:46 +01:00
Daniele Varrazzo
65fbe9159a
Fixed dsn and closed attributes in failing connection subclasses.
...
From ticket #192 discussion.
2014-04-03 01:41:19 +01:00
Daniele Varrazzo
d6da4ed09f
Don't segfault on uninitialized cursor
...
It can happen with bad cursor subclasses not calling super's init. Raise
an exception instead of segfaulting.
Closes #195
2014-02-26 19:42:29 +00:00
Daniele Varrazzo
e840e00278
Bug #194 confirmed fixed: newsfile updated.
2014-02-24 15:15:54 +00:00
Daniele Varrazzo
0e86fc164f
Mention Range order in the news file
2014-02-22 23:06:03 +00:00
Daniele Varrazzo
9ac01d060d
Fixed debug build on Windows
...
Patches on master by James Emerton, from github pull request #8 .
2014-01-14 21:56:36 +00:00
Daniele Varrazzo
7e9e11ee27
Check connection type in lobject init
...
Fixes ticket #187 .
2013-11-27 12:42:57 +00:00
Daniele Varrazzo
09cf64dda4
Meaningful connection errors report a meaningful message
...
Fixes issue #173 .
2013-10-16 15:28:16 +01:00
Daniele Varrazzo
0e08fbb20b
Fixed pickling of exceptions with no pgerror/pgcode set
...
Fixes ticket #170 .
2013-07-19 16:05:48 +01:00
Daniele Varrazzo
96248d0f09
Fixed titles in newsfile
...
The first title at the same level of the main releases helps getting a
more regular ToC in the docs main page.
2013-07-19 15:54:35 +01:00
Daniele Varrazzo
889b1d826e
Untrack the connection before closing to avoid possible double-free
...
From Gangadharan S.A. Fixes issue #166 .
2013-06-20 16:35:01 +01:00
Daniele Varrazzo
eb36e75b89
Fixed comparison of Range
with non-range objects
...
Fixes ticket #164 .
Patch from Chris Withers on master.
2013-06-18 14:16:06 +01:00
Piotr Kasprzyk
5f320e52f4
Fix multiple misspellings
2013-04-26 10:32:21 +01:00
Daniele Varrazzo
244a58e5c7
Mention Solaris round fix in NEWS file
2013-04-21 18:43:08 +01:00
Daniele Varrazzo
9e15f54fe8
Added cursor_factory connection attribute and connect() parameter
2013-04-07 02:30:12 +01:00
Daniele Varrazzo
b6873ee1ab
Dropped support for Python 2.4
2013-03-20 23:40:13 +00:00
Daniele Varrazzo
87962728ee
Fixed ticket number in NEWS file
2013-03-20 11:42:15 +00:00
Daniele Varrazzo
abb3027aa3
NEWS file reformatted to reST and included in the docs
2013-03-18 15:42:10 +00:00
Daniele Varrazzo
97311967e8
Merge branch 'diagnostics' into devel
2013-03-18 02:21:09 +00:00
Daniele Varrazzo
fe6eb127fc
Fixed bad interaction of setup.py with other dependencies
...
The problem is in Distribute dependencies on Python 3. Create a new command
class instead of changing inplace the one other projects may use.
Close ticket #153 .
2013-03-18 02:18:50 +00:00
Daniele Varrazzo
49c3569919
Diagnostics added to the NEWS file
2013-03-18 02:11:45 +00:00
Daniele Varrazzo
e1ff432f4c
Merge branch 'dead-bytes' into devel
2013-03-16 16:25:17 +00:00
Daniele Varrazzo
4883ce7d91
Added ZPsycopgDA URL to the NEWS file
2013-03-16 16:23:02 +00:00
Daniele Varrazzo
66d6c68dcc
Properly cleanup memory of broken connections
...
Fixed ticket #148 .
2013-03-16 11:56:38 +00:00
Daniele Varrazzo
16d96fd43c
Merge branch 'py33' into devel
2012-12-22 00:58:17 +01:00
Daniele Varrazzo
cedd15cb49
Python 3.3 is now supported
2012-12-22 00:56:48 +01:00
Daniele Varrazzo
6df6e6adfe
Fixed pickling of DictRow objects too
2012-12-11 01:10:45 +00:00
Daniele Varrazzo
99bedd1bb2
Fixed pickling of RealDictRow objects
2012-12-10 23:54:25 +00:00
Daniele Varrazzo
e6fbf47c46
Merge branch 'contextmanager' into devel
2012-12-04 00:38:01 +00:00
Daniele Varrazzo
ec34b9bed6
Mention context managers in NEWS file
2012-12-04 00:37:49 +00:00
Daniele Varrazzo
bb72f121fb
Fixed connections re-init across ZSQL methods
...
Fixes issue #142 , probably #123 and #125 too.
2012-12-04 00:31:22 +00:00
Daniele Varrazzo
5053a7c2b6
Fixed version number in NEWS file
2012-12-03 14:22:04 +00:00
Daniele Varrazzo
9a031db8b9
Fixed empty strings handling in composite caster
...
Closes ticket #141 .
2012-12-03 14:19:09 +00:00
Daniele Varrazzo
8e08aeb690
Dropped Zope support
2012-12-03 02:53:20 +00:00
Daniele Varrazzo
02ffb7423a
Splitting the release of new features in version 2.5
2012-12-03 00:39:19 +00:00
Daniele Varrazzo
362c2ae597
Release the GIL around PQgetResult calls after COPY
...
It should fix ticket #140 .
2012-11-24 22:49:36 +00:00
Daniele Varrazzo
1feb179fba
Fixed pickling of FixedOffsetTimezone objects
...
I have also verified that the fixed class can unpickle instance pickled with
the buggy one and viceversa.
Fixes ticket #135 .
2012-10-21 21:47:32 +01:00
Daniele Varrazzo
71393b9ae9
Discard any result produced by cursor.executemany()
2012-10-11 22:29:03 +01:00
Daniele Varrazzo
b61a2a34c4
Close the connection on error in callback
...
Unfortunately PQcancel blocks, so it's not better than PQgetResult.
It has been suggested to use PQreset in non-blocking way but this would give
the Python program the burden of handling a connection done but not configured
in an unexpected place.
2012-10-06 11:58:52 +01:00
Daniele Varrazzo
4244d5953a
Merge branch 'range-type' into devel
2012-09-27 00:48:05 +01:00
Daniele Varrazzo
dda24f082f
Merge branch 'json' into devel
2012-09-27 00:41:04 +01:00
Daniele Varrazzo
465b5cf280
Mention JSON adaptation in the NEWS file
2012-09-27 00:40:35 +01:00
Daniele Varrazzo
33043cd038
Merge branch 'composite-custom' into devel
2012-09-27 00:38:00 +01:00
Daniele Varrazzo
cd316a94f1
Dropped quirks in connection arguments handling
...
Now connect() raises an exception instead of swallowing keyword arguments
when a connection string is specified as well
Closes ticket #131 .
2012-09-25 23:46:46 +01:00
Daniele Varrazzo
c756d580f2
Added documentation for range types and adaptation
2012-09-24 00:49:44 +01:00
Daniele Varrazzo
fa9393b587
Added documentation about CompositeCaster subclassing
2012-09-22 02:01:04 +01:00