Skip to content
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

pypy2 #8

Open
RamKromberg opened this issue Apr 12, 2022 · 0 comments
Open

pypy2 #8

RamKromberg opened this issue Apr 12, 2022 · 0 comments

Comments

@RamKromberg
Copy link

RamKromberg commented Apr 12, 2022

I tried running pdfsizeopt with pypy2 but __cmp__ isn't available. Porting requires re-implementing the relevant methods (only 3-4 one liners I believe) with rich comparisons but since I don't actually understand the underlying logic behind the castings, I can't do it. Seeing how you're be more familiar with the code base and python, I figured you might want to have a crack at it.

REF: https://portingguide.readthedocs.io/en/latest/comparisons.html

Anyhow, I'm not sure it's the only problem or whether pypy2 maintenance will continue (currently they're back-porting some features here and there but mostly just security fixes), but this one seems to overlap with python3 changes to python2 anyhow so it will need to be sorted out for any future porting attempts regardless so it should be a viable first step at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant