Skip to content

Fix SteamID regex syntax warnings#490

Draft
Mirochill wants to merge 1 commit into
ValvePython:masterfrom
Mirochill:fix-489-steamid-syntaxwarnings
Draft

Fix SteamID regex syntax warnings#490
Mirochill wants to merge 1 commit into
ValvePython:masterfrom
Mirochill:fix-489-steamid-syntaxwarnings

Conversation

@Mirochill
Copy link
Copy Markdown

Fixes #489.

This removes the Python 3.14 SyntaxWarning messages reported when importing steam.steamid:

  • keep the CS:GO friend-code regex escape inside a raw string fragment
  • make the group OpenGroupChat(...) regex a raw string
  • add a focused regression for extracting a group SteamID from the mocked group-page markup

Local tests were not run because my contribution workspace policy forbids executing third-party project test suites, builds, linters, installers, or project scripts locally. I did run static whitespace validation with git diff --check HEAD~1..HEAD, which passed.

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.

[BUG] SyntaxWarning when importing SteamID in python 3.14

1 participant