Re: [Django] #35320: Remove unnecessary django.core.files.move._samefile() hook. (was: Always use `os.path.samefile` in `core/files/move.py`)

5 views
Skip to first unread message

Django

unread,
Mar 21, 2024, 12:43:21 AM3/21/24
to django-...@googlegroups.com
#35320: Remove unnecessary django.core.files.move._samefile() hook.
--------------------------------------+------------------------------------
Reporter: bcail | Owner: bcail
Type: Cleanup/optimization | Status: assigned
Component: File uploads/storage | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

* summary: Always use `os.path.samefile` in `core/files/move.py` => Remove
unnecessary django.core.files.move._samefile() hook.

--
Ticket URL: <https://code.djangoproject.com/ticket/35320#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages