Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I don't know what's the issue. PyPy shouldn't have breaking changes. They're targeting Python 2.7.x which is a frozen specification.

In the unlikely case that a new release causes code that worked in a previous release to fail, it's simply exposing a bug in either the new or old release.



sort by: page size:

What's wrong with PyPy?

In what way does PyPy break compatibility?

> PyPy has stagnated

seems to me that they just released updates bringing it in alignment with python 3.6, which is only one version behind current, no? I'm curious why they couldn't run the pure python implementations through PyPy to test...


No the fault in that situation is a user blindly upgrading PyPy without testing the totality of their software package and its dependencies.

Expecting bad code to magically work forever is unrealistic and hinders progress.


Eh, there are still huge legacy codebaes around that benefit from pypy, not everything is worth a rewrite

why is PyPy not just skipping current Python 3.6 effort and goes directly to 3.7 or at least doing that once in a while (skipping in between versions) ?

Well, the fact that they're running it in PyPy makes all of this that much more challenging to debug - you'd have to look at the runtime-generated bytecode to identify the actual causes.

They are completely different, incompatible approaches. Pypy in particular has a C compatibility issue.

You mean 1.9 is not the last stable PyPy?

Last time I checked, PyPy was not compatible with modules written in C for CPython. IIRC, they wanted to correct that.

Except when dealing with things that tend to require speed, PyPy is short in some respect in that the code won't work.

This has happened to me 5 or 6 times now. At this point I just stick to stock python.


PyPy breaks CPython APIs. Python language stuff is very well supported.

According to the footnote he tested with pypy 1.9. There was just a post here a day or two ago that pypy 2.3.1 was release. Seems like one should at least use the latest version when testing. Pypy 1.9 was release 2 years ago.

And PyPy breaks some Python code (eg: most C extensions are very slow) in the process. PyPy is a different dialect of Python.

What is stopping PyPy from getting more widespread adoption in the Python community? Surely it isn't that everyone is using the latest version of CPython; it's been years and many are still using 2.7.

Of course, "no regressions" is another condition. With PyPy lots of C extensions break.

Last time I checked, PyPy wasn't compatible with modules written in C. That's a show stopper for many of us.

Is there something preventing you from using PyPy today?

A lot of libraries aren't tested with/don't work with pypy.


It is also wrong, as PyPy interpreting Python 2.7 runs well in Python 3.
next

Legal | privacy