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

@Mirochill Mirochill commented May 21, 2026

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

Not run locally.

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