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/2006-January/060029.html below:

[Python-Dev] The path module PEP

[Python-Dev] The path module PEPEric Nieuwland eric.nieuwland at xs4all.nl
Tue Jan 24 22:18:52 CET 2006
Good stuff. Some suggestions:

>         def joinpath(self, *args): ...
I suggest append() or extend() as join*() sort of suggest join() as 
provided by strings, which does something quite different

>         def splitall(self): ...
and this may renamed split(), as it is quite similar to split() as 
provided by strings

>         # Properties about the path.
>         parent, name, namebase, ext, drive, uncshare[1]
so we can drop basename(), dirname(), splitdrive(), and splitext()

>         def dirs(self, pattern = None): ...
>         def files(self, pattern = None): ...
can we add others()? (sockets, pipes, block and character devices)

--eric

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