Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2de7471

Browse files
committed
Add entries for the weakref module to the build control.
1 parent 36154b2 commit 2de7471

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/Setup.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ GLHACK=-Dclear=__GLclear
147147
#struct structmodule.c # binary structure packing/unpacking
148148
#time timemodule.c # -lm # time operations and variables
149149
#operator operator.c # operator.add() and similar goodies
150+
#_weakref _weakref.c # basic weak reference support
150151
#_codecs _codecsmodule.c # access to the builtin codecs and codec registry
151152

152153
#unicodedata unicodedata.c unicodedatabase.c

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def detect_modules(self):
153153
exts.append( Extension('regex', ['regexmodule.c', 'regexpr.c']) )
154154
exts.append( Extension('pcre', ['pcremodule.c', 'pypcre.c']) )
155155

156+
exts.append( Extension('_weakref', ['_weakref.c']) )
156157
exts.append( Extension('xreadlines', ['xreadlinesmodule.c']) )
157158

158159
# array objects

0 commit comments

Comments
 (0)