Update what needs to be done for PEP 519

This commit is contained in:
Brett Cannon 2016-05-20 13:19:36 -07:00
parent 9fd8df6d0c
commit 320a16a909
1 changed files with 17 additions and 4 deletions

View File

@ -316,20 +316,33 @@ idiom of
Implementation
==============
This is the task list for what this PEP proposes:
This is the task list for what this PEP proposes to be changed in
Python 3.6:
#. Remove the ``path`` attribute from pathlib
(`done <http://bugs.python.org/issue22570>`_)
#. Remove the provisional status of pathlib
#. Add ``os.PathLike``
#. Add ``os.fspath()``
#. Add ``PyOS_FSPath()``
#. Add ``os.fspath()``
#. Update ``os.fsencode()``
#. Update ``os.fsdecode()``
#. Update ``pathlib.PurePath`` and ``pathlib.Path``
#. Update ``builtins.open()``
#. Add ``__fspath__()``
#. Add ``os.PathLike`` support to the constructors
#. Update ``os.DirEntry``
#. Add ``__fspath__()``
#. Add ``os.pathLike`` support to the constructor
#. Alias ``DirEntry`` to ``os.DirEntry``
(`bug <http://bugs.python.org/issue27038>`_)
#. Update ``builtins.open()``
#. Update ``os.path``
#. Add a glossary entry for "path-like"
#. Add a `glossary <https://docs.python.org/3.6/glossary.html>`_ entry for "path-like"
#. Update `"What's New" <https://docs.python.org/3.6/whatsnew/3.6.html>`_
Rejected Ideas