[Python-Dev] File system path PEP, 3rd draft
Philip Jenvey
pjenvey at underboss.org
Fri May 13 17:30:10 EDT 2016
More information about the Python-Dev mailing list
Fri May 13 17:30:10 EDT 2016
- Previous message (by thread): [Python-Dev] quick GitHub transition update (was: File system path PEP, 3rd draft)
- Next message (by thread): [Python-Dev] File system path PEP, 3rd draft
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> On May 13, 2016, at 11:37 AM, Brett Cannon <brett at python.org> wrote: > > Biggest changes since the second draft: > Resolve __fspath__() from the type, not the instance (for Guido) > if (PyObject_HasAttrString(path->ob_type, "__fspath__")) { > return PyObject_CallMethodObjArgs(path->ob_type, "__fspath__", path, > NULL); _PyObject_LookupSpecial would be preferable then. -- Philip Jenvey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160513/c9ccda1b/attachment.html>
- Previous message (by thread): [Python-Dev] quick GitHub transition update (was: File system path PEP, 3rd draft)
- Next message (by thread): [Python-Dev] File system path PEP, 3rd draft
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list