A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-February/132214.html below:

[Python-Dev] The docstring hack for signature information has to go

[Python-Dev] The docstring hack for signature information has to go [Python-Dev] The docstring hack for signature information has to goBarry Warsaw barry at python.org
Mon Feb 3 16:08:15 CET 2014
On Feb 03, 2014, at 06:43 AM, Larry Hastings wrote:

>But that only fixes part of the problem.  Our theoretical extension that
>wants to be binary-compatible with 3.3 and 3.4 still has a problem: how can
>they support signatures?  They can't give PyMethodDefEx structures to 3.3, it
>will blow up.  But if they don't use PyMethodDefEx, they can't have
>signatures.

Can't an extension writer #ifdef around this?  Yeah, it's ugly, but it's a
pretty standard approach for making C extensions multi-version compatible.

-Barry
More information about the Python-Dev mailing list

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