#24286: Move django.core.files.locks to django.utils.locks --------------------------------------+------------------------------------ Reporter: aaugustin | Owner: gmunumel Type: Cleanup/optimization | Status: assigned Component: Utilities | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by timgraham): I'm less enthusiastic about the idea after seeing `django/core/files/move.py` which is a file utility that only relies on locks (but documented) and #20488 which adds `django/core/files/copy.py` which also seems suitable for `utils`. I guess most of `django.core.files` could go in `utils` if we had to do it over again, but not sure there's much benefit in splitting things now. Aymeric, did you have any more motivation than what you stated in the ticket? -- Ticket URL: <https://code.djangoproject.com/ticket/24286#comment:6> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.3b8fad562f796666a69bc78a63399b55%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.