platform_external_selinux/python
Ville Skyttä fba9d01035 Python 3.6 invalid escape sequence deprecation fixes
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior

A backslash-character pair that is not a valid escape sequence now
generates a DeprecationWarning. Although this will eventually become a
SyntaxError, that will not be for several Python releases.

The problem appears when you use '-W error':

$ python3 -W error -c 'import re; re.findall("[^a-zA-Z0-9_\-\.]", " *%$")'
  File "<string>", line 1
SyntaxError: invalid escape sequence \-

Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>

[ Edited commit message as per suggestion from Petr Lautrbach ]
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2017-03-10 15:56:36 -05:00
..
audit2allow Re-link programs after libsepol.a is updated 2017-01-18 16:41:34 -05:00
chcat Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
semanage Python 3.6 invalid escape sequence deprecation fixes 2017-03-10 15:56:36 -05:00
sepolgen Python 3.6 invalid escape sequence deprecation fixes 2017-03-10 15:56:36 -05:00
sepolicy Python 3.6 invalid escape sequence deprecation fixes 2017-03-10 15:56:36 -05:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
VERSION Add VERSION files for new components 2016-11-16 11:19:51 -05:00