Skip to content

Use octal for mode defaults #9670

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

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Use octal for mode defaults #9670

merged 1 commit into from
Feb 3, 2023

Conversation

Akuli
Copy link
Collaborator

@Akuli Akuli commented Feb 3, 2023

Don't know if this makes a difference in IDEs, but at least it makes the stubs more readable: you can see what the mode means by looking at the stub.

Found with git grep -o 'mode: int = [0-9][0-9]*'.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2023

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood merged commit 37a180e into python:main Feb 3, 2023
@Akuli Akuli deleted the modeoct branch February 21, 2023 12:25
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.

3 participants