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

i#2626 a64 decoder: escape sequences in codec.py rejected by Python 3.12 #7130

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

philramsey-arm
Copy link
Collaborator

@philramsey-arm philramsey-arm commented Dec 13, 2024

Python 3.12 is strict about escape characters - '\^' is not a valid escape sequence.

Add the 'r' prefix to strings containing '\^' so they are treated as raw strings.

Issue: #2626

Python 3.12 is strict about escape characters - '\^' is not a
valid escape sequence.

Add the 'r' prefix to strings containing '\^' so they are treated as
raw strings.

Issue: #2626
core/ir/aarch64/codec.py Show resolved Hide resolved
@philramsey-arm philramsey-arm changed the title Issue: #2626 - escape sequences in codec.py rejected by Python 3.12 i#2626 a64 decoder: escape sequences in codec.py rejected by Python 3.12 Dec 16, 2024
@philramsey-arm philramsey-arm merged commit eb4a4b8 into master Dec 16, 2024
17 checks passed
@philramsey-arm philramsey-arm deleted the i#2626-fix_python3_escape_sequences branch December 16, 2024 12:32
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