A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-April/143939.html below:

[Python-Dev] Maybe, just maybe, pathlib doesn't belong.

[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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4