[pybsddb] Bug: get_size() throws SystemError on zero-sized row data

Jesus Cea jcea at jcea.es
Tue Mar 8 13:11:01 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/07/10 17:20, Austin Bingham wrote:
> I've attached some sample code demonstrating what appears to be a bug in
> the DB.get_size() method. When the data for a row is zero-sized,
> get_size() throws a SystemError.

Problem solved in development version. PYBSDDB 5.1.2 will be released in
hours.

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTXYc1Zlgi5GaxT1NAQKdVAP9HswiO3ZRInTiZNjsStFq+OdgGEc/m3wS
GCA00F1DLh2UNDIFi82ws1zQupXdlG2SU8DmTXKI/ld8MYV2FhQhOha5yYuy8yBw
6L9K5myIC6h62jKocGTAtwSzZetA2Tp8Mj0M2sBszt5EyncCSoYYsDxgF3GM6HXv
aj0Y2irXgOE=
=msDi
-----END PGP SIGNATURE-----


More information about the pybsddb mailing list