[Python-Dev] Pronouncement needed in issue9675 (original) (raw)
Amaury Forgeot d'Arc amauryfa at gmail.com
Tue Sep 28 13🔞53 CEST 2010
- Previous message: [Python-Dev] Pronouncement needed in issue9675
- Next message: [Python-Dev] Pronouncement needed in issue9675
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
2010/9/28 Jesus Cea <jcea at jcea.es>:
http://bugs.python.org/issue9675
Long history sort: Python 2.7 backported Capsule support and (incorrectly, in my opinion) marked CObject as deprecated. All C modules in the stdlib were updated to Capsule (with a CObject compatibility layer), except BSDDB, because this change was done late in the cycle, the proposed patch was buggy (solvable) and a pronouncement was done that CObject was not actually deprecated. But in python 2.7 release, CObject is marked as deprecated (arg!), so when executing python with -We (mark warnings as errors), bsddb fails. Since I think that adopting Capsule in BSDDB for 2.7.1 would break the API compatibility (maybe the CObject proxy would solve this), and since a previous pronouncement was done abour CObject not-deprecated in 2.7.x, I would like comments.
Is compatibility really broken? PyCObject_AsVoidPtr(), PyCObject_Import() accept Capsule objects as well. Or are there other usages of the api pointer?
-- Amaury Forgeot d'Arc
- Previous message: [Python-Dev] Pronouncement needed in issue9675
- Next message: [Python-Dev] Pronouncement needed in issue9675
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]