python / python/cpython

how to migrate a c-extension module to one that supports subinerpreters?

Đang mở
#79,601 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.

docs topic-C-API topic-subinterpreters type-feature
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

BPO 35420
Nosy @jkloth, @encukou, @ericsnowcurrently, @mattip

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-12-05.19:16:39.226>
labels = ['type-feature', 'docs']
title = 'how to migrate a c-extension module to one that supports subinerpreters?'
updated_at = <Date 2018-12-19.16:23:37.623>
user = 'https://github.com/mattip'

bugs.python.org fields:

activity = <Date 2018-12-19.16:23:37.623>
actor = 'petr.viktorin'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2018-12-05.19:16:39.226>
creator = 'mattip'
dependencies = []
files = []
hgrepos = []
issue_num = 35420
keywords = []
message_count = 2.0
messages = ['331142', '332149']
nosy_count = 5.0
nosy_names = ['jkloth', 'petr.viktorin', 'docs@python', 'eric.snow', 'mattip']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue35420'
versions = []

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 việc đọc issue 35420 của BPO được liên kết và tài liệu CPython hiện có về C extensions và subinterpreters. Xác định hướng dẫn di chuyển nên được đặt ở đâu và định nghĩa done là một giải thích rõ ràng về cách một mô-đun C-extension có thể được điều chỉnh để hỗ trợ subinterpreters.

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

Đánh giá

Công nghệ
c, python
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ 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
25/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.