[issue27524] Update os.path for PEP 519/__fspath__()

2016-09-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9be0286772bf by Brett Cannon in branch 'default': Issue #26027, #27524: Document the support for path-like objects in os and os.path. https://hg.python.org/cpython/rev/9be0286772bf -- ___ Python tracker

[issue27524] Update os.path for PEP 519/__fspath__()

2016-08-26 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue27524] Update os.path for PEP 519/__fspath__()

2016-08-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset b64f83d6ff24 by Brett Cannon in branch 'default': Issue #26027, #27524: Add PEP 519/__fspath__() support to os and https://hg.python.org/cpython/rev/b64f83d6ff24 -- nosy: +ned.deily, python-dev ___

[issue27524] Update os.path for PEP 519/__fspath__()

2016-07-29 Thread Brett Cannon
Brett Cannon added the comment: Here is a patch that includes the previous tests as long with fixes which don't involve stat or lstat (once those functions are updated themselves then os.path will be ported). -- Added file: http://bugs.python.org/file43941/os_path.diff

[issue27524] Update os.path for PEP 519/__fspath__()

2016-07-29 Thread Brett Cannon
Brett Cannon added the comment: Ran into the first nasty snag: people are abusing os.path.commonprefix() and it's extremely generic approach. Instead of passing in a list of file paths they are passing a list of lists of file path *parts*, e.g. instead of ["a/b", "a/c"] they are passing in

[issue27524] Update os.path for PEP 519/__fspath__()

2016-07-15 Thread Brett Cannon
Brett Cannon added the comment: Here are tests for genericpath, posixpath, and ntpath (which should in the end cover all of os.path). -- keywords: +patch stage: test needed -> needs patch Added file: http://bugs.python.org/file43740/fspath_tests.diff

[issue27524] Update os.path for PEP 519/__fspath__()

2016-07-15 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___

[issue27524] Update os.path for PEP 519/__fspath__()

2016-07-15 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Support Path objects in the posix module, Support path objects in the ntpath module ___ Python tracker

[issue27524] Update os.path for PEP 519/__fspath__()

2016-07-15 Thread Brett Cannon
New submission from Brett Cannon: As per PEP 519, os.path needs to be updated to support __fspath__(). -- assignee: brett.cannon components: Library (Lib) messages: 270513 nosy: brett.cannon priority: release blocker severity: normal stage: test needed status: open title: Update os.path