movermeyer/backports.datetime_fromisoformat

Add support for PyPy

Opened this issue · 0 comments

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_SURROGATE doesn't exist in PyPy
    • Easy to vendor
  • _PyUnicode_Copy doesn't exist in PyPy
  • The way we monkeypatch the methods is very cPython specific
    • Figure out the proper PyPy way