[Python-Dev] File system path PEP, 3rd draft (original) (raw)

Brett Cannon brett at python.org
Fri May 13 17:48:04 EDT 2016


On Fri, 13 May 2016 at 14:30 Philip Jenvey <pjenvey at underboss.org> wrote:

On May 13, 2016, at 11:37 AM, Brett Cannon <brett at python.org> wrote: Biggest changes since the second draft: 1. Resolve fspath() from the type, not the instance (for Guido)

if (PyObjectHasAttrString(path->obtype, "fspath")) { return PyObjectCallMethodObjArgs(path->obtype, "fspath", path, NULL); PyObjectLookupSpecial would be preferable then.

Yes it would be. :) I'll add it to the PEP. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160513/059ce4d4/attachment-0001.html>



More information about the Python-Dev mailing list