[Python-checkins] r84819 - in python/branches/py3k: Misc/NEWS setup.py

brett.cannon python-checkins at python.org
Tue Sep 14 21:41:23 CEST 2010


Author: brett.cannon
Date: Tue Sep 14 21:41:23 2010
New Revision: 84819

Log:
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.


Modified:
   python/branches/py3k/Misc/NEWS
   python/branches/py3k/setup.py

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Tue Sep 14 21:41:23 2010
@@ -183,6 +183,9 @@
 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.

Modified: python/branches/py3k/setup.py
==============================================================================
--- python/branches/py3k/setup.py	(original)
+++ python/branches/py3k/setup.py	Tue Sep 14 21:41:23 2010
@@ -456,9 +456,6 @@
         # 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


More information about the Python-checkins mailing list