Skip to content

PEP 604 NewType #88519

Closed
Closed
@wyfo

Description

@wyfo
mannequin
BPO 44353
Nosy @gvanrossum, @ambv, @serhiy-storchaka, @ilevkivskyi, @JelleZijlstra, @pablogsal, @miss-islington, @uriyyo, @wyfo, @domdfcoding, @Fidget-Spinner, @dlax, @AlexWaygood
PRs
  • bpo-44353: Refactor typing.NewType into callable class #27250
  • [3.10] bpo-44353: Refactor typing.NewType into callable class (GH-27250) #27258
  • bpo-44353: Add test to cover __or__ of two typing.NewType #27259
  • [3.10] bpo-44353: Add test to cover __or__ of two NewType (GH-27259) #27261
  • bpo-44353: Implement typing.NewType __call__ method in C #27262
  • bpo-44353: Add tests to cover typing.NewType pickling #27302
  • bpo-44353: Fix memory leak introduced by #27262 #27305
  • bpo-44353: Expand NewType tests for complex __qualname__. #27311
  • bpo-34963: Make the repr of the typing.NewType() result more meaningful. #9951
  • bpo-44353: Document that typing.NewType is now a class #27319
  • [3.10] bpo-44353: Document that typing.NewType is now a class (GH-27319) #27321
  • [3.10] bpo-44353: Expand NewType tests for complex __qualname__ (GH-27311) #27326
  • [3.10] bpo-44353: Improve tests covering typing.NewType pickling (GH-27302) #27328
  • bpo-44353: Correct docstring for NewType #29785
  • [3.10] bpo-44353: Correct docstring for NewType (GH-29785) #29796
  • Superseder
  • bpo-44642: Union of a type and the typing module function
  • 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-07-24.15:29:29.597>
    created_at = <Date 2021-06-08.20:21:48.412>
    labels = ['3.10', '3.11']
    title = 'PEP 604 NewType'
    updated_at = <Date 2021-11-26.14:58:16.927>
    user = 'https://github.com/wyfo'

    bugs.python.org fields:

    activity = <Date 2021-11-26.14:58:16.927>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-24.15:29:29.597>
    closer = 'kj'
    components = []
    creation = <Date 2021-06-08.20:21:48.412>
    creator = 'joperez'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44353
    keywords = ['patch']
    message_count = 44.0
    messages = ['395359', '395512', '395519', '395538', '397299', '397300', '397825', '397826', '397834', '397835', '397838', '397840', '397842', '397847', '397848', '397849', '397869', '397876', '397877', '397878', '397879', '397880', '397881', '397886', '398005', '398006', '398048', '398057', '398080', '398120', '398123', '398129', '398136', '398138', '398139', '398147', '398148', '398149', '398150', '398151', '398152', '398164', '407026', '407055']
    nosy_count = 13.0
    nosy_names = ['gvanrossum', 'lukasz.langa', 'serhiy.storchaka', 'levkivskyi', 'JelleZijlstra', 'pablogsal', 'miss-islington', 'uriyyo', 'joperez', 'domdfcoding', 'kj', 'dlax', 'AlexWaygood']
    pr_nums = ['27250', '27258', '27259', '27261', '27262', '27302', '27305', '27311', '9951', '27319', '27321', '27326', '27328', '29785', '29796']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '44642'
    type = None
    url = 'https://bugs.python.org/issue44353'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions