Commit b82489dd authored by Brett Cannon's avatar Brett Cannon

setup.py was trying to build _weakref which is redundant as it's a built-in

module.

Closes issue #9848. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug
report.
parent f7328d02
...@@ -183,6 +183,9 @@ Tests ...@@ -183,6 +183,9 @@ Tests
Build Build
----- -----
- Issue #9848: Stopping trying to build _weakref in setup.py as it is a
built-in module.
- Issue #9806: python-config now has an ``--extension-suffix`` option that - Issue #9806: python-config now has an ``--extension-suffix`` option that
outputs the suffix for dynamic libraries including the ABI version name outputs the suffix for dynamic libraries including the ABI version name
defined by PEP 3149. defined by PEP 3149.
......
...@@ -456,9 +456,6 @@ class PyBuildExt(build_ext): ...@@ -456,9 +456,6 @@ class PyBuildExt(build_ext):
# on pretty much any POSIXish platform. # on pretty much any POSIXish platform.
# #
# Some modules that are normally always on:
exts.append( Extension('_weakref', ['_weakref.c']) )
# array objects # array objects
exts.append( Extension('array', ['arraymodule.c']) ) exts.append( Extension('array', ['arraymodule.c']) )
# complex math library functions # complex math library functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment