<div dir="ltr"><div>Wait a bit...  Did I just hear that there is a difference in operation between starting a connection with autocommit=false and turning autocommit off during a session?  If so, I think that's a bug.  PEP-249 has no hook for explicitly starting a transaction, so adodbapi needs to always have done BeginTrans before any meaningful operation.  Am I missing something?<br>--<br></div>Vernon Cole<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 24, 2016 at 11:10 AM, Tim Roberts <span dir="ltr"><<a href="mailto:timr@probo.com" target="_blank">timr@probo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Max Slimmer wrote:<br>
> The adodbapi documentation and code implies that with autocommit =<br>
> False I should only have to call commit (and possibly rollback) and if<br>
> using the connection as a context manager not even those are required.<br>
> If autocommit = False is passed on the initial connect the __init__ of<br>
> the connector handles BeginTrans and subsequent commit and rollbacks<br>
> also leave me with an open trans.<br>
<br>
Ah, I missed that subtle distinction.  Your modification seems reasonable.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
</font></span><div class="HOEnZb"><div class="h5">Tim Roberts, <a href="mailto:timr@probo.com">timr@probo.com</a><br>
Providenza & Boekelheide, Inc.<br>
<br>
______________________________<wbr>_________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-win32" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-win32</a><br>
</div></div></blockquote></div><br></div>