wmjie / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

fetchall() fails with Python 2.4 #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the _fix_return_data_type method in ibm_db_dbi.py there are calls to 
datetime.datetime.strptime which doesn't exist in Python 2.4 (which is shipped 
with Red Hat Enterprise Linux 5 and CentOS 5 which are widely used).

Attached is a suggestion for a fix which seems to work.

Original issue reported on code.google.com by troels.a...@gmail.com on 22 Sep 2010 at 8:39

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by troels.a...@gmail.com on 22 Sep 2010 at 8:42

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks Arvin for your patch. But we can only accept your patch when you sign 
the contribution agreement . So please go through it which is available at 
http://code.google.com/p/ibm-db/wiki/Contributions, if you feel to agree by 
please express the same by signing it.

We will not support python 2.4 officially, but we can include your patch to our 
code base so that other users as well get benefited of this

Original comment by rahul.pr...@in.ibm.com on 28 Sep 2010 at 5:20

GoogleCodeExporter commented 9 years ago
OK, I have mailed the copyright assignment form.

Original comment by troels.a...@gmail.com on 8 Nov 2010 at 10:03

GoogleCodeExporter commented 9 years ago
Thanks Arvin for signing CLA.
We will include your patch in our next release. 

Original comment by rahul.pr...@in.ibm.com on 9 Nov 2010 at 6:43

GoogleCodeExporter commented 9 years ago
released with ibm_db-1.0.5

Original comment by rahul.pr...@in.ibm.com on 16 Apr 2012 at 8:34