c_bool type not supported for BigEndianStructure on little-endian machine
Đang mở
Chưa có ai nhận issue này.
3.11
build
topic-ctypes
- 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 | 30510 |
|---|---|
| Nosy | @terryjreedy, @iritkatriel |
| Files |
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-05-30.10:35:54.469>
labels = ['ctypes', 'build', '3.11']
title = 'c_bool type not supported for BigEndianStructure on little-endian machine'
updated_at = <Date 2022-01-23.18:29:53.273>
user = 'https://bugs.python.org/HassanElKarouni'
bugs.python.org fields:
activity = <Date 2022-01-23.18:29:53.273>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['ctypes']
creation = <Date 2017-05-30.10:35:54.469>
creator = 'Hassan El Karouni'
dependencies = []
files = ['46926', '46927']
hgrepos = []
issue_num = 30510
keywords = []
message_count = 3.0
messages = ['294747', '295063', '411394']
nosy_count = 3.0
nosy_names = ['terry.reedy', 'Hassan El Karouni', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue30510'
versions = ['Python 3.11']
Linked PRs
- gh-127280
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với ví dụ c_bool_bug.py và bản patch init.py đã tải lên, sau đó so sánh triển khai ctypes hiện tại với PR gh-127280 được liên kết. Tái hiện trường hợp BigEndianStructure trên một máy little-endian và xác minh rằng c_bool được chấp nhận mà không làm hỏng hành vi hiện có của ctypes.
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100