Re: [Python-Dev] Daemon creation code in the standard library

2013-07-26 Thread Antoine Pitrou
On Fri, 26 Jul 2013 09:38:10 +0200 Ronald Oussoren wrote: > > On 25 Jul, 2013, at 4:18, Ben Finney wrote: > > > Ben Finney writes: > > > >> Work continues on the PEP 3143-compatible ‘python-daemon’, porting it to > >> Python 3 and aiming for inclusion in the standard library. > > At first gl

Re: [Python-Dev] Daemon creation code in the standard library

2013-07-26 Thread Ronald Oussoren
On 25 Jul, 2013, at 4:18, Ben Finney wrote: > Ben Finney writes: > >> Work continues on the PEP 3143-compatible ‘python-daemon’, porting it to >> Python 3 and aiming for inclusion in the standard library. At first glance the library appears to close all open files, with an option to exclude s

Re: [Python-Dev] Daemon creation code in the standard library

2013-07-26 Thread Ben Finney
Antoine Pitrou writes: > Therefore I'd be -1 on [PEP 3143] until those issues are alleviated. Cameron Simpson writes: > I have always found the convention that daemons have a umask of 0 > to be utterly bogus, because almost all library code relies on the > umask to set default security policy

Re: [Python-Dev] Daemon creation code in the standard library (was: Inherance of file descriptor and handles on Windows (PEP 446))

2013-07-25 Thread Cameron Simpson
On 25Jul2013 17:26, Antoine Pitrou wrote: | Le Thu, 25 Jul 2013 12:08:18 +1000, | Ben Finney a écrit : | > Work continues on the PEP 3143-compatible ‘python-daemon’, porting it | > to Python 3 and aiming for inclusion in the standard library. | | The PEP hasn't been formally accepted yet, howeve

Re: [Python-Dev] Daemon creation code in the standard library (was: Inherance of file descriptor and handles on Windows (PEP 446))

2013-07-25 Thread Antoine Pitrou
Le Thu, 25 Jul 2013 12:08:18 +1000, Ben Finney a écrit : > Guido van Rossum writes: > > > To reduce the need for 3rd party subprocess creation code, we should > > have better daemon creation code in the stdlib -- I wrote some damn > > robust code for this purpose in my previous job, but it never

Re: [Python-Dev] Daemon creation code in the standard library

2013-07-24 Thread Ben Finney
Ben Finney writes: > Work continues on the PEP 3143-compatible ‘python-daemon’, porting it to > Python 3 and aiming for inclusion in the standard library. At PyPI http://pypi.python.org/pypi/python-daemon/>, and development co-ordinated at Alioth https://alioth.debian.org/projects/python-daemon/

[Python-Dev] Daemon creation code in the standard library (was: Inherance of file descriptor and handles on Windows (PEP 446))

2013-07-24 Thread Ben Finney
Guido van Rossum writes: > To reduce the need for 3rd party subprocess creation code, we should > have better daemon creation code in the stdlib -- I wrote some damn > robust code for this purpose in my previous job, but it never saw the > light of day. Work continues on the PEP 3143-compatible