* Restore the pure python version of heapq.py.

* Mark the C version as private and only use when available.
This commit is contained in:
Raymond Hettinger 2004-04-19 19:06:21 +00:00
parent 61e40bd897
commit c46cb2a1a9
4 changed files with 628 additions and 3 deletions

View file

@ -327,7 +327,7 @@ class PyBuildExt(build_ext):
# bisect
exts.append( Extension("_bisect", ["_bisectmodule.c"]) )
# heapq
exts.append( Extension("heapq", ["heapqmodule.c"]) )
exts.append( Extension("_heapq", ["_heapqmodule.c"]) )
# operator.add() and similar goodies
exts.append( Extension('operator', ['operator.c']) )
# Python C API test module