[Python-ideas] pathlib suggestion

Thomas Heller theller at ctypes.org
Tue May 20 10:51:22 CEST 2014


Python 3.4's pathlib uses str(path) to get the full pathname
as string.

I'd like to suggest adding a property which allows to access
the full pathname.  IMO this should make it easier to understand
the code or make if possible to search for it in sources.

I'm unsure about the name this property should get; maybe .fullpath
or something like that.  I'm also unsure whether there should be
separate properties to get the full pathname as string or bytes object.

Opinions?

Thomas



More information about the Python-ideas mailing list