[pywin32-checkins] pywin32/adodbapi readme.txt,1.8,1.9
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Vernon C. <kf...@us...> - 2009-02-14 15:13:07
|
Update of /cvsroot/pywin32/pywin32/adodbapi In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3250 Modified Files: readme.txt Log Message: Test for python time converter weakened. Works in all time zones now. Index: readme.txt =================================================================== RCS file: /cvsroot/pywin32/pywin32/adodbapi/readme.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** readme.txt 6 Feb 2009 03:35:11 -0000 1.8 --- readme.txt 14 Feb 2009 15:12:59 -0000 1.9 *************** *** 27,42 **** you can select other options by the user defined convertion feature. Try: ! adodbapi.variantConversions[adodbapi.adNumeric] = adodbapi.cvtString or: ! adodbapi.variantConversions[adodbapi.adNumeric] = adodbapi.cvtFloat or: ! adodbapi.variantConversions[adodbapi.adNumeric] = write_your_own_convertion_function ............ Whats new in version 2.2.6 1. Actually works in Python 3.0 (using pywin32 212.6) after running thru 2to3 2. RESTRICTION: Python Time (as opposed to datetime.datetime, which is the default) may return ! incorrect results. We believe this happens when used with Southern Hemisphere time zones. ! To avoid this problem, do not use adodbapi.pythonTimeConverter. ! 3. Several improvements in the test routines, including alteration of dbapi20 for Python 3.0 compatibility. (Some requirements of PEP249 are incompatible with Python 3.0) --- 27,42 ---- you can select other options by the user defined convertion feature. Try: ! adodbapi.adodbapi.variantConversions[adodbapi.adNumeric] = adodbapi.adodbapi.cvtString or: ! adodbapi.adodbapi.variantConversions[adodbapi.adNumeric] = adodbapi.adodbapi.cvtFloat or: ! adodbapi.adodbapi.variantConversions[adodbapi.adNumeric] = write_your_own_convertion_function ............ Whats new in version 2.2.6 1. Actually works in Python 3.0 (using pywin32 212.6) after running thru 2to3 2. RESTRICTION: Python Time (as opposed to datetime.datetime, which is the default) may return ! incorrect results. To avoid this problem, do not use adodbapi.pythonTimeConverter. ! 3. The python time converter test has been loosened so that it will pass in any time zone. ! 4. Several improvements in the test routines, including alteration of dbapi20 for Python 3.0 compatibility. (Some requirements of PEP249 are incompatible with Python 3.0) |