Patch #1957: syslogmodule: Release GIL when calling syslog(3)
diff --git a/Misc/NEWS b/Misc/NEWS
index e1fc418..7c81958 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1193,6 +1193,8 @@
 Extension Modules
 -----------------
 
+- Patch #1957: syslogmodule: Release GIL when calling syslog(3)
+
 - #2112: mmap.error is now a subclass of EnvironmentError and not a
   direct EnvironmentError
 
diff --git a/Modules/syslogmodule.c b/Modules/syslogmodule.c
index 4a77916..9e1ed06 100644
--- a/Modules/syslogmodule.c
+++ b/Modules/syslogmodule.c
@@ -92,7 +92,9 @@
 			return NULL;
 	}
 
+	Py_BEGIN_ALLOW_THREADS;
 	syslog(priority, "%s", message);
+	Py_END_ALLOW_THREADS;
 	Py_INCREF(Py_None);
 	return Py_None;
 }