[Python-Dev] [Python-checkins] sqlite3 test errors - was : Re: r46936 - in python/trunk: Lib/sqlite3/test/regression.py Lib/sqlite3/test/types.py Lib/sqlite3/test/userfunctions.py Modules/_sqlite/connection.c Modules/_sqlite/cursor.c Modules/_sql
gh at ghaering.de
Thu Jun 15 00:37:21 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Tim Peters wrote:
> [Gerhard Häring]
>>> Until recently, SQLite was buggy and it was only fixed in
>>> that callbacks can throw errors that are usefully returned to the
>>> original caller.
>>> The tests for the sqlite3 module currently assume a recent version
>>> SQLite (3.3.something). Otherwise some tests will fail.
> Sounds like that explains why none of the Windows buildbots failed (on
> Windows, Python currently uses the sqlite checked in at
> ). I suppose some OSes think they're doing you a favor by forcing you
> to be the system SQLite admin ;-)
Yes, this issue made development of the SQLite module a bit more
"interesting" for me. And I deserved no better for committing changes so
late before beta1.
Anyway, I verified my theory about the SQLite bugs (that's what they are),
and added version checks to the C code and to the test suite, so now
Everything Should Work (*crossing fingers*).
If anything should still fail, I'll ruthlessly blame Anthony, he brought
the idea up of supporting older SQLite versions in the first place :-P
- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Python-Dev