This is trivial: pyatspi has an invalid escape sequence, which generates a deprecation warning in Python 3.6. I've tested the change on my system (which has python 3.4) and didn't see any obvious regressions.

https://bugzilla.gnome.org/show_bug.cgi?id=780030

Thanks,
-Mike
From cec3aa4affda541269a0e48f3e2a581a6091779e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <[email protected]>
Date: Tue, 14 Mar 2017 13:35:51 +0200
Subject: [PATCH] Python 3.6 invalid escape sequence deprecation fix

https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
---
 pyatspi/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyatspi/utils.py b/pyatspi/utils.py
index c7a5705..da1f3fc 100644
--- a/pyatspi/utils.py
+++ b/pyatspi/utils.py
@@ -339,7 +339,7 @@ def attributeListToHash(list):
         ret = dict()
         for item in list:
                 [key, val] = item.split(":")
-                val = val.replace(":", "\:")
+                val = val.replace(":", r"\:")
                 if ret.__contains__(key):
                     ret[key] = ret[key] + ":" + val
                 else:
-- 
2.9.3

_______________________________________________
[email protected]
https://mail.gnome.org/mailman/listinfo/release-team
Release-team lurker? Do NOT participate in discussions.

Reply via email to