-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function teleportation across Python versions #370
Comments
The reason the changes made in
If you have any questions along the way, feel free to ask and I'll do my best to be helpful. Thanks a ton! |
Yeah I understand the commit, my wording of "due to ..." was wrong because before your change there wasn't even support for teleportation in 3.8, anyway. Cool then, I'll work on it and submit a PR. |
…< 3.7 and > 3.8 Enables teleportation between e.g Python 3.7 and Python 3.8. Of course the changed opcodes pose a problem too, but in many cases it just works. Closes: tomerfiliba-org#370.
Thanks again! As a side note, I did did write some unit tests when reviewing your PR and they're committed at d08cdc7. Then I used |
I've tried to use
teleport_function
today (which is one of the most magical, amazing features I've encountered); the server runs on Python 3.8 and the client runs on Python 3.7.Teleportation fails due to the change in a5f146a.
I was wondering if the lack of cross-support is intentional? It's an easy fix to be backward & forward compatible, I'd be happy to create a PR to support client 3.7 -> server 3.8 and vice versa. (Though, of course there might be bytecode differences. You get a nice
SystemError
in that case and it's sometimes solvable, so I still find it useful)The text was updated successfully, but these errors were encountered: