python3-openid icon indicating copy to clipboard operation
python3-openid copied to clipboard

Fix `SyntaxWarning` on Python 3.12

Open jorenham opened this issue 1 year ago • 0 comments

On Python 3.12 the following warning is printed during installation:

/usr/local/lib/python3.12/site-packages/openid/extensions/draft/pape2.py:30: SyntaxWarning: invalid escape sequence '\d'
  TIME_VALIDATOR = re.compile('^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$')

This PR resolves this.

jorenham avatar Feb 05 '24 16:02 jorenham