[New-bugs-announce] [issue44625] Python C API version of `fractions` module

Azat Ibrakov report at bugs.python.org
Tue Jul 13 12:15:43 EDT 2021


New submission from Azat Ibrakov <azatibrakov at gmail.com>:

Are there any plans for implementing `fractions` module in C (like  for `decimal` there is a https://github.com/python/cpython/blob/main/Modules/_decimal/_decimal.c module)?
I've implemented one myself (https://github.com/lycantropos/cfractions) and from benchmarks (available at https://stackoverflow.com/a/67821911/5997596) we can see that it can be faster that current pure Python implementation.

----------
messages: 397424
nosy: lycantropos
priority: normal
severity: normal
status: open
title: Python C API version of `fractions` module

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44625>
_______________________________________


More information about the New-bugs-announce mailing list