If there it is desireable to have pathlib used to represent paths that do
not map directly to the filesystem..

then it might be an acceptable compromise to have yet another... package
that just imports os, pathlib, shutil etc and re-exports all relevant
functions.
i mean we are talking about convenience here anyway not new functionality
and this would enable 1-import convenience that gives you
all-you-would-ever-want
but at the cost of maybe a bit more startup time if you only needed 1 of
the 3 modules that do actual work. and avoid polluting pathlib with things
that are... too useful in the real world :P
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to