﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35320	Remove unnecessary django.core.files.move._samefile() hook.	bcail	bcail	"Currently, there's a custom [https://github.com/django/django/blob/main/django/core/files/move.py#L16 _samefile() function] in `core/files/move.py`. It checks for whether `os.path` has a `samefile` function, and falls back to another implementation if it doesn't.

In 2012, Python [https://github.com/python/cpython/commit/490b32a3976d84eaf1d6ca8cdcb00eac0ce5055b was updated] to put `samefile` in `genericpath`, so it's always available in `os.path`.

Could we remove the custom `_samefile()` function and always use the Python version?"	Cleanup/optimization	closed	File uploads/storage	dev	Normal	fixed		bcail	Ready for checkin	1	0	0	0	0	0
