[reportlab-users] deprecation warning

Christoph Zwerschke cito at online.de
Fri Mar 19 05:21:00 EDT 2021

On 19.03.2021 10:15, Jürgen Gmach wrote:
> just updated to the latest reportalb version and now I get the
> following deprecation warning on Python 3.8 >
 > DeprecationWarning: invalid escape sequence \s
 >      _re_unit = re.compile('^\s*(.*)(i|in|cm|mm|pt|pica)\s*$'),

The warning is shown because this should be either a raw string or the 
"\s" needs double escaping.

-- Christoph

More information about the reportlab-users mailing list