You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this warnings when using pyinstaller under Windows 11:
...\site-packages\pony\thirdparty\decorator.py:62: SyntaxWarning: invalid escape sequence '\s'
DEF = re.compile('\sdef\s([\w][\w\d])\s(')
...\site-packages\pony\orm\dbapiprovider.py:91: SyntaxWarning: invalid escape sequence '.'
version_re = re.compile('[0-9.]+')
I think that following changes in the relevant modules will solve this problem:
DEF = re.compile('\sdef\s([\w][\w\d])\s(') -> DEF = re.compile(r'\sdef\s([\w][\w\d])\s(')
version_re = re.compile('[0-9.]+') -> version_re = re.compile(r'[0-9.]+')
The text was updated successfully, but these errors were encountered:
I get this warnings when using pyinstaller under Windows 11:
...\site-packages\pony\thirdparty\decorator.py:62: SyntaxWarning: invalid escape sequence '\s'
DEF = re.compile('\sdef\s([\w][\w\d])\s(')
...\site-packages\pony\orm\dbapiprovider.py:91: SyntaxWarning: invalid escape sequence '.'
version_re = re.compile('[0-9.]+')
I think that following changes in the relevant modules will solve this problem:
DEF = re.compile('\sdef\s([\w][\w\d])\s(') -> DEF = re.compile(r'\sdef\s([\w][\w\d])\s(')
version_re = re.compile('[0-9.]+') -> version_re = re.compile(r'[0-9.]+')
The text was updated successfully, but these errors were encountered: