Skip to content

functools.lru_cache omits __defaults__ attribute from wrapped function #88169

@gpshead

Description

@gpshead
BPO 44003
Nosy @rhettinger, @gpshead, @ncoghlan, @serhiy-storchaka
PRs
  • bpo-44003: expose default args on the wrapped functools.lru_cache function #25800
  • 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.04:35:18.116>
    created_at = <Date 2021-05-01.19:49:53.450>
    labels = ['type-feature', 'library', '3.11']
    title = 'functools.lru_cache omits __defaults__ attribute from wrapped function'
    updated_at = <Date 2021-05-02.06:04:28.545>
    user = 'https://github.com/gpshead'

    bugs.python.org fields:

    activity = <Date 2021-05-02.06:04:28.545>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-02.04:35:18.116>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)']
    creation = <Date 2021-05-01.19:49:53.450>
    creator = 'gregory.p.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44003
    keywords = ['patch', '3.5regression']
    message_count = 12.0
    messages = ['392623', '392627', '392643', '392644', '392645', '392646', '392647', '392649', '392651', '392652', '392662', '392668']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'gregory.p.smith', 'ncoghlan', 'serhiy.storchaka']
    pr_nums = ['25800']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue44003'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions