#36761: Closed file handles in test URL patterns for FileResponse
-------------------------------------+-------------------------------------
     Reporter:  Mohit Sharma         |                    Owner:  (none)
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Testing framework    |                  Version:  dev
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  file-handle          |             Triage Stage:
  resource-cleanup testing           |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * resolution:   => invalid
 * status:  new => closed

Comment:

 As far as I know the usage of functions over lambdas do not ''ensure
 better resource management'' and it's not something you've provided
 supporting evidence for.

 If it was the case and we were dealing with a resource management problem
 when running test we might want to consider replacing the usage of lambdas
 where it makes sense but we certaintly don't want to change some instances
 and not others as it's a slippery slope for noisy contributions.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36761#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019adccd29f7-e59253ab-2717-4c49-933f-945f7b2c962b-000000%40eu-central-1.amazonses.com.

Reply via email to