[Python-Dev] File system path PEP, 3rd draft (original) (raw)
Koos Zevenhoven k7hoven at gmail.com
Fri May 13 18:49:24 EDT 2016
- Previous message (by thread): [Python-Dev] 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 ]
FYI, I recently sent a couple of emails in my earlier type hinting thread on -ideas. What I wrote now is about the path ABC regarding type hints.
-- Koos
On Sat, May 14, 2016 at 12:48 AM, Brett Cannon <brett at python.org> wrote:
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: 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.
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/k7hoven%40gmail.com
- Previous message (by thread): [Python-Dev] 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 ]