python / python/cpython

Importing the same extension module under multiple names breaks non-reinitialisable extension modules

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

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

3.7 (EOL) 3.8 (EOL) extension-modules type-bug
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

Mô tả

BPO 32973
Nosy @Yhg1s, @brettcannon, @gpshead, @amauryfa, @ncoghlan, @pitrou, @scoder, @vstinner, @bitdancer, @encukou, @asvetlov, @ericsnowcurrently, @Dormouse759

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-02-28.18:51:00.006>
labels = ['extension-modules', '3.8', 'type-bug', '3.7']
title = 'Importing the same extension module under multiple names breaks non-reinitialisable extension modules'
updated_at = <Date 2018-08-25.16:36:18.099>
user = 'https://github.com/Yhg1s'

bugs.python.org fields:

activity = <Date 2018-08-25.16:36:18.099>
actor = 'scoder'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules']
creation = <Date 2018-02-28.18:51:00.006>
creator = 'twouters'
dependencies = []
files = []
hgrepos = []
issue_num = 32973
keywords = []
message_count = 9.0
messages = ['313064', '313137', '313138', '313148', '313233', '324066', '324068', '324069', '324077']
nosy_count = 15.0
nosy_names = ['twouters', 'brett.cannon', 'gregory.p.smith', 'amaury.forgeotdarc', 'ncoghlan', 'pitrou', 'scoder', 'vstinner', 'Arfrever', 'r.david.murray', 'petr.viktorin', 'asvetlov', 'eric.snow', 'eudoxos', 'Dormouse759']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue32973'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

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.

Hướng nghiên cứu

Bắt đầu bằng cách đọc issue 32973 của BPO được liên kết và phần thảo luận về việc import các extension module dưới nhiều tên. Payload không nêu tên tệp nguồn hoặc test nào, vì vậy hãy xác định entry point import extension module liên quan và phạm vi bao phủ của regression trước khi xác định cách nên giải quyết hành vi bị lỗi.

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

Đánh giá

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

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.