
This work is licensed under a Creative Commons Attribution-Share Alike 2.0 France License.
Recently I started a small project to build an incremental sql database of meta information related to debian packages. In the process I discovered that the newly available feature of sqlite3 to add custom collation doesn't work well with the sqlite3 bindings present in python 2.5 . The reason is that in order to load a collation at run time, you must explicitly enable the extension loading mechanism. The binding present in python 2.5 (fixed in python 2.6) do not expose this C function.
In order to enable call this function, and instead of patching and recompiling python, I wrote a small python module using swig.
briefly (not tested, but you should get the idea):
The code is available here: https://gforge.inria.fr/plugins/scmsvn/viewcvs.php/trunk/torchone/sqlite/?root=sodiac
Recent comments
1 min 50 sec ago
1 hour 27 min ago
13 hours 54 min ago
1 day 20 hours ago
1 day 21 hours ago
3 weeks 4 days ago
23 weeks 6 days ago
1 year 24 weeks ago
1 year 28 weeks ago
1 year 41 weeks ago