ANN: PySQLite 0.5.1

  • Thread starter =?ISO-8859-1?Q?Gerhard_H=E4ring?=
  • Start date
?

=?ISO-8859-1?Q?Gerhard_H=E4ring?=

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.
 
I

Irmen de Jong

Gerhard said:
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.

Gerhard,
do you recommend compiling Sqlite with or without the THREADSAFE=1 option?

--Irmen
 
?

=?ISO-8859-1?Q?Gerhard_H=E4ring?=

Irmen said:
Gerhard,
do you recommend compiling Sqlite with or without the THREADSAFE=1 option?

With. Otherwise you'll run into problems as soon as you use PySQLite in
a multithreaded program.

-- Gerhard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top