#6482 closed (invalid)
Prevent file descriptor leaks
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Wrap all opened files in try-finally blocks and close the
descriptors.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | 0007-Prevent-file-descriptor-leaks.patch added |
---|
comment:1 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Question on django-dev:
http://groups.google.com/group/django-developers/browse_thread/thread/07c125cc9f2446cb
Note:
See TracTickets
for help on using tickets.
I think this is not necessary. If the reference counter goes down to zero the file descriptor
will be closed.