Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hsharsha
Copy link

@hsharsha hsharsha commented Mar 1, 2024

Python3.12 issues warning for unescaped backslash string

 SyntaxWarning: invalid escape sequence '\A'
  line_search_term = re.compile("\A\s+Name:\s+(amdgcn-amd-amdhsa--gfx\d+)")

This hampres postprocessing of the gpu ids, such as while configuring bazel.

Python3.12 issues warning for unescaped backslash string
```
 SyntaxWarning: invalid escape sequence '\A'
  line_search_term = re.compile("\A\s+Name:\s+(amdgcn-amd-amdhsa--gfx\d+)")
```
This hampres postprocessing of the gpu ids, such as while configuring bazel.
@AngryLoki
Copy link

AngryLoki commented Apr 17, 2024

This duplicates other pr #66, and I also reported this as issue #69. Unfortunately, it is still not fixed in 6.1.0.
@shwetagkhatri, could you merge any of these 2, please?

Sorry, I was not paying attention. It looks like all the necessary changes are already applied in tag 6.1.0 in 429baf0.

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.

4 participants