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

[Python-Dev] Defining a path protocol

[Python-Dev] Defining a path protocol [Python-Dev] Defining a path protocolEthan Furman ethan at stoneleaf.us
Fri Apr 8 12:30:38 EDT 2016
On 04/08/2016 08:41 AM, Brett Cannon wrote:
> On Fri, 8 Apr 2016 at 08:33 Ethan Furman wrote:
 >> Brett previously queried:

>>> Add the method/attribute to str? (I assume so, much like
>>> __index__() is on int, but I have not seen it explicitly
 >>> stated so I would rather clarify it)
>
>> What will this do?  Return a Path or a str?  I don't think
 >> we need either.
>
> When I brought this up it was to return self.

Okay, thanks.

> Chris Angelico and I have been asked by Guido to work together to come
> up with a proposal after all the discussions are finished and it will
> most likely be a patch to the pathlib PEP.

Cool.  I wasn't looking forward to that part.

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