Skip to content

Let lru_cache be used as a decorator with no arguments #80953

@rhettinger

Description

@rhettinger
BPO 36772
Nosy @rhettinger, @scoder, @ericvsmith, @giampaolo, @DinoV, @njsmith, @ericsnowcurrently, @serhiy-storchaka, @pablogsal
PRs
  • bpo-36772 Allow lru_cache to be used as decorator without making a function call #13048
  • 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-05-26.19:14:29.100>
    created_at = <Date 2019-05-02.00:40:09.114>
    labels = ['3.8', 'type-bug', 'library']
    title = 'Let lru_cache be used as a decorator with no arguments'
    updated_at = <Date 2019-05-26.19:14:29.099>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2019-05-26.19:14:29.099>
    actor = 'rhettinger'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-26.19:14:29.100>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2019-05-02.00:40:09.114>
    creator = 'rhettinger'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36772
    keywords = ['patch']
    message_count = 10.0
    messages = ['341239', '341246', '341255', '341266', '341319', '341391', '341392', '341446', '341569', '343575']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'scoder', 'eric.smith', 'giampaolo.rodola', 'dino.viehland', 'njs', 'eric.snow', 'serhiy.storchaka', 'pablogsal']
    pr_nums = ['13048']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36772'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (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