tags 798023 patch thanks For reference, here is the diff that has been used upstream to fix it -- from https://bitbucket.org/cthedot/cssutils/commits/866a29f7e03447199ba22fb114d42a7aab027db9/raw/
# HG changeset patch # User Daniel <kingdr...@gmx.de> # Date 1444041820 -7200 # Node ID 866a29f7e03447199ba22fb114d42a7aab027db9 # Parent 55bfdcc15a4eb1be3575a08ffeacaa98744c0345 Fix bad octal escape on python 3.5 diff --git a/src/cssutils/profiles.py b/src/cssutils/profiles.py --- a/src/cssutils/profiles.py +++ b/src/cssutils/profiles.py @@ -102,7 +102,7 @@ 'nmstart': r'[_a-z]|{nonascii}|{escape}', 'nonascii': r'[^\0-\177]', 'unicode': r'\\[0-9a-f]{1,6}(\r\n|[ \n\r\t\f])?', - 'escape': r'{unicode}|\\[ -~\200-\777]', + 'escape': r'{unicode}|\\[ -~\u0080-\u01ff]', # 'escape': r'{unicode}|\\[ -~\200-\4177777]', 'int': r'[-]?\d+', 'nmchar': r'[\w-]|{nonascii}|{escape}',