mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
* Add Python 3.15 math APIs using pymath Pin pymath to merged dd1e9a4cf26d68caf3b549c09476f52e356e16a3 and expose isnormal, issubnormal, signbit, fmax and fmin through thin wrappers. Share the existing integer functions through math.integer and _math_integer, matching CPython module identity and metadata. Migrate test_math.py and test_math_integer.py via scripts/update_lib from CPython d220409a13b77de7a6c30abe16ea90db01528edc, preserving the existing Windows remainder marker. Add bounded Python snippet coverage. AI assistance: OpenAI Codex implemented and source-reviewed this change, ran update_lib, and performed focused automated validation. No human manual testing is claimed. Assisted-by: OpenAI Codex:model version unavailable * Track integer math tests in library updates Assisted-by: OpenAI Codex:model version unavailable
309 lines
3.2 KiB
Plaintext
309 lines
3.2 KiB
Plaintext
abiflags
|
|
abstractmethods
|
|
addcompare
|
|
aenter
|
|
aexit
|
|
aiter
|
|
altzone
|
|
anext
|
|
anextawaitable
|
|
annotationlib
|
|
appendleft
|
|
argcount
|
|
arrayiterator
|
|
arraytype
|
|
asend
|
|
asyncgen
|
|
athrow
|
|
backslashreplace
|
|
baserepl
|
|
basicsize
|
|
bdfl
|
|
bigcharset
|
|
bignum
|
|
bivariant
|
|
breakpointhook
|
|
cformat
|
|
chunksize
|
|
classcell
|
|
classmethods
|
|
closefd
|
|
closesocket
|
|
codepoint
|
|
codepoints
|
|
codesize
|
|
contextvar
|
|
cpython
|
|
cratio
|
|
ctype
|
|
ctypes
|
|
dealloc
|
|
debugbuild
|
|
decompressor
|
|
defaultaction
|
|
descr
|
|
dictcomp
|
|
dictitems
|
|
dictkeys
|
|
dictview
|
|
digestmod
|
|
dllhandle
|
|
docstring
|
|
docstrings
|
|
dunder
|
|
endianness
|
|
endpos
|
|
eventmask
|
|
excepthook
|
|
exceptiongroup
|
|
exitfuncs
|
|
extendleft
|
|
fastlocals
|
|
fdel
|
|
fedcba
|
|
fget
|
|
fileencoding
|
|
fillchar
|
|
fillvalue
|
|
finallyhandler
|
|
firstiter
|
|
fobj
|
|
firstlineno
|
|
fnctl
|
|
frombytes
|
|
fromhex
|
|
fromunicode
|
|
frozensets
|
|
fset
|
|
fspath
|
|
fstring
|
|
fstrings
|
|
ftruncate
|
|
genexpr
|
|
genexpressions
|
|
getargs
|
|
getattro
|
|
getcodesize
|
|
getdefaultencoding
|
|
getfilesystemencodeerrors
|
|
getfilesystemencoding
|
|
getformat
|
|
getframe
|
|
getframemodulename
|
|
getnewargs
|
|
getopt
|
|
getpip
|
|
getrandom
|
|
getrecursionlimit
|
|
getrefcount
|
|
getsizeof
|
|
getswitchinterval
|
|
getweakref
|
|
getweakrefcount
|
|
getweakrefs
|
|
getweakrefs
|
|
getwindowsversion
|
|
gmtoff
|
|
groupdict
|
|
groupindex
|
|
hamt
|
|
hostnames
|
|
idfunc
|
|
idiv
|
|
idxs
|
|
impls
|
|
infd
|
|
indexgroup
|
|
infj
|
|
inittab
|
|
Inittab
|
|
instancecheck
|
|
instanceof
|
|
instrs
|
|
interpchannels
|
|
interpqueues
|
|
irepeat
|
|
isabstractmethod
|
|
isbytes
|
|
iscased
|
|
isfinal
|
|
issubnormal
|
|
istext
|
|
itemiterator
|
|
itemsize
|
|
iternext
|
|
keepends
|
|
keyfunc
|
|
keyiterator
|
|
kwarg
|
|
kwargs
|
|
kwdefaults
|
|
kwonlyargcount
|
|
lastgroup
|
|
lastindex
|
|
linearization
|
|
linearize
|
|
listcomp
|
|
longrange
|
|
lvalue
|
|
mappingproxy
|
|
markupbase
|
|
maskpri
|
|
maxdigits
|
|
MAXGROUPS
|
|
MAXREPEAT
|
|
maxsplit
|
|
maxunicode
|
|
memoryview
|
|
memoryviewiterator
|
|
metaclass
|
|
metaclasses
|
|
metatype
|
|
mformat
|
|
mro
|
|
mros
|
|
multiarch
|
|
mymodule
|
|
namereplace
|
|
nanj
|
|
nbytes
|
|
ncallbacks
|
|
ndigits
|
|
ndim
|
|
needsfree
|
|
nldecoder
|
|
nlocals
|
|
NOARGS
|
|
nonbytes
|
|
Nonprintable
|
|
onceregistry
|
|
origname
|
|
ospath
|
|
outfd
|
|
pendingcr
|
|
phello
|
|
platlibdir
|
|
popleft
|
|
posixsubprocess
|
|
posonly
|
|
posonlyargcount
|
|
prepending
|
|
profilefunc
|
|
pycache
|
|
pycapsule
|
|
pycodecs
|
|
pycs
|
|
pydatetime
|
|
pyexpat
|
|
PYGILSTATE
|
|
pyio
|
|
pymain
|
|
PYTHONAPI
|
|
PYTHONBREAKPOINT
|
|
PYTHONDEBUG
|
|
PYTHONDONTWRITEBYTECODE
|
|
PYTHONFAULTHANDLER
|
|
PYTHONHASHSEED
|
|
PYTHONHOME
|
|
PYTHONINSPECT
|
|
PYTHONINTMAXSTRDIGITS
|
|
PYTHONIOENCODING
|
|
PYTHONNODEBUGRANGES
|
|
PYTHONNOUSERSITE
|
|
PYTHONOPTIMIZE
|
|
PYTHONPATH
|
|
PYTHONPATH
|
|
PYTHONSAFEPATH
|
|
PYTHONUNBUFFERED
|
|
PYTHONVERBOSE
|
|
PYTHONWARNDEFAULTENCODING
|
|
PYTHONWARNINGS
|
|
pytraverse
|
|
PYVENV
|
|
qualname
|
|
quotetabs
|
|
radd
|
|
rdiv
|
|
rdivmod
|
|
readall
|
|
readbuffer
|
|
reconstructor
|
|
refcnt
|
|
releaselevel
|
|
reraised
|
|
reverseitemiterator
|
|
reverseiterator
|
|
reversekeyiterator
|
|
reversevalueiterator
|
|
rfloordiv
|
|
rlshift
|
|
rmod
|
|
rpow
|
|
rrshift
|
|
rsub
|
|
rtruediv
|
|
rvalue
|
|
scproxy
|
|
seennl
|
|
setattro
|
|
setcomp
|
|
setprofileallthreads
|
|
setrecursionlimit
|
|
setswitchinterval
|
|
settraceallthreads
|
|
showwarnmsg
|
|
signum
|
|
sitebuiltins
|
|
slotnames
|
|
STACKLESS
|
|
stacklevel
|
|
stacksize
|
|
startpos
|
|
subclassable
|
|
subclasscheck
|
|
subclasshook
|
|
subclassing
|
|
suboffset
|
|
suboffsets
|
|
SUBPATTERN
|
|
subpatterns
|
|
sumprod
|
|
surrogateescape
|
|
surrogatepass
|
|
sysconf
|
|
sysconfigdata
|
|
sysdict
|
|
sysvars
|
|
teedata
|
|
thisclass
|
|
titlecased
|
|
tkapp
|
|
tobytes
|
|
tolist
|
|
toreadonly
|
|
TPFLAGS
|
|
tracefunc
|
|
unimportable
|
|
unionable
|
|
unraisablehook
|
|
unsliceable
|
|
urandom
|
|
valueiterator
|
|
vararg
|
|
varargs
|
|
varnames
|
|
warningregistry
|
|
warnmsg
|
|
warnoptions
|
|
warnopts
|
|
weaklist
|
|
weakproxy
|
|
weakrefs
|
|
weakrefset
|
|
winver
|
|
withdata
|
|
xmlcharrefreplace
|
|
xoptions
|
|
xopts
|
|
yieldfrom
|