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

Make monkeyYaml Python3 compatible #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mi-ac
Copy link

@mi-ac mi-ac commented Feb 11, 2022

Python2 allows <int> < None which evaluates to False. In Python3 this raises an exception. See:
https://crbug.com/1296209

Initializing with 0 preserves the logic and works in both Python versions.

Python2 allows `<int> < None` which evaluates to False. In Python3 this raises an exception. See:
https://crbug.com/1296209

Initializing with 0 preserves the logic and works in both Python versions.
@Ms2ger
Copy link
Contributor

Ms2ger commented Feb 14, 2022

Ping @jugglinmike

@FrankYFTang
Copy link

I am blocked by this in v8.

@FrankYFTang
Copy link

Ping @jugglinmike

@FrankYFTang
Copy link

@leobalter could you approve and merge this. we got blocked by this in v8.

cclauss added a commit to cclauss/test262-harness-py that referenced this pull request Apr 15, 2023
@cclauss
Copy link

cclauss commented Apr 15, 2023

Proven in #13 and used there to fix failing pytests.

Copy link

@cclauss cclauss left a comment

Choose a reason for hiding this comment

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

This is an essential change for Python 3.

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

Successfully merging this pull request may close these issues.

4 participants