#3346 SSSDConfig: Python 3.6 invalid escape sequence deprecation fix
Merged by scop. Opened by scop.
SSSD/ scop/sssd py36esc  into  master

Download 3346.patch

https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior

How did you find this issue?

BTW CI passed http://sssd-ci.duckdns.org/logs/job/65/28/summary.html

I think that this part should be covered in src/config/SSSDConfigTest.py but I could not see any warning without patch. This is a reason why I asked the question in previous comment. I would like to cover such things in unit tests (if possible).

How did you find this issue?

Basically ran something like this over all python things I have installed (i.e. in /usr/lib/python site-packages dirs), with "python" being the Python 3.6 executable:

find . -name "*.py" | xargs -n 1 python -Wd -m py_compile 2>&1 | grep Depre

Commit 00172861 fixes this pull-request

Pull-Request has been merged by ville.skytta@iki.fi

Metadata