(original) (raw)
On May 13, 2016, at 11:37 AM, Brett Cannon <brett@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