broken file API and inconsistent behavior

whatever
New Contributor

Since there is no way to file a bug, I'll post it here.. Honestly, I haven't seen such a broken and inconsistent API from production system yet in my life..

whatever_0-1753367689463.png

what is worse - this same issue is in 'os' module:

whatever_0-1753368641377.png

And their UI (despite actually showing the file and folder simultaneously):

whatever_1-1753368764667.png