]> granicus.if.org Git - python/commitdiff
setup.py was trying to build _weakref which is redundant as it's a built-in
authorBrett Cannon <bcannon@gmail.com>
Tue, 14 Sep 2010 19:41:23 +0000 (19:41 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 14 Sep 2010 19:41:23 +0000 (19:41 +0000)
module.

Closes issue #9848. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug
report.

Misc/NEWS
setup.py

index d528d3c36318eccfca3c95d8870e2571049221fe..43c55df5f10873ba4f3fed94bc62b349f6522298 100644 (file)
--- 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.
index 85cd6057c9fa98856de15e2fdfcbf37f1a7b68c0..861f9ef04db84657884ec6aa4e4011356c01469d 100644 (file)
--- 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