[Python-Dev] ctypes compatibility with 2.3

Brett Cannon brett at python.org
Wed May 11 21:05:29 EDT 2016


On Wed, 11 May 2016 at 09:28 Brett Cannon <brett at python.org> wrote:

> On Wed, 11 May 2016 at 09:07 Thomas Heller <theller at ctypes.org> wrote:
>
>> Am 11.05.2016 um 18:04 schrieb Brett Cannon:
>> >
>> >
>> > On Wed, 11 May 2016 at 04:35 Thomas Heller <theller at ctypes.org
>> > <mailto:theller at ctypes.org>> wrote:
>> >
>> >     Am 10.05.2016 um 19:39 schrieb Brett Cannon:
>> >     >
>> >     >
>> >     > On Tue, 10 May 2016 at 01:18 Martin Panter <vadmium+py at gmail.com
>> >     <mailto:vadmium%2Bpy at gmail.com>
>> >     > <mailto:vadmium%2Bpy at gmail.com <mailto:vadmium%252Bpy at gmail.com
>> >>>
>> >     wrote:
>> >     >
>> >     >     I am working on <https://bugs.python.org/issue22636>, to fix
>> shell
>> >     >     injection problems with ctypes.util.find_library(). The
>> >     proposal for
>> >     >     Python 3 is to change os.popen(shell-script) calls to use
>> >     >     subprocess.Popen().
>> >     >
>> >     >     However the Python 2.7 version of the module has a comment
>> >     which says
>> >     >     “This file should be kept compatible with Python 2.3, see PEP
>> >     291.”
>> >     >     Looking at <https://www.python.org/dev/peps/pep-0291/>, it
>> is not
>> >     >     clear why we have to maintain this compatibility. My best
>> guess is
>> >     >     that there may be an external ctypes package that people
>> >     want(ed) to
>> >     >     keep compatible with 2.3, and also keep synchronized with 2.7.
>> >     >
>> >     >
>> >     > That's correct and the maintainer is/was Thomas Heller who I have
>> >     cc'ed
>> >     > to see if he's okay with lifting the restriction.
>> >
>> >     For me it is totally ok to lift this restriction.
>> >
>> >
>> > Great! I'll also update PEP 291.
>>
>> Cool.  While you're at it, the compatibility restriction for
>> modulefinder could also be lifted.
>>
>
> Will do.
>

PEP 291 no longer lists any restrictions on ctypes or modulefinder.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160512/43c83f46/attachment.html>


More information about the Python-Dev mailing list