#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 mtredinnick):

 @dcwatson: yours is a case of using our internal daemonisation process for
 external usage. That's definitely a situation where closing the external
 descriptors would be necessary. We've written that thing for internal
 usage only, but once again people have fallen for the "everything in
 `django.utils.*` is intended for public reuse trap (it's not).

 This is a case where Django really shouldn't be supplying that stuff for
 public reuse; it's not our domain. We're providing a web/database
 framework, not something that provides extra utilities like daemonising
 functionality -- those are better provided by other frameworks. This patch
 would help bring `django.utils.daemonise` up to that level of utility, but
 for 1.0 that isn't a goal. The patch in some form will go in post-1.0, but
 it's not a necessary bug fix at the moment (and the API stability document
 for 1.0 will make it clear what portions of `django.utils` are available
 for public usage.

 I realise it looks like a simple case and what could possibly go wrong?
 But it's a feature addition: there is no bug in the way this thing is used
 in Django and it is not intended as public API.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8540#comment:7>
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