diff Modules/Setup.dist @ 64199:7d2bd8955edb 2.7

Use weakrefs to hold onto classes #2521. This also causes the _weakref module to be built into the core.
author Benjamin Peterson <benjamin@python.org>
date Sat, 21 Aug 2010 03:03:22 +0000
parents 7f5cbc28f433
children 9d5916ab60e0
line wrap: on
line diff
--- a/Modules/Setup.dist	Thu Aug 19 21:50:08 2010 +0000
+++ b/Modules/Setup.dist	Sat Aug 21 03:03:22 2010 +0000
@@ -118,6 +118,7 @@
 				# if $HOME is not set
 _sre _sre.c			# Fredrik Lundh's new regular expressions
 _codecs _codecsmodule.c		# access to the builtin codecs and codec registry
+_weakref _weakref.c             # weak references
 
 # The zipimport module is always imported at startup. Having it as a
 # builtin module avoids some bootstrapping problems and reduces overhead.