[issue9675] segfault: PyDict_SetItem: Assertion `value' failed.
Jesús Cea Avión
report at bugs.python.org
Wed Aug 25 03:21:51 CEST 2010
Jesús Cea Avión <jcea at jcea.es> added the comment:
The problem is that the "-We" is converting the CObject use to ERRORs, when this API is perfectly legal in Python 2.7.
bsddb 4.8.4 DOES *legally* uses CObjects in Python 2.7.
In pybsddb 5.0.0 I migrated to Capsule, since 5.0 doesn't support python 3.0 anymore (python 3.0 didn't support capsule).
I can commit a "4.8.4.1" version with Capsule support, for I think this crash is overzealot.
According to http://bugs.python.org/issue7992#msg104140 , CObject is not actually deprecated in Python 2.7, so it should not cause CObjects use with "-We" to be an error. Read the mail thread. In particular: http://mail.python.org/pipermail/python-committers/2010-April/000882.html .
I would suggest to drop DeprecationWarnings for CObjects in 2.7.1.
Comments?.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9675>
_______________________________________
More information about the Python-bugs-list
mailing list