importing does not dispatch to __builtins__.__getitem__ to lookup __import__

Đang mở
#88,809 7 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
30/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
compilers

Hướng nghiên cứu

Bắt đầu với dict_lookup_demo.py, bản minh họa được liên kết về hành vi đã báo cáo, và xem xét đường dẫn tra cứu import của Python Interpreter Core. Issue không chỉ rõ ngữ nghĩa dispatch mong muốn, vì vậy hãy xác nhận hành vi được kỳ vọng từ cuộc thảo luận BPO ban đầu trước khi xác định tiêu chí hoàn thành và bất kỳ phạm vi bao phủ hồi quy nào.

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

Mô tả

3.10 3.11 3.9 (EOL) interpreter-core type-feature
BPO 44643
Nosy @brettcannon, @stevendaprano, @pxeger
Files
  • dict_lookup_demo.py: Demonstration of this behaviour
  • 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 2021-07-15.08:30:05.599>
    labels = ['interpreter-core', 'type-feature', '3.9', '3.10', '3.11']
    title = 'importing does not dispatch to __builtins__.__getitem__ to lookup __import__'
    updated_at = <Date 2021-07-15.10:51:35.067>
    user = 'https://github.com/pxeger'
    

    bugs.python.org fields:

    activity = <Date 2021-07-15.10:51:35.067>
    actor = 'pxeger'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-07-15.08:30:05.599>
    creator = 'pxeger'
    dependencies = []
    files = ['50151']
    hgrepos = []
    issue_num = 44643
    keywords = []
    message_count = 6.0
    messages = ['397531', '397532', '397533', '397534', '397535', '397536']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'steven.daprano', 'pxeger']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue44643'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    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.