Skip to content

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

Closed
avivkeller wants to merge 2 commits into
nodejs:mainfrom
avivkeller:patch-91
Closed

tools: update sdwrap.py to use Python3.8 features#54348
avivkeller wants to merge 2 commits into
nodejs:mainfrom
avivkeller:patch-91

Conversation

@avivkeller

Copy link
Copy Markdown
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-botnodejs-github-bot added the tools Issues and PRs related to the tools directory. label Aug 13, 2024
@avivkelleravivkeller added the python PRs and issues that require attention from people who are familiar with Python. label Aug 13, 2024
@richardlau

Copy link
Copy Markdown
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

Comment threadtools/zos/sdwrap.py Outdated

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

Copy link
Copy Markdown
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.

@avivkelleravivkeller 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
@avivkeller

Copy link
Copy Markdown
MemberAuthor

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

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-squashAdd this label to instruct the Commit Queue to squash all the PR commits into the first one.pythonPRs and issues that require attention from people who are familiar with Python.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@avivkeller@richardlau@anonrig@nodejs-github-bot