A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-August/127791.html below:

[Python-Dev] Inherance of file descriptor and handles on Windows (PEP 446)

[Python-Dev] Inherance of file descriptor and handles on Windows (PEP 446) [Python-Dev] Inherance of file descriptor and handles on Windows (PEP 446)Victor Stinner victor.stinner at gmail.com
Mon Aug 5 14:56:06 CEST 2013
2013/7/27 Nick Coghlan <ncoghlan at gmail.com>:
>> Do we even need a new PEP, or should we just do it? Or can we adapt
>> Victor's PEP 446?
>
> Adapting the PEP sounds good - while I agree with switching to a sane
> default, I think the daemonisation thread suggests there may need to
> be a supporting API to help force FDs created by nominated logging
> handlers to be inherited.

Why would a Python logging handler be used in a child process? If the
child process is a fresh Python process, it starts with the default
logging handlers (no handler).

Files opened by the logging module must be closed on exec().

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4