Python and sqlite versions

Chris Angelico rosuav at gmail.com
Sat Oct 11 00:51:03 CEST 2014


On Sat, Oct 11, 2014 at 7:39 AM, Simmo <steve at bellissimmo.com> wrote:
> On 10/10/2014 20:31, Zachary Ware wrote:
>> In that case (if I'm remembering correctly, I'm not on Windows at the
>> moment), you could probably back up C:\Python33\DLLs\sqlite3.dll
>> somewhere (just in case) and copy the sqlite3.dll you got with the
>> sqlite3 distribution into that folder, and Python should be happy to
>> use the newer version of sqlite3.
>>
>  That's got to be worth a punt.  What's the worst that can happen...
>

The worst? You could have nasty failures out of Python, segfaults,
stuff like that. In theory, it might even be able to corrupt your
database files, although I suspect not. So try it out with the memory
backend, make sure stuff's working, and make sure you did back up the
previous DLL (like he said to, but this is important enough to be
repeated).

Rolling back should be easy and safe. :)

ChrisA



More information about the Python-list mailing list