[pybsddb] Release 5.1.1

Jesus Cea jcea at jcea.es
Mon Nov 15 15:17:37 CET 2010


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

On 15/11/10 04:50, Arfrever Frehtes Taifersar Arahesis wrote:
> bsddb3-5.1.1 fails to build with Python 2.7 if bsddb module isn't available:

Thanks. This is a regression introduced in 5.1.1. The fix will be
available in 5.1.2.

The fix is:

"""
- --- a/setup2.py
+++ b/setup2.py
@@ -36,7 +36,10 @@
                         'Please use capsule objects instead.',
                 category=DeprecationWarning)

- -            import bsddb  # Import the 2.7 version, that uses CObject
+            try :  # 'bsddb' library could be not available
+                import bsddb  # Import the 2.7 version, that uses CObject
+            except ImportError :
+                pass
         finally :
             context.__exit__()

"""

- -- 
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/

iQCVAwUBTOFBAZlgi5GaxT1NAQJBywP+IC1PLx2PF4rjFBQwteSrXG7UW4qZNxqg
RNl1uJ54Fn5nzC3eWXmp5wk1MDNbG6es6K7OE+3LLlQ+CIwfCordXkiAHJqqSpTO
CqnVx0Vp81RBh20NOvOs7it/KSwJUFKvyUiCGBy1cmIMJeUFpY7jLrW61M/DByBk
WbHZ3syhd/4=
=pgz3
-----END PGP SIGNATURE-----


More information about the pybsddb mailing list