Skip to content

SyntaxWarning: invalid escape sequence#651

Open
tidiemme wants to merge 2 commits intoma1co:masterfrom
tidiemme:master
Open

SyntaxWarning: invalid escape sequence#651
tidiemme wants to merge 2 commits intoma1co:masterfrom
tidiemme:master

Conversation

@tidiemme
Copy link

On MacOs 15.6 with Python 3.13.5 there are couple of warnings

Sony-PMCA-RE/pmca/marketclient/init.py:32: SyntaxWarning: invalid escape sequence '\d'
r = re.compile('

.?(?P.?).?Serial:(?P.?)', re.DOTALL)
Sony-PMCA-RE/pmca/marketclient/init.py:45: SyntaxWarning: invalid escape sequence '\s'
yield MarketApp(app['app_id'], re.sub('\s+', ' ', app['app_name']), app['appimg_url'], None if app['app_price'] == 'Free' else app['app_price'], int(app['regist_date']))
Sony-PMCA-RE/pmca/shell/parser.py:18: SyntaxWarning: invalid escape sequence '\s'
m = self._consume('\s+')
Sony-PMCA-RE/pmca/shell/parser.py:34: SyntaxWarning: invalid escape sequence '\s'
m = self._consume('([^\s"\'\\\\]|\\[^\s])*(\\(?=(\s|$)))?')
Sony-PMCA-RE/pmca/shell/parser.py:46: SyntaxWarning: invalid escape sequence '\s'
while self.available() and not self._match('\s'):

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