Skip to content

Make monkeyYaml Python3 compatible#1

Open
mi-ac wants to merge 1 commit intomasterfrom
py3-fix
Open

Make monkeyYaml Python3 compatible#1
mi-ac wants to merge 1 commit intomasterfrom
py3-fix

Conversation

@mi-ac
Copy link
Copy Markdown
Owner

@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.
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.

1 participant