sqlite3 bug??
mark carter
me at privacy.net
Sun Jun 17 09:16:20 EDT 2007
David Wahler wrote:
> On 6/17/07, mark carter <me at privacy.net> wrote:
>> Anyone else getting these problems?
>
> See http://www.python.org/dev/peps/pep-0249/ (emphasis mine):
>
> .commit()
OK, I tried that, and I appear to be cooking. The funny thing is, I
could have sworn that I tried that a few days ago, and it didn't work.
Weird. Appears to be working now, though, so I guess I must have been
doing something kooky.
Should I also explicitly close the cursor and connection, or is that
taken care of "automagically"?
I'm seriously thinking about reporting the commit() thing as a doc bug
in python, as this isn't mentioned at
http://docs.python.org/lib/module-sqlite3.html
and I think it's exactly the kind of thing that should be mentioned in
the examples.
More information about the Python-list
mailing list