New submission from Deniz Bozyigit :
When using shutil.copyfile on the Google Drive File Stream file system, a
incorrect SameFileError can occur.
MWE (assuming foo.txt exists in your google drive G:\\):
>>> f1 = 'G:\\My Drive\\foo.txt'
>>> f2 = 'G:\\My D
Change by Deniz Bozyigit :
--
title: shutil.copyfile throws incorrect SameFileError -> shutil.copyfile throws
incorrect SameFileError on Google Drive File Stream
___
Python tracker
<https://bugs.python.org/issu
Deniz Bozyigit added the comment:
Hi, thank you for looking into this. I'm aware that the shown patch is not the
ideal solution and a mere fix to get my jupyter operational.
An indication on a workable solution could be the _samefile function in shutil
that wraps os.path.samefile: