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
{{ message }}
Repository navigation
0.42: invalid escape sequence in RequestOptions.vf docstring breaks import under -W error (fixed in #1893, unreleased) #1915
In 0.42, the RequestOptions.vf() docstring in tableauserverclient/server/request_options.py contains \, in a non-raw string (Rock\, Paper\, Scissors, line 381). Python 3.12+ emits SyntaxWarning: invalid escape sequence '\,' when it compiles the module, and any project that runs its tests with warnings as errors (pytest filterwarnings = error, python -W error) fails to import tableauserverclient:
SyntaxError: invalid escape sequence '\,'
This keeps such projects on 0.41.
Fix
This is already fixed on development by #1893 (merged 2026-10-21), which doubles the backslashes. It isn't in a release yet: 0.42 was published on 2026-10-15, before that merge.
Activity
baruchoxman commentedon Nov 13, 2026
Closing: already fixed on development by #1893.