SF patch #1056967, changes the semantics of Template.safe_substitute() to not
raise a ValueError for dangling delimiters (the delimiter itself is returned).
diff --git a/Misc/NEWS b/Misc/NEWS
index 001152a..a75dff1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -56,6 +56,10 @@
 Library
 -------
 
+- Patch #1056967 changes the semantics of Template.safe_substitute() so that
+  no ValueError is raised on an 'invalid' match group.  Now the delimiter is
+  returned.
+
 - Bug #1052503 pdb.runcall() was not passing along keyword arguments.
 
 - Bug #902037: XML.sax.saxutils.prepare_input_source() now combines relative