backports.datetime_fromisoformat icon indicating copy to clipboard operation
backports.datetime_fromisoformat copied to clipboard

Add support for PyPy

Open movermeyer opened this issue 2 years ago • 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
    • 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

movermeyer avatar Dec 01 '22 13:12 movermeyer