[Python-checkins] [python/cpython] 8d15b1: bpo-28556: Updates to typing module (GH-2076) (GH-...

GitHub noreply at github.com
Sat Jun 10 17:41:02 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 8d15b19be667e30f8d36aefb680859bdf23866cf
      https://github.com/python/cpython/commit/8d15b19be667e30f8d36aefb680859bdf23866cf
  Author: Mariatta <Mariatta at users.noreply.github.com>
  Date:   2017-06-10 (Sat, 10 Jun 2017)

  Changed paths:
    M Lib/test/test_typing.py
    M Lib/typing.py
    M Misc/NEWS

  Log Message:
  -----------
  bpo-28556: Updates to typing module (GH-2076) (GH-2087)

This PR contains two updates to typing module:

- Support ContextManager on all versions (original PR by Jelle Zijlstra).
- Add generic AsyncContextManager..
(cherry picked from commit 29fda8db16e0edab92841277fa223f844f5a92cc)




More information about the Python-checkins mailing list