MarketSquare / MarketSquare/remoteswinglibrary

RemoteSwingLibrary.py and swinglibrary.py SyntaxWarning: invalid escape sequence - Python 3.12.6

Open
#125 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
32
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Hello,

I'm using remoteswinglibrary 2.3.3 with Python 3.12.6 on Windows 10. I have many warnings like this :

C:\Users\Public\se_Robotframework\Python312\site-packages\remoteswinglibrary-2.3.3.jar\RemoteSwingLibrary.py:284: SyntaxWarning: invalid escape sequence '\$'
C:\Users\Public\se_Robotframework\Python312\site-packages\remoteswinglibrary-2.3.3.jar\RemoteSwingLibrary.py:286: SyntaxWarning: invalid escape sequence '\$'

C:\Users\Public\se_Robotframework\Python312\site-packages\remoteswinglibrary-2.3.3.jar\swinglibrary.py:233: SyntaxWarning: invalid escape sequence '\`'
C:\Users\Public\se_Robotframework\Python312\site-packages\remoteswinglibrary-2.3.3.jar\swinglibrary.py:240: SyntaxWarning: invalid escape sequence '\`'
...

Keywords are working good but how can I get rid of theses warnings ? I have a tools that monitor all logs/error and it alert me about flood of warnings.

Thank you.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect RemoteSwingLibrary.py around lines 284 and 286 and swinglibrary.py around lines 233 and 240, using Python 3.12.6 to reproduce the warnings. Confirm the affected escape sequences no longer produce SyntaxWarning messages while the existing keywords continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.