python / python/cpython

Deprecate __loader__, __package__, and __cached__ on modules

Open
#77,458 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.11 stdlib topic-importlib
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 33277
Nosy @warsaw, @brettcannon, @rhettinger, @ncoghlan, @pitrou, @pmp-p, @ericsnowcurrently, @FFY00, @iritkatriel
PRs
  • python/cpython#29078
  • 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 2018-04-13.21:48:22.091>
    labels = ['library', '3.11']
    title = 'Deprecate __loader__, __package__, and __cached__ on modules'
    updated_at = <Date 2021-10-21.16:58:47.610>
    user = 'https://github.com/brettcannon'
    

    bugs.python.org fields:

    activity = <Date 2021-10-21.16:58:47.610>
    actor = 'eric.snow'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2018-04-13.21:48:22.091>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33277
    keywords = ['patch']
    message_count = 17.0
    messages = ['315269', '315276', '315521', '315534', '315550', '315585', '315620', '315635', '398926', '398938', '404473', '404475', '404510', '404554', '404555', '404556', '404623']
    nosy_count = 9.0
    nosy_names = ['barry', 'brett.cannon', 'rhettinger', 'ncoghlan', 'pitrou', 'pmpp', 'eric.snow', 'FFY00', 'iritkatriel']
    pr_nums = ['29078']
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue33277'
    versions = ['Python 3.11']
    

    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

    No files or tests are named in the issue. Start by reviewing the linked BPO issue and PR #29078, including the discussion around the proposed deprecation; done means the three named module attributes are deprecated as intended and the existing project checks pass.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    backend
    Issue type
    Feature
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    20/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.