[issue44625] Python C API version of `fractions` module

2021-08-20 Thread Mark Dickinson
Mark Dickinson added the comment: Closing here. I think we'd need a PEP and a wider discussion to take this forward. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue44625] Python C API version of `fractions` module

2021-07-13 Thread Mark Dickinson
Mark Dickinson added the comment: No, no plans. There are tradeoffs here - the extra speed comes at the expense of increased maintenance burden. (It's certainly much harder to make minor changes and fixes to the decimal module now that it's written in C.) -- nosy: +mark.dickinson

[issue44625] Python C API version of `fractions` module

2021-07-13 Thread Azat Ibrakov
New submission from Azat Ibrakov : 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