[Python-Dev] Pronouncement needed in issue9675 (original) (raw)

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed Sep 29 01:25:23 CEST 2010


2010/9/29 Guido van Rossum <guido at python.org>:

On Tue, Sep 28, 2010 at 4:02 PM, Amaury Forgeot d'Arc <amauryfa at gmail.com> wrote:

2010/9/29 Guido van Rossum <guido at python.org>:

Can someone please explain why converting to a PyCapsule object is not an option? PyCObjectAsVoidPtr() and PyCObjectImport() accept Capsules and will work as before.

Because bsddb is an external module? Yes, bsddb is compiled in a separate .pyd or .so. But what does this change? Because it needs to support multiple Python versions from single source?

But here we are talking about the bsddb module shipped with core python2.7 http://svn.python.org/view/python/branches/release27-maint/Modules/_bsddb.c This is a single source for a single version. And in any case a #ifdef is good enough.

-- Amaury Forgeot d'Arc



More information about the Python-Dev mailing list