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/143779.html below:

[Python-Dev] summary: a Path protocol

[Python-Dev] summary: a Path protocol [Python-Dev] summary: a Path protocolEthan Furman ethan at stoneleaf.us
Fri Apr 8 02:27:28 EDT 2016
The discussion has ranged all over, so let me try to sum up:


Name:

   __ospath__


Method or attribute?

   Method (implementations are of course free to pre-build and/or
   cache the value)


Built-in?

   no, rather a function in pathlib - ospath()


Add the method/attribute to str?

   Not necessary -- but if somebody else wants to do that part I
   am not opposed


Expand the C API to have something like PyObject_Path()?

   Yes - and if I understood correctly this function will do the
   same as pathlib.ospath(), just at the C level?  And what will
   its name be, exactly?

--
~Ethan~
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