[Python-Dev] Pronouncement needed in issue9675
solipsis at pitrou.net
Tue Sep 28 18:00:13 CEST 2010
On Tue, 28 Sep 2010 04:44:08 +0200
Jesus Cea <jcea at 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).
More information about the Python-Dev