[ANNOUNCE] PySQLite 0.5.0

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

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

It was time to make another release of PySQLite, because lots of bugs were
fixed and several sensitive changes were made, which need exposure in real
life.

Given the nature of the changes, I'd recommend you test 0.5.0 well before
replacing 0.4.3.

I'm in the middle of rewriting the documentation, examples and the website, so
you can expect a 0.5.1 release within a few weeks.

Here's the list of changes since the last release:

- Removed all old docs and examples. Started writing new ones.

- In sqlite.connect(), the parameter 'client_encoding' was renamed to
'encoding'. 'client_encoding' still works, but is deprecated.
- Removed the usage of the warnings module for optional DB-API extensions.
- Added the type constant sqlite.UNICODESTRING.

- Added missing copyright statements for port/strsep.c, which was imported from
FreeBSD.

- John E. Barham helped with adding a binary type to PySQLite. To insert
binary encoded data into a column of type BLOB, encode it using
sqlite.Binary() first.

- Columns with the column type 'UNICODE' are now automatically converted to
unicode strings.

- BIG CHANGE: Release the GIL while the SQLite engine does its work. The
PyThreadState is stored in the connection object.

- Plugged a memory leak that appeared in user-defined aggregates.

- Added missing MANIFEST.in (fixes bug #833821).

- Fixed bug #842630: .commit() is now a no-op in autocommit mode, instead of
raising an exception. This behaviour is mandated by the DB-API 2.0.

- Fixed bug #808952: The enhanced PgResultSet wrapper was not used for rows if
you used the fetchmany() method.

- Make user-defined aggregates actually work.

- Detect more column type names as "numeric" ones.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top