ANN: PySQLite 0.5.1

Gerhard Häring gh at ghaering.de
Sat Jul 3 19:43:00 EDT 2004


PySQLite makes the embedded database engine SQLite available to Python 
programmers via the DB-API interface.

I've just released PySQLite 0.5.1, a looooooooong overdue bugfix release 
for 0.5.0 released in last December.

http://sourceforge.net/projects/pysqlite

---

Here's a list of the changes. Especially the last annoyed several users:

* test/userfunction_tests.py:
     - Added a test case for aggregates returning floats.

* encode.c, port/strsep.c:
     - Applied patch #882016, which fixes various build warnings.

* _sqlite.c:
     - Added a missing INCREF in the busy-handler callback. This was the 
real reason
       why misc/multithreading_crash.py crashed Python. This was a 
reproducable
       crash when the busy handler was used.
     - Applied patch #882016, which fixes various build warnings.
     - Applied patch #865887, which uses sqlite_freemem instead of 
free() in two
       places and makes PySQLite work on OS/2.
     - Fixed bug #945572, user-defined aggregates returning floats no 
longer crash
       Python.

* sqlite/main.py:
     Fixes buglet #877780: Exception in Connection.__del__ when opening 
the database
     failed.

* _sqlite.c:
     - Fix for bug [ 852362 ] Crash from deallocating None: removed one 
Py_DECREF
       that led to crashes.




More information about the Python-list mailing list