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

tools: update sdwrap.py to use Python3.8 features #54348

Closed
wants to merge 2 commits into from

Conversation

RedYetiDev
Copy link
Member

Node.js can't be built without Python 3.8, so this PR updates the sdwrap.py file to use features introduced up until that point.

Ref: #54112

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Aug 13, 2024
@RedYetiDev RedYetiDev added the python PRs and issues that require attention from people who are familiar with Python. label Aug 13, 2024
@richardlau
Copy link
Member

Node.js can't be built without Python 3.8, so this PR updates the sdwrap.py file to use features introduced up until that point.

Ref: #54112

This file is only used on z/OS.
cc @nodejs/platform-zos


return 0
firstline = True
while (line := args.input.read(72)):
Copy link
Member

Choose a reason for hiding this comment

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

This change also updates indentation from 2 to 4.

@RedYetiDev RedYetiDev added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Aug 13, 2024
@RedYetiDev RedYetiDev closed this Sep 1, 2024
@RedYetiDev
Copy link
Member Author

I'm going to do this in conjunction with some lint changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. python PRs and issues that require attention from people who are familiar with Python. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants