#8540: daemonize should close all open files
-------------------------------------+--------------------------------------
          Reporter:  paulegan        |         Owner:  nobody                   
      
            Status:  new             |     Milestone:  post-1.0                 
      
         Component:  Core framework  |       Version:  SVN                      
      
        Resolution:                  |      Keywords:  daemonize become_daemon 
fastcgi
             Stage:  Accepted        |     Has_patch:  1                        
      
        Needs_docs:  0               |   Needs_tests:  0                        
      
Needs_better_patch:  1               |  
-------------------------------------+--------------------------------------
Comment (by paulegan):

 The [source:django/trunk/django/utils/daemonize.py become_daemon] function
 has two definitions, switched on `os.name`.  The change only applies to
 the `os.name == 'posix'` version, for which `os.sysconf` should always be
 defined.

 I don't normally use Windows, but I quickly checked: the native python
 install on Windows has `os.name == 'nt'`, and cygwin python (and other
 posix-based ports) do have `os.sysconf` defined.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8540#comment:5>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to