On 11.04.2016 23:08, Random832 wrote:
On Mon, Apr 11, 2016, at 17:04, Sven R. Kunze wrote:
PS: The only way out that I can imagine is to fix pathlib. I am not in
favor of fixing functions of "os" and "os.path" to except "path"
objects;
Why not?
It occurred to me after pondering over Paul's comments.
"os" and "os.path" is just a completely different level of abstraction.
There is just no need to mess with them.
The initial failure of my colleague and me of using pathlib can be
solely attributed to pathlib's lack of functionality. Not to the
incompatibility of "os" nor "os.path" with "Path" objects.
Best,
Sven
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com