]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-48020: [docs] Remove the logging howto suggested future FileHandler multipr...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 7 Nov 2024 10:03:58 +0000 (11:03 +0100)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 10:03:58 +0000 (10:03 +0000)
gh-48020: [docs] Remove the logging howto suggested future FileHandler multiprocessing support (GH-126531)

Docs: Remove the logging howto potential promise of multiprocessing support in the future.

Stick to the facts and suggestions, don't provide hope where we're not going to
implement complexity that we'd rather the user implement themselves when
needed.
(cherry picked from commit 1fe67df8e373a5177143e4a310c83438e79f9b77)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/howto/logging-cookbook.rst

index 96768ec4ae31f14eaea89e66b6b808c84616a2ad..849a7526d401803d863315ad493d0018e5004a2f 100644 (file)
@@ -1267,11 +1267,8 @@ to adapt in your own applications.
 
 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
-working lock functionality on all platforms (see
-https://bugs.python.org/issue3770).
+file from your processes. The stdlib :class:`FileHandler` and subclasses do
+not make use of :mod:`multiprocessing`.
 
 .. currentmodule:: logging.handlers