On Thu, Aug 1, 2019 at 9:19 AM Andrew Barnert via Python-ideas <python-ideas@python.org> wrote:

> Given that in 3.x every stdlib module is supposed to be in Python with an optional C accelerator,

Is this written down somewhere? And when was that policy decided? 

When we added math.is_close() (
https://www.python.org/dev/peps/pep-0485/) someone (Victor Stinner?) re-wrote the math module as a Python wrapper around the C one, so we could add pure Python functions to it. But that was rejected, and we stuck with pure C for that one.

Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython