#21602: FileSystemStorage._save() Should Save to a Temporary Filename and
Rename to
Attempt to be Atomic
-------------------------------------+-------------------------------------
Reporter: Kevin Stone | Owner: Jyry
Type: | Suvilehto
Cleanup/optimization | Status: assigned
Component: File | Version: dev
uploads/storage |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jyry Suvilehto):
I added a patch [https://github.com/django/django/pull/21308 / here].
Reviewer comments are especially welcome on whether or not this needs new
tests? in theory this change could result in ghost files in a local temp
directory if there are unhandled exceptions.
--
Ticket URL: <https://code.djangoproject.com/ticket/21602#comment:7>
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/0107019e3ca4793b-f5c8780a-0222-4dc2-a012-c880a02072f0-000000%40eu-central-1.amazonses.com.