summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-09-14 19:41:23 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-09-14 19:41:23 (GMT)
commitb82489dd7fbee1b4be80f7a4cea88eb68ee51358 (patch)
tree00fc286c6770ae3b2ebd65eb0da6f4b151511ccf
parentf7328d026be6c2ee0bdd8dac32243f73b6b0563a (diff)
downloadcpython-b82489dd7fbee1b4be80f7a4cea88eb68ee51358.zip
cpython-b82489dd7fbee1b4be80f7a4cea88eb68ee51358.tar.gz
cpython-b82489dd7fbee1b4be80f7a4cea88eb68ee51358.tar.bz2
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.
-rw-r--r--Misc/NEWS3
-rw-r--r--setup.py3
2 files changed, 3 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d528d3c..43c55df 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -183,6 +183,9 @@ Tests
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
outputs the suffix for dynamic libraries including the ABI version name
defined by PEP 3149.
diff --git a/setup.py b/setup.py
index 85cd605..861f9ef 100644
--- a/setup.py
+++ b/setup.py
@@ -456,9 +456,6 @@ class PyBuildExt(build_ext):
# on pretty much any POSIXish platform.
#
- # Some modules that are normally always on:
- exts.append( Extension('_weakref', ['_weakref.c']) )
-
# array objects
exts.append( Extension('array', ['arraymodule.c']) )
# complex math library functions