On 06/15/2016 11:44 AM, Brett Cannon wrote:
On Wed, 15 Jun 2016 at 11:39 Guido van Rossum wrote:
OK, so let's add a check on the return of __fspath__() and keep the
check on path-like or string/bytes.
I'll update the PEP.
Ethan, do you want to leave a note on the os.fspath() issue to update
the code and go through where we've used os.fspath() to see where we can
cut out redundant type checks?
Will do.
I didn't see this subthread before my last post, so unless you agree
with those other changes feel free to ignore it. ;)
--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com