summaryrefslogtreecommitdiffstats
path: root/Lib/_pylong.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-90716: Remove _pylong._DEBUG flag (#99063)Victor Stinner2022-11-031-9/+0
| | | | To debug the _pylong module, it's trivial to add this code again locally. There is not need to keep it in Python releases.
* gh-90716: add _pylong.py module (#96673)Neil Schemenauer2022-10-261-0/+295
Add Python implementations of certain longobject.c functions. These use asymptotically faster algorithms that can be used for operations on integers with many digits. In those cases, the performance overhead of the Python implementation is not significant since the asymptotic behavior is what dominates runtime. Functions provided by this module should be considered private and not part of any public API. Co-author: Tim Peters <tim.peters@gmail.com> Co-author: Mark Dickinson <dickinsm@gmail.com> Co-author: Bjorn Martinsson