Let's make sure we have all the new features that will go into 3.7 (going off https://docs.python.org/dev/whatsnew/3.7.html). - PEP 562 (module `__getattr__`) doesn't affect typeshed, but may need implementation work in typecheckers - Changes from PEP 538, 539, 565, 540 don't affect typeshed - [x] PEP 553 (`breakpoint()`) was implemented in #1846. - [x] PEP 563 (`from __future__ import annotations`) was implemented in #1880. - [x] PEP 564 (`time_ns` and similar) was implemented in #1846. - [x] PEP 557 (dataclasses): active PR #1944, will need more work in type checkers. - [x] PEP 567 (contextvars): not yet done. - [x] https://bugs.python.org/issue30579: TracebackType is instantiable - [x] new module importlib.resources, and importlib.abc.ResourceReader - [x] argparse.parse_intermixed_args: #1937 adds this - [x] https://bugs.python.org/issue30103: b2a_uu new argument - [x] https://bugs.python.org/issue30095: new attributes on HTMLCalendar - [x] contextlib.asynccontextmanager: added by #1432 - [x] contextlib.AbstractAsyncContextManager - [x] contextlib.AsyncExitStack: added by #1876. - [x] crypt.mksalt rounds parameter (python/cpython#4110) - [x] datetime.fromisoformat (https://bugs.python.org/issue15873) - [x] http.client blocksize support (https://bugs.python.org/issue31945) - [x] http.server directory parameter (https://bugs.python.org/issue28707) - [x] hmac.digest (https://bugs.python.org/issue32433) - [x] locale.formatstring `monetary` argument (https://bugs.python.org/issue10379) - [x] math.remainder - [x] os.fwalk bytes paths (https://bugs.python.org/issue28682) - [x] os.scandir fd support (https://bugs.python.org/issue25996) - [x] os.register_at_fork (https://bugs.python.org/issue16500) - [x] pdb.set_trace header argument (https://bugs.python.org/issue31389) - [x] sqlite3.Connection.backup (https://bugs.python.org/issue27645) - [x] sys.flags.dev_mode - [x] tkinter.ttk.SpinBox - [x] time.CLOCK_* (three added) - [x] time.thread_time(_ns)? (https://bugs.python.org/issue32025) - [x] unittest.mock.seal (https://bugs.python.org/issue30541) - [x] uu.encode backtick argument (https://bugs.python.org/issue30103) - [x] zipfile.create_archive new arguments (https://bugs.python.org/issue31072, https://bugs.python.org/issue31638) - [ ] some removals (https://docs.python.org/dev/whatsnew/3.7.html#api-and-feature-removals) - [x] os.stat_float_times - [x] tarfile.Tarfile.add exclude argument - [x] ntpath.splitunc - [x] verbose argument to collections.NamedTuple - [x] plistlib special dicts - [ ] asyncio.windows_utils.socketpair (no stub for this module in typeshed) - [x] docstring attribute on some AST nodes (https://bugs.python.org/issue29463) - [x] struct.Struct.format type change (https://bugs.python.org/issue21071)
Let's make sure we have all the new features that will go into 3.7 (going off https://docs.python.org/dev/whatsnew/3.7.html).
__getattr__) doesn't affect typeshed, but may need implementation work in typecheckersbreakpoint()) was implemented in PEP 553 and PEP 564 #1846.from __future__ import annotations) was implemented in [stdlib/2and3/__future__] Add PEP 563annotations#1880.time_nsand similar) was implemented in PEP 553 and PEP 564 #1846.monetaryargument (https://bugs.python.org/issue10379)