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

elf2bin.py - Fix syntax warning #9034

Merged
merged 1 commit into from
Nov 17, 2023
Merged

elf2bin.py - Fix syntax warning #9034

merged 1 commit into from
Nov 17, 2023

Conversation

juherr
Copy link
Contributor

@juherr juherr commented Nov 17, 2023

Remove warning when building with Python >=3.11:

/Users/juherr/.platformio/packages/framework-arduinoespressif8266/tools/elf2bin.py:54: SyntaxWarning: invalid escape sequence '\s'
  words = re.split('\s+', line)
/Users/juherr/.platformio/packages/framework-arduinoespressif8266/tools/elf2bin.py:73: SyntaxWarning: invalid escape sequence '\s'
  words = re.split('\s+', line)

See https://adamj.eu/tech/2022/11/04/why-does-python-deprecationwarning-invalid-escape-sequence/ for more details about the warning.

@mcspr mcspr changed the title Fix syntax warning elf2bin.py - Fix syntax warning Nov 17, 2023
Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

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

thanks

@d-a-v d-a-v merged commit 0301465 into esp8266:master Nov 17, 2023
28 checks passed
@juherr juherr deleted the patch-1 branch November 18, 2023 06:43
hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request Nov 18, 2024
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.

2 participants