[Python-Dev] Maybe, just maybe, pathlib doesn't belong.
Sven R. Kunze
srkunze at mail.de
Mon Apr 11 17:21:36 EDT 2016
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
More information about the Python-Dev
mailing list