backports.datetime_fromisoformat
backports.datetime_fromisoformat copied to clipboard
Add support for PyPy
It would be nice if this library also worked with PyPy. It might not be that hard to get it working.
Known issues
Py_UNICODE_IS_SURROGATEdoesn't exist in PyPy- Easy to vendor
_PyUnicode_Copydoesn't exist in PyPy- Read https://github.com/python/cpython/pull/8959 for context, then vendor?
- The way we monkeypatch the methods is very cPython specific
- Figure out the proper PyPy way