Author: cito
Date: Fri Nov 20 06:16:03 2015
New Revision: 553
Log:
Require at least Python 2.6 for the trunk (5.x)
Support for even older Python versions is maintained in the 4.x branch.
The goal for 5.x is to be a single-source code for both Python 2 and 3,
and this is only possible by dropping
Author: cito
Date: Fri Nov 20 10:04:44 2015
New Revision: 555
Log:
Proper testing of the version number
Modified:
branches/4.x/module/TEST_PyGreSQL_classic_functions.py
branches/4.x/module/setup.py
trunk/module/TEST_PyGreSQL_classic_functions.py
Modified:
Author: cito
Date: Fri Nov 20 10:13:42 2015
New Revision: 556
Log:
Use the modern except .. as syntax in the trunk
Modified:
trunk/module/TEST_PyGreSQL_classic_connection.py
trunk/module/TEST_PyGreSQL_classic_dbwrapper.py
Modified: trunk/module/TEST_PyGreSQL_classic_connection.py
Author: cito
Date: Fri Nov 20 05:37:49 2015
New Revision: 551
Log:
StandardError has been removed in Python 3.
We now subclass from Exception instead, even in Python 2.
This is a slight incompatibility, but it has never been
documented anyway and makes the behavior more uniform.
Modified:
Author: darcy
Date: Fri Nov 20 06:32:39 2015
New Revision: 554
Log:
The current source compiles without warnings. Let's keep it that way.
Modified:
branches/4.x/module/setup.py
Modified: branches/4.x/module/setup.py
Author: cito
Date: Fri Nov 20 11:54:55 2015
New Revision: 561
Log:
Keep the old names on the Python level
Reverted some renaming in r530 that was probably done by mistake,
as we don't want to change the method names on the Python level.
Particularly, the proper names should appear in the
Author: cito
Date: Fri Nov 20 10:23:56 2015
New Revision: 557
Log:
Use print the modern way as a function
Modified:
trunk/module/TEST_PyGreSQL_classic_connection.py
Modified: trunk/module/TEST_PyGreSQL_classic_connection.py
Author: cito
Date: Fri Nov 20 11:09:28 2015
New Revision: 559
Log:
Add test for printing large objects
Again, note that the print function does not work with StringIO.
Modified:
branches/4.x/module/TEST_PyGreSQL_classic_connection.py
branches/4.x/module/TEST_PyGreSQL_classic_largeobj.py
Author: cito
Date: Fri Nov 20 11:27:28 2015
New Revision: 560
Log:
Remove some more code for Python < 2.5 in the trunk
Modified:
trunk/module/pgmodule.c
Modified: trunk/module/pgmodule.c
==
---
On Fri, 20 Nov 2015 14:08:23 +0100
Christoph Zwerschke wrote:
> Regarding the int/long and str/unicode dichotomy in Python 2/3, the
I am still having errors in my 2.7 installation on the 4.x branch. It
seems that something between the database and the query result is
converting
Am 20.11.2015 um 18:08 schrieb D'Arcy J.M. Cain:
I am still having errors in my 2.7 installation on the 4.x branch. It
seems that something between the database and the query result is
converting small ints (and any ints) to long. Are you not seeing that?
I am using PostgreSQL 9.3.5 and
Am 20.11.2015 um 20:16 schrieb D'Arcy J.M. Cain:
I agree with your reasons. The only thing is that the tests are
going to need to be changed based on the version of Python as well.
There is probably going to be an awful lot of places to introduce
conditional code in the tests.
The good thing
Author: cito
Date: Fri Nov 20 16:44:55 2015
New Revision: 565
Log:
Using a better locale name for tests
In the test we need to force Postgres to use a money format that does
not use a dot as decimal point. Maybe we should try several common
locale names to get this test running on different
13 matches
Mail list logo