mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
SF patch 658251: Install a C implementation of the Mersenne Twister as the
core generator for random.py.
This commit is contained in:
parent
5e65ce671c
commit
40f6217092
6 changed files with 981 additions and 320 deletions
2
setup.py
2
setup.py
|
@ -316,6 +316,8 @@ class PyBuildExt(build_ext):
|
|||
libraries=math_libs) )
|
||||
exts.append( Extension('datetime', ['datetimemodule.c'],
|
||||
libraries=math_libs) )
|
||||
# random number generator implemented in C
|
||||
exts.append( Extension("_random", ["_randommodule.c"]) )
|
||||
# operator.add() and similar goodies
|
||||
exts.append( Extension('operator', ['operator.c']) )
|
||||
# Python C API test module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue