[New-bugs-announce] [issue32387] Disallow untagged C extension import on major platforms

Antoine Pitrou report at bugs.python.org
Wed Dec 20 10:47:54 EST 2017

New submission from Antoine Pitrou <pitrou at free.fr>:

Windows and the major POSIX platforms (including Linux and macOS) now support loading C extension with a version-tagged name (and build them likewise), such as "foobar.cpython-36.so".

Following the discussion in https://mail.python.org/pipermail/python-dev/2017-December/151328.html, I propose to remove the ability to load untagged C extension names on those platforms.  IOW, "foobar.dll" or "foobar.so" will not be recognized when "import foobar" is executed anymore.

components: Interpreter Core
messages: 308741
nosy: brett.cannon, eric.snow, ncoghlan, ned.deily, paul.moore, pitrou, ronaldoussoren, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Disallow untagged C extension import on major platforms
type: enhancement
versions: Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list