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

port pypy plugin to python3 #2662

Merged
merged 1 commit into from
Sep 8, 2024
Merged

port pypy plugin to python3 #2662

merged 1 commit into from
Sep 8, 2024

Conversation

niol
Copy link
Contributor

@niol niol commented Aug 29, 2024

No description provided.

@xrmx xrmx merged commit f31b4e7 into unbit:master Sep 8, 2024
25 checks passed
@xrmx
Copy link
Collaborator

xrmx commented Sep 8, 2024

Thanks!

Comment on lines +344 to +347
from paste.script.util.logging_config import fileConfig
fileConfig(c)
except ImportError:
print("PyPy WARNING: unable to load logging.config")
print("PyPy WARNING: unable to load paste.script.util.logging_config")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this some old patch that has been forwarded? This have been changed in 71464fb

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is, will review this better and submit fixes in the coming days.

c = c[7:]
if c[0] != '/':
c = os.getcwd() + '/' + c
if c[0] != b'/'[0]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This [0] is strange

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems useless, you're right.

@niol niol deleted the pypy3 branch October 7, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants