Has that changed?
Has that changed?
Unfortunately I dont have the regex at hand, just remembering it was something with groups and backtracking.
http://pypy.org/compat.html mentions compatiblity according to the standard library. This is fine for (web) servers and command line applications.
But what about desktop applications? Can I (someday) take a PyQt or PyGTK code and compile it with PyPy without modifications?
cpyext is a hack to let PyPy run Python/C API modules. It works for some, but not all, and it's slow. I'm sure it'll keep getting better, but not sure if it'll ever be good enough to run PyGTK or PyQt.
PyPy has good support for ctypes, so ctypes bindings are a good option. There are projects out there like pygir-ctypes and ctypes-gtk. One of them just needs to become complete enough to be a good choice for GTK programming. Compatibility with new PyGObject is more likely than compatibility with legacy PyGTK, though.
PyQt is harder because it's C++.
I expect to see quite a lot of improvement in that area as a side effect of the work on numpy.
also, when i looked at pypy the re implementation was in c and looked so similar to cpython's i assumed it was the same or closely related. but i didn't pay much attention, so i may be mistaken.
[1] roughly. it actually runs 6x faster on recent pypy that cpython.