[python-win32] Fw: [adodbapi:feature-requests] #8 Use of Win32Com Cache

Vern Cole kf7xm at yahoo.com
Mon Jul 14 21:32:27 CEST 2014


Dear Gurus (you know who you are):

I got this request on the adodbapi package site today.  It seems like a reasonable request to me, but since I don't really understand what it does, I don't know whether it could cause some terrible problems somehow.

Is it a good patch, or not?
--
Vernon


On Monday, July 14, 2014 6:45 PM, George <georgeukrr at users.sf.net> wrote:
 



________________________________
 
[feature-requests:#8] Use of Win32Com Cache
Status: open
Group: Next_Release_(example)
Created: Mon Jul 14, 2014 05:45 PM UTC by George
Last Updated: Mon Jul 14, 2014 05:45 PM UTC
Owner: nobody
Could there be a way to specify that you want to use EnsureDispatch (and hence pre-build the Com scripts)?
I've modified adodbapi.py to...
def Dispatch(dispatch): win32com.client.gencache.is_readonly = False return win32com.client.gencache.EnsureDispatch(dispatch) 
And this has resolved problems I was having with dynamic.py from win32com taking up a lot of resources. The program I'm building uses thousands of short queries so the overhead really adds up.
________________________________
 
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/adodbapi/feature-requests/8/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20140714/b7790605/attachment.html>


More information about the python-win32 mailing list