From: Cheryl Sabella Date: Tue, 2 Oct 2018 16:35:05 +0000 (-0400) Subject: Remove recent from logging cookbook (GH-9636) X-Git-Tag: v3.8.0a1~846 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11c4eaa99362f91c7faea88e31df3e46af020023;p=thirdparty%2FPython%2Fcpython.git Remove recent from logging cookbook (GH-9636) --- diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index 285aff7937c3..83c2d49c6d2a 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -721,9 +721,8 @@ existing processes to perform this function.) includes a working socket receiver which can be used as a starting point for you to adapt in your own applications. -If you are using a recent version of Python which includes the -:mod:`multiprocessing` module, you could write your own handler which uses the -:class:`~multiprocessing.Lock` class from this module to serialize access to the +You could also write your own handler which uses the :class:`~multiprocessing.Lock` +class from the :mod:`multiprocessing` module to serialize access to the file from your processes. The existing :class:`FileHandler` and subclasses do not make use of :mod:`multiprocessing` at present, though they may do so in the future. Note that at present, the :mod:`multiprocessing` module does not provide