On Tue, 28 Sep 2010 04:44:08 +0200 Jesus Cea <j...@jcea.es> wrote: > > But in python 2.7 release, CObject is marked as deprecated (arg!), so > when executing python with -We (mark warnings as errors), bsddb fails.
By "fails" you mean "crashes the interpreter". While the deprecation warning can be discussed, bsddb shouldn't crash when PyCObject_FromVoidPtr() returns NULL, but instead bail out cleanly (or perhaps even ignore the error and simply display a warning that the C API won't be available). Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com