You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry you ran into that, this is something we're actively working on. The problem is that we don't have a reasonable return value for imp.get_magic, so we abort in order to know if anyone was trying to call it. (Side note -- throwing an exception in Python is not always a safe way to signal an error like this, since there are many times that Python will swallow all exceptions, so our only choice is to abort.)
This behavior has changed on master: we took out imp.get_magic so now you get an AttributeError. I have a WIP patch that changes this again, to have imp.get_magic return a random value -- this is hacky but seems to have the best compatibility properties.
So anyway, if you have the chance I'd recommend testing against the latest master. We made some pretty big changes to these sorts of issues in #1357, beyond just imp.get_magic, so you're likely to have better luck.
Building Pyston is currently pretty time-consuming, so separately, we should work on getting out pre-built releases more often. In the meantime I can get out a quick point-release if you're interested.
Not a problem, I was able to work around it on install time in a very hackish PR in the meantime, see pyenv/pyenv#718. If you want to do a point-release later I can update the PR.
I could also try hacking a pyston-dev definition to pull and build pyston against master but it would be another day.
Hi. I'm trying to adapt pyston 0.5.1 to install under pyenv and I get this, it also happens from the console:
Tested also using LANG=C pyston and LANG=POSIX. Also tested on the latest Docker image:
The text was updated successfully, but these errors were encountered: