Serhiy Storchaka added the comment:

I'm not sure it's a good idea. FileLoader, FileFinder, and other classes 
usually are a part of import machinery, they can have other restrictions on 
path type than general filesystem related functions. This change has a non-zero 
cost, it complicates the code and makes it slower. Do you have a use case for 
using these classes with a path different from None or str?

----------
nosy: +eric.snow, ncoghlan, serhiy.storchaka

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

Reply via email to