python / python/cpython

Establish a uniform way to clear all caches in a given module

Open
#80,666 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.8 (EOL) stdlib tests type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
Avg merge
1d 9h
Merged PRs (30d)
558

Description

BPO 36485
Nosy @brettcannon, @rhettinger, @ezio-melotti, @voidspace, @serhiy-storchaka, @boxed, @animalize
PRs
  • python/cpython#12632
  • python/cpython#12639
  • 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 = None
    created_at = <Date 2019-03-30.11:56:59.909>
    labels = ['tests', '3.8', 'type-feature', 'library']
    title = 'Establish a uniform way to clear all caches in a given module'
    updated_at = <Date 2019-04-02.20:34:12.894>
    user = 'https://github.com/serhiy-storchaka'
    

    bugs.python.org fields:

    activity = <Date 2019-04-02.20:34:12.894>
    actor = 'rhettinger'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Tests']
    creation = <Date 2019-03-30.11:56:59.909>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36485
    keywords = ['patch']
    message_count = 14.0
    messages = ['339190', '339227', '339232', '339234', '339237', '339250', '339251', '339254', '339255', '339301', '339311', '339312', '339355', '339366']
    nosy_count = 7.0
    nosy_names = ['brett.cannon', 'rhettinger', 'ezio.melotti', 'michael.foord', 'serhiy.storchaka', 'Anders.Hovm\xc3\xb6ller', 'malin']
    pr_nums = ['12632', '12639']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue36485'
    versions = ['Python 3.8']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start by reviewing PRs #12632 and #12639 and the discussion associated with BPO issue 36485. Then inspect the relevant Python standard-library modules and their tests, since no specific files are named. Done means an agreed uniform mechanism exists for clearing all caches in a given module and the tests cover it.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    backend
    Issue type
    Feature
    Difficulty
    5/5
    Estimated time
    Over a week
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    15/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.