Documentation | waf.py: SyntaxWarning: invalid escape sequence (#58)

Frank Kuehndel (@frank_k) gitlab at rtems.org
Wed Dec 18 21:40:18 UTC 2024




Frank Kuehndel commented: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/issues/58#note_117031


The current warnings (Python 3.11 prints these messages when it compiles the code; rtems-docs `de527cdcf8dad014f66733854068c908fd422dfc`):

```
/home/minna/src/rtems-docs/common/waf.py:111: SyntaxWarning: invalid escape sequence '\D'
  ver = tuple(map(int, re.split('[\D]', version)))
/home/minna/src/rtems-docs/common/waf.py:118: SyntaxWarning: invalid escape sequence '\D'
  ver = tuple(map(int, re.split('[\D]', version)))
/home/minna/src/rtems-docs/common/waf.py:418: SyntaxWarning: invalid escape sequence '\?'
  no_hash = re.sub(b'\?v=[a-z0-9]{8}', b'', fp.read())
/home/minna/src/rtems-docs/common/waf.py:419: SyntaxWarning: invalid escape sequence '\?'
  no_digest = re.sub(b'\?digest=[a-z0-9]{20}', b'', no_hash)
/home/minna/src/rtems-docs/common/latex.py:9: SyntaxWarning: invalid escape sequence '\d'
  '\documentclass[a4paper,11pt,english]{report}']
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/issues/58#note_117031
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241218/ef3ae7c5/attachment-0001.htm>


More information about the bugs mailing list