Operational Error trying to connect to an SLQ Server DB
Glad you found the problem. Yes, pywin32 is required if you are running CPython. I did not check for pywin32 at import time in this version of adodbapi in order to support Iron Python, which cannot call it. I will have to drop support for Iron Python now, since Python 2 is deprecated in the pywin32 project. So this sourceforge project will become the Iron Python fork, while continued development of adodbapi will take place within the pywin32 repo.
make hg repo match git repo
remove obselete files & fix line endings
Unknown column names should raise AttributeError
Named parameters fail if the sql ends on a parameter
Fixed in adodbapi 2.6.2. Thanks for reporting and analyzing this.
NOTICE: as of today, 25 November 2019, this (SourceForge mercurial) repo is no longer the definitive source for adodbapi. The source from here has been cloned to github mhammond/pywin32 ./adodbapi subfolder. An hg push from that git directory caused basically every .py file in the source to appear to have every line changed, because the end-of-line changed. Sorry. It seemed like a small price to pay. The pypi package was uploaded from that version, which should also be done in the future, for IronPython...
new version based from pywin32/adodbapi
Thank you for reporting this. I am in the process of moving the master copy of the source code a sub-directory of pywin32 so that it will not get lost when deploying there. A different version of your suggested fix has been implemented there. I used a try - except block, because, in Python, the "it's easier to get forgiveness that permission" technique saves testing for an error which will usually not happen. The resulting code is easier to read and usually runs faster. I will try to move a copy...
merged stop_memory_leak
use weakref to stop memory leak
preserve work for version drop
I will look at pulling your patches in very soon. My old test setup evaporated and I'm building a replacement. On Sat, Feb 17, 2018 at 10:25 AM, Bob Kline bkline@users.sourceforge.net wrote: (Having a conversation with myself, it seems). :-) And I believe the patch also addresses https://sourceforge.net/p/ adodbapi/bugs/17/ [bugs:#27] https://sourceforge.net/p/adodbapi/bugs/27/ Empty string replaced with single space on insert* Status: open Group: v1.0_(example) Created: Thu Feb 01, 2018 02:08 PM...
Sorry you were having trouble. Is there a way that the error message could have been...
Crash executing Procedure
Thank you. My SQL server was not available, so I tested without it. I have never...
Crash with Keyword Parameters
Thank you. I have refactored this area.
I have added code to try introspecting the object itself when the type of the object...
Problems with Non-Str-Strings
Index out of Range Error in changeNamedToQmark
Doh! I must have been tired that day. I fixed it using "easier to get forgiveness...
Incorrect error message / IndexError creating error message
Fixed and tested before version 2.6.0.7
Dear George: I cannot figure out how to write a regression test for this fix. Would...
several files missing from adodbapi
This error was fixed as a side-effect of general clean-up of the parameter building...
The anti-feature of returning a datetime.date rather than datetime.datetime when...
As required by PEP-249, the information you request is stored as part of the cursor's...
This should be listed as a "Feature Request", rather than a "Bug".