2010/9/29 Guido van Rossum <gu...@python.org>:
> On Tue, Sep 28, 2010 at 4:02 PM, Amaury Forgeot d'Arc
> <amaur...@gmail.com> wrote:
>> 2010/9/29 Guido van Rossum <gu...@python.org>:
>>>> Can someone please explain why converting to a PyCapsule object is not
>>>> an option?
>>>> PyCObject_AsVoidPtr() and PyCObject_Import() 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
_______________________________________________
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

Reply via email to