Re: [Python-Dev] Defining a path protocol

2016年4月08日 09:32:25 -0700

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~
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to