Skip to content

typing.py upgrades #72742

Closed
Closed

Description

@gvanrossum
BPO 28556
Nosy @gvanrossum, @ned-deily, @ambv, @ilevkivskyi, @JelleZijlstra, @Mariatta, @miss-islington
PRs
  • bpo-28556: Update to typing: treat subscripted generics as proxies #265
  • [3.6] bpo-28556: Update to typing: treat subscripted generics as proxies (#265) #268
  • [3.5] bpo-28556: Update to typing: treat subscripted generics as proxies (#265) #269
  • bpo-28556: Fix regression that sneaked into recent typing updates #270
  • bpo-28556: Routine updates to typing #1366
  • [3.6] bpo-28556: Routine updates to typing (GH-1366) #1416
  • [3.5] bpo-28556: Routine updates to typing (GH-1366) #1417
  • bpo-28556: Updates to typing module #2076
  • [3.6] bpo-28556: Updates to typing module (GH-2076) #2087
  • [3.5] bpo-28556: Updates to typing module (GH-2076) #2088
  • bpo-28556: Minor updates to typing module #3550
  • [3.6] bpo-28556: Minor updates to typing module (GH-3550) #3558
  • bpo-28556: typing.get_type_hints: better globalns for classes and modules #3582
  • [3.6] bpo-28556: typing.get_type_hints: better globalns for classes and modules (GH-3582) #3583
  • [bpo-28556] Minor fixes for typing module #4710
  • [3.6] [bpo-28556] Minor fixes for typing module (GH-4710) #4713
  • bpo-28556: Minor fixes for typing module #6732
  • [3.7] bpo-28556: Minor fixes for typing module (GH-6732) #6735
  • bpo-28556: Fix a bug in Generic.__new__ #6758
  • [3.6] bpo-28556: Minor fixes for typing module (GH-6732) #6759
  • bpo-28556: Don't simplify unions at runtime #6841
  • [3.7] bpo-28556: Don't simplify unions at runtime (GH-6841) #6979
  • bpo-28556: Clarify that Type[SomeTypeVar] is legal in typing docs #9585
  • [3.7] bpo-28556: Clarify that Type[SomeTypeVar] is legal (GH-9585) #9590
  • [3.6] bpo-28556: Clarify that Type[SomeTypeVar] is legal (GH-9585) #9591
  • bpo-28556: Add a regression test to typing #15396
  • [3.8] bpo-28556: Add a regression test to typing (GH-15396) #15398
  • bpo-28556: Update the opening note in typing docs #16204
  • [3.8] bpo-28556: Update the opening note in typing docs (GH-16204) #16205
  • [3.7] bpo-28556: Update the opening note in typing docs (GH-16204) #16206
  • bpo-28556: Remove another mention of metaclass of Generic in typing docs #16743
  • [3.8] bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743) #16750
  • [3.7] bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743) #16751
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-05-02.20:25:19.282>
    created_at = <Date 2016-10-29.15:46:49.379>
    labels = ['3.7']
    title = 'typing.py upgrades'
    updated_at = <Date 2021-05-02.20:25:19.280>
    user = 'https://github.com/gvanrossum'

    bugs.python.org fields:

    activity = <Date 2021-05-02.20:25:19.280>
    actor = 'JelleZijlstra'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-02.20:25:19.282>
    closer = 'JelleZijlstra'
    components = []
    creation = <Date 2016-10-29.15:46:49.379>
    creator = 'gvanrossum'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28556
    keywords = ['patch']
    message_count = 47.0
    messages = ['279680', '279682', '279696', '279700', '280453', '280870', '281226', '281317', '285699', '285739', '286038', '286039', '286040', '286137', '286149', '290406', '290407', '290412', '290433', '290434', '290435', '292789', '292920', '292921', '295662', '295672', '295673', '302131', '302134', '302196', '302209', '307621', '307624', '316301', '316303', '317064', '317066', '350215', '350220', '352587', '352588', '352589', '354592', '354593', '354594', '354690', '392722']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'ned.deily', 'lukasz.langa', 'python-dev', 'levkivskyi', 'JelleZijlstra', 'Mariatta', 'miss-islington']
    pr_nums = ['265', '268', '269', '270', '1366', '1416', '1417', '2076', '2087', '2088', '3550', '3558', '3582', '3583', '4710', '4713', '6732', '6735', '6758', '6759', '6841', '6979', '9585', '9590', '9591', '15396', '15398', '16204', '16205', '16206', '16743', '16750', '16751']
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue28556'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Activity

    1. gvanrossum commented on Oct 29, 2016

      @gvanrossum
      MemberAuthor

      Over at https://github.com/python/typeshed we have a number of big changes in store. I'm eager to get these into 3.6, so I'm merging them in now, in time for 3.6b3. (Recall that PEP-484 and typing.py remain provisional until 3.7 rolls around.)

    2. python-dev commented on Oct 29, 2016

      python-devmannequin
      Mannequin

      New changeset a47b07d0aba0 by Guido van Rossum in branch '3.5':
      Issue bpo-28556: updates to typing.py
      https://hg.python.org/cpython/rev/a47b07d0aba0

      New changeset d2b5c3bfa2b5 by Guido van Rossum in branch '3.6':
      Issue bpo-28556: updates to typing.py (3.5->3.6)
      https://hg.python.org/cpython/rev/d2b5c3bfa2b5

      New changeset 2c75b13ccf82 by Guido van Rossum in branch 'default':
      Issue bpo-28556: updates to typing.py (3.6->3.7)
      https://hg.python.org/cpython/rev/2c75b13ccf82

    3. python-dev commented on Oct 29, 2016

      python-devmannequin
      Mannequin

      New changeset 94010653379c by Guido van Rossum in branch '3.5':
      Issue bpo-28556: updates to typing.py (fix copy, deepcopy, pickle)
      https://hg.python.org/cpython/rev/94010653379c

      New changeset 465b345559ea by Guido van Rossum in branch '3.6':
      Issue bpo-28556: updates to typing.py (fix copy, deepcopy, pickle) (3.5->3.6)
      https://hg.python.org/cpython/rev/465b345559ea

      New changeset f23f435494f1 by Guido van Rossum in branch 'default':
      Issue bpo-28556: updates to typing.py (fix copy, deepcopy, pickle) (3.6->3.7)
      https://hg.python.org/cpython/rev/f23f435494f1

    4. python-dev commented on Oct 29, 2016

      python-devmannequin
      Mannequin

      New changeset 0201a87d773d by Guido van Rossum in branch '3.5':
      Issue bpo-28556: updates to typing.py (add Coroutine, prohibit GenericT)
      https://hg.python.org/cpython/rev/0201a87d773d

      New changeset 2c2fec17247d by Guido van Rossum in branch '3.6':
      Issue bpo-28556: updates to typing.py (add Coroutine, prohibit GenericT) (3.5->3.6)
      https://hg.python.org/cpython/rev/2c2fec17247d

      New changeset fe842efbe1ed by Guido van Rossum in branch 'default':
      Issue bpo-28556: updates to typing.py (add Coroutine, prohibit GenericT) (3.6->3.7)
      https://hg.python.org/cpython/rev/fe842efbe1ed

    5. python-dev commented on Nov 9, 2016

      python-devmannequin
      Mannequin

      New changeset 9c0df5f51baa by Guido van Rossum in branch '3.5':
      Issue bpo-28556: More typing.py updates from upstream.
      https://hg.python.org/cpython/rev/9c0df5f51baa

      New changeset 9e65bc305a24 by Guido van Rossum in branch '3.6':
      Issue bpo-28556: More typing.py updates from upstream. (3.5->3.6)
      https://hg.python.org/cpython/rev/9e65bc305a24

      New changeset 00e386ac7b95 by Guido van Rossum in branch 'default':
      Issue bpo-28556: More typing.py updates from upstream. (3.6->3.7)
      https://hg.python.org/cpython/rev/00e386ac7b95

    6. python-dev commented on Nov 15, 2016

      python-devmannequin
      Mannequin

      New changeset da2ac103d326 by Guido van Rossum in branch '3.5':
      Issue bpo-28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321)
      https://hg.python.org/cpython/rev/da2ac103d326

      New changeset 38ec88a4e282 by Guido van Rossum in branch '3.6':
      Issue bpo-28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321) (3.5->3.6)
      https://hg.python.org/cpython/rev/38ec88a4e282

      New changeset a3de2d0f49ea by Guido van Rossum in branch 'default':
      Issue bpo-28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321) (3.6->3.7)
      https://hg.python.org/cpython/rev/a3de2d0f49ea

    7. python-dev commented on Nov 19, 2016

      python-devmannequin
      Mannequin

      New changeset 1e49abb03e0f by Guido van Rossum in branch '3.5':
      Issue bpo-28556: two more small upstream changes by Ivan Levkivskyi (#329, #330)
      https://hg.python.org/cpython/rev/1e49abb03e0f

      New changeset cdddf4ee0e00 by Guido van Rossum in branch '3.6':
      Issue bpo-28556: two more small upstream changes by Ivan Levkivskyi (#329, #330) (3.5->3.6)
      https://hg.python.org/cpython/rev/cdddf4ee0e00

      New changeset 1465baaccd84 by Guido van Rossum in branch 'default':
      Issue bpo-28556: two more small upstream changes by Ivan Levkivskyi (#329, #330) (3.6->3.7)
      https://hg.python.org/cpython/rev/1465baaccd84

    8. python-dev commented on Nov 21, 2016

      python-devmannequin
      Mannequin

      New changeset 75c7bc2c1ad8 by Guido van Rossum in branch '3.5':
      Issue bpo-28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331)
      https://hg.python.org/cpython/rev/75c7bc2c1ad8

      New changeset 294525aac5eb by Guido van Rossum in branch '3.6':
      Issue bpo-28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331) (3.5->3.6)
      https://hg.python.org/cpython/rev/294525aac5eb

      New changeset 30f154d9abf0 by Guido van Rossum in branch 'default':
      Issue bpo-28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331) (3.6->3.7)
      https://hg.python.org/cpython/rev/30f154d9abf0

    9. python-dev commented on Jan 18, 2017

      python-devmannequin
      Mannequin

      New changeset 1a9e12a852b2 by Guido van Rossum in branch '3.5':
      Issue bpo-28556: merge 5 more typing changes from upstream (#340, #344, #348, #349, #350)
      https://hg.python.org/cpython/rev/1a9e12a852b2

      New changeset fd889884fe08 by Guido van Rossum in branch '3.6':
      Issue bpo-28556: merge 5 more typing changes from upstream (#340, #344, #348, #349, #350) (3.5->3.6)
      https://hg.python.org/cpython/rev/fd889884fe08

      New changeset 794dad4b849f by Guido van Rossum in branch 'default':
      Issue bpo-28556: merge 5 more typing changes from upstream (#340, #344, #348, #349, #350) (3.6->3.7)
      https://hg.python.org/cpython/rev/794dad4b849f

    10. python-dev commented on Jan 18, 2017

      python-devmannequin
      Mannequin

      New changeset 59829d7b7838 by Guido van Rossum in branch '3.5':
      Issue bpo-28556: allow default values in class form of NamedTuple -- Jelle Zijlstra
      https://hg.python.org/cpython/rev/59829d7b7838

      New changeset 2159f36ccd6b by Guido van Rossum in branch '3.6':
      Issue bpo-28556: allow default values in class form of NamedTuple -- Jelle Zijlstra (3.5->3.6)
      https://hg.python.org/cpython/rev/2159f36ccd6b

      New changeset f0e1c49233ff by Guido van Rossum in branch 'default':
      Issue bpo-28556: allow default values in class form of NamedTuple -- Jelle Zijlstra (3.6->3.7)
      https://hg.python.org/cpython/rev/f0e1c49233ff

    11. python-dev commented on Jan 23, 2017

      python-devmannequin
      Mannequin

      New changeset 7bf6b4fe2c3c by Guido van Rossum in branch '3.5':
      Issue bpo-28556: various style fixes for typing.py
      https://hg.python.org/cpython/rev/7bf6b4fe2c3c

    12. python-dev commented on Jan 23, 2017

      python-devmannequin
      Mannequin

      New changeset f100619e7137 by Guido van Rossum in branch '3.5':
      Issue bpo-28556: Allow defining methods in NamedTuple class syntax (#362)
      https://hg.python.org/cpython/rev/f100619e7137

    13. python-dev commented on Jan 23, 2017

      python-devmannequin
      Mannequin

      New changeset 41277771755d by Guido van Rossum in branch '3.6':
      Issue bpo-28556: various style fixes for typing.py (3.5->3.6)
      https://hg.python.org/cpython/rev/41277771755d

      New changeset a7e69479ee22 by Guido van Rossum in branch 'default':
      Issue bpo-28556: various style fixes for typing.py (3.6->3.7)
      https://hg.python.org/cpython/rev/a7e69479ee22

      New changeset ba272f947c40 by Guido van Rossum in branch '3.6':
      Issue bpo-28556: Allow defining methods in NamedTuple class syntax (#362) (3.5->3.6)
      https://hg.python.org/cpython/rev/ba272f947c40

      New changeset 69c5b800df86 by Guido van Rossum in branch 'default':
      Issue bpo-28556: Allow defining methods in NamedTuple class syntax (#362) (3.6->3.7)
      https://hg.python.org/cpython/rev/69c5b800df86

    14. vadmium commented on Jan 24, 2017

      @vadmium
      Member

      ERROR: test_annotation_usage_with_methods (test.test_typing.NamedTupleTests)
      ----------------------------------------------------------------------

      Traceback (most recent call last):
        File "/home/proj/python/cpython/Lib/test/test_typing.py", line 2058, in test_annotation_usage_with_methods
          self.assertEquals(XMeth(1).double(), 2)
        File "/home/proj/python/cpython/Lib/unittest/case.py", line 1311, in deprecated_func
          DeprecationWarning, 2)
      DeprecationWarning: Please use assertEqual instead.
    15. ilevkivskyi commented on Jan 24, 2017

      @ilevkivskyi
      Member

      Thank you Martin!
      Fixed this upstream python/typing#365

    16. 20 remaining items

    17. miss-islington commented on May 9, 2018

      @miss-islington
      Contributor

      New changeset 3c28a63 by Miss Islington (bot) in branch '3.7':
      bpo-28556: Minor fixes for typing module (GH-6732)
      3c28a63

    18. ilevkivskyi commented on May 18, 2018

      @ilevkivskyi
      Member

      New changeset f65e31f by Ivan Levkivskyi in branch 'master':
      bpo-28556: Don't simplify unions at runtime (GH-6841)
      f65e31f

    19. ilevkivskyi commented on May 18, 2018

      @ilevkivskyi
      Member

      New changeset 09ca590 by Ivan Levkivskyi (Miss Islington (bot)) in branch '3.7':
      bpo-28556: Don't simplify unions at runtime (GH-6841) (GH-6979)
      09ca590

    20. miss-islington commented on Aug 22, 2019

      @miss-islington
      Contributor

      New changeset 8889627 by Miss Islington (bot) (Ivan Levkivskyi) in branch 'master':
      bpo-28556: Add a regression test to typing (GH-15396)
      8889627

    21. miss-islington commented on Aug 22, 2019

      @miss-islington
      Contributor

      New changeset 5fda09c by Miss Islington (bot) in branch '3.8':
      bpo-28556: Add a regression test to typing (GH-15396)
      5fda09c

    22. ilevkivskyi commented on Sep 16, 2019

      @ilevkivskyi
      Member

      New changeset 81528ba by Ivan Levkivskyi in branch 'master':
      bpo-28556: Update the opening note in typing docs (GH-16204)
      81528ba

    23. miss-islington commented on Sep 16, 2019

      @miss-islington
      Contributor

      New changeset 733193d by Miss Islington (bot) in branch '3.7':
      bpo-28556: Update the opening note in typing docs (GH-16204)
      733193d

    24. miss-islington commented on Sep 16, 2019

      @miss-islington
      Contributor

      New changeset 7076764 by Miss Islington (bot) in branch '3.8':
      bpo-28556: Update the opening note in typing docs (GH-16204)
      7076764

    25. miss-islington commented on Oct 13, 2019

      @miss-islington
      Contributor

      New changeset 8144095 by Miss Islington (bot) (Ivan Levkivskyi) in branch 'master':
      bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743)
      8144095

    26. miss-islington commented on Oct 13, 2019

      @miss-islington
      Contributor

      New changeset 20d1f49 by Miss Islington (bot) in branch '3.7':
      bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743)
      20d1f49

    27. miss-islington commented on Oct 13, 2019

      @miss-islington
      Contributor

      New changeset e742826 by Miss Islington (bot) in branch '3.8':
      bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743)
      e742826

    28. ned-deily commented on Oct 15, 2019

      @ned-deily
      Member

      New changeset bd9a70c by Ned Deily (Miss Islington (bot)) in branch '3.7':
      bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743)
      bd9a70c

    29. JelleZijlstra commented on May 2, 2021

      @JelleZijlstra
      Member

      Looks like this is no longer relevant.

    30. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions