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? >>>> 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4