Skip to content

ContextManager and AsyncContextManager protocols can't be subclassed #82189

@jivid

Description

@jivid
mannequin
BPO 38008
Nosy @ilevkivskyi, @miss-islington, @jivid
PRs
  • bpo-38008: Move builtin protocol whitelist to mapping instead of list #15647
  • [3.8] bpo-38008: Move builtin protocol whitelist to mapping instead of list (GH-15647) #16021
  • 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 2019-09-12.11:59:49.588>
    created_at = <Date 2019-09-02.11:44:10.836>
    labels = ['3.8', 'type-bug', 'library', '3.9']
    title = "ContextManager and AsyncContextManager protocols can't be subclassed"
    updated_at = <Date 2019-09-12.11:59:49.587>
    user = 'https://github.com/jivid'

    bugs.python.org fields:

    activity = <Date 2019-09-12.11:59:49.587>
    actor = 'levkivskyi'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-09-12.11:59:49.588>
    closer = 'levkivskyi'
    components = ['Library (Lib)']
    creation = <Date 2019-09-02.11:44:10.836>
    creator = 'divijrajkumar'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38008
    keywords = ['patch']
    message_count = 5.0
    messages = ['350988', '350989', '351000', '352088', '352096']
    nosy_count = 3.0
    nosy_names = ['levkivskyi', 'miss-islington', 'divijrajkumar']
    pr_nums = ['15647', '16021']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38008'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions