Brett Cannon added the comment:

I don't think os.normcase() calling os.fspath() needs to be a worry. 
Pragmatically it's just getting a str/bytes from an object that knows how to 
return a str/bytes for a path. IOW it's no different than 
os.normcase(str(path)) and so embedding the call such that it's not a flat-out 
no-op shouldn't be a general concern.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30413>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to