Expose importlib._bootstrap._ModuleLockManager in importlib.machinery

Đang mở
#75,076 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu bằng cách đọc module importlib.machinery và phần triển khai nội bộ của _ModuleLockManager trong importlib._bootstrap. Kiểm tra dependency bpo-30891 và các bài test importlib hiện có trước khi quyết định nên xác minh việc public exposure như thế nào; hoàn tất khi class có thể được truy cập thông qua importlib.machinery với mức coverage phù hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

stdlib topic-importlib type-feature
BPO 30893
Nosy @brettcannon, @ncoghlan, @ericsnowcurrently
Dependencies
  • bpo-30891: importlib: _find_and_load() race condition on sys.modules[name] check
  • 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 2017-07-10.19:11:21.304>
    labels = ['type-feature', 'library']
    title = 'Expose importlib._bootstrap._ModuleLockManager in importlib.machinery'
    updated_at = <Date 2017-07-11.01:22:17.177>
    user = 'https://github.com/brettcannon'
    

    bugs.python.org fields:

    activity = <Date 2017-07-11.01:22:17.177>
    actor = 'ncoghlan'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2017-07-10.19:11:21.304>
    creator = 'brett.cannon'
    dependencies = ['30891']
    files = []
    hgrepos = []
    issue_num = 30893
    keywords = []
    message_count = 2.0
    messages = ['298077', '298098']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'eric.snow']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue30893'
    versions = []
    

    Ngôn ngữ chính
    Python
    Star
    77.2k
    Fork
    36k
    Merge trung bình
    1 ngày 9 giờ
    Pull request đã merge (30 ngày)
    558

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    Bắt đầu từ đâu

    1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
    2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
    3. Fork repository và làm thay đổi trên một nhánh.
    4. Mở pull request có tham chiếu số hiệu của issue.

    Issue khác của python/cpython

    Tất cả issue của python/cpython

    Issue tương tự

    Thêm issue về Python

    Nhận issue mới trong hộp thư của bạn

    Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.