#7842: backport fix for py_compile.compile syntax error message handling.
diff --git a/Misc/NEWS b/Misc/NEWS
index 79e350a..d03d7c6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -208,6 +208,8 @@
 Library
 -------
 
+- Issue #7842: backported fix for py_compile.compile() syntax error handling.
+
 - Issue #13153: Tkinter functions now raise TclError instead of ValueError when
   a unicode argument contains non-BMP character.