| Age | Commit message (Collapse) | Author |
|
py/builtinmath.c: use tgamma() instead of gamma().
|
|
gamma() is now deprecated.
|
|
Switch to checking for the __APPLE__ and __MACH__ macros.
|
|
objint_mpz: Quick&dirty implementation of bitwise operations.
|
|
|
|
Made solely to unbreak int-long.py test which in turn uncovered thinko
with implementation of inplace ops. On mpz level, bitwise ops implemented
only for same-sign numbers, and are not efficient (unconditional calling of
mpn_cmp() is apparently superfluous).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixed some math functions and added more exceptions.
|
|
|
|
Fixed some math functions and added more exceptions.
|
|
|
|
intdivmod.c and tests/basics/modulo.py.
|
|
|
|
|
|
This is required to properly handle exceptions across yields.
|
|
arguments). Comment out the errors that aren't needed if memory becomes an issue.
|
|
|
|
|
|
|
|
|
|
|
|
This is pre-requisite for having efficient implementation of str<->bytes
conversion, and having that efficient is required with unfortunare
str vs bytes dichotomy in Python3.
|
|
|
|
|
|
|
|
Implement str.partition and add tests for it.
|
|
|
|
|
|
|
|
Switch str.rpartition to search from left to right. Factor the
duplicate code into one helper function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Remove unnecessary includes. Add includes that improve portability.
|
|
|