[Patches] [ python-Patches-601456 ] expose PYTHON_API_VERSION via sys
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 01 Sep 2002 23:30:22 -0700
Patches item #601456, was opened at 2002-08-28 20:17
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=601456&group_id=5470
Category: Core (C code)
Group: Python 2.3
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Skip Montanaro (montanaro)
>Assigned to: Skip Montanaro (montanaro)
Summary: expose PYTHON_API_VERSION via sys
Initial Comment:
I was scratching my head today about some API version mismatches I
got from the VTK Python wrappers. Apparently, somewhere along
the way the VTK build process used two different versions of the
Python compilation environment to build different extension
modules. From a debugging standpoint it seems like it would be a
mild convenience to expose PYTHON_API_VERSION via the sys
module. The attached trivial patch does this.
This should be easily portable to the 2.1 and 2.2 maintenance
branches though it's not strictly a bugfix.
Skip
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-09-02 08:30
Message:
Logged In: YES
user_id=21627
There is no documentation change: you'll need to edit
libsys.tex (using \versionadded), and Misc/NEWS.
Apart from that, the patch is fine; please apply it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=601456&group_id=5470