module.__package__ and module.__spec__.parent have different semantics
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
Hướng nghiên cứu
Bắt đầu với issue BPO 45540 được liên kết và cuộc thảo luận đã được di chuyển của issue đó, vì payload không nêu tên tệp nguồn, kiểm thử hoặc các entry point. Làm rõ mối quan hệ dự kiến giữa module.package và module.spec.parent, sau đó xác định hành vi import bị ảnh hưởng và định nghĩa việc hoàn tất là ngữ nghĩa nhất quán được bảo đảm bằng các kiểm thử phù hợp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
| BPO | 45540 |
|---|---|
| Nosy | @warsaw, @brettcannon, @ericsnowcurrently |
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-10-20.17:11:23.534>
labels = ['interpreter-core', '3.11']
title = 'module.__package__ and module.__spec__.parent have different semantics'
updated_at = <Date 2021-10-21.21:28:37.976>
user = 'https://github.com/warsaw'
bugs.python.org fields:
activity = <Date 2021-10-21.21:28:37.976>
actor = 'brett.cannon'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2021-10-20.17:11:23.534>
creator = 'barry'
dependencies = []
files = []
hgrepos = []
issue_num = 45540
keywords = []
message_count = 9.0
messages = ['404500', '404511', '404512', '404551', '404619', '404620', '404628', '404630', '404667']
nosy_count = 3.0
nosy_names = ['barry', 'brett.cannon', 'eric.snow']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue45540'
versions = ['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
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.
Issue khác của python/cpython
-
docs pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
stdlib type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
stdlib type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
build type-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
stdlib topic-email type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Tất cả issue của python/cpython
Issue tương tự
-
area/auth bug comp/agent P3 platform/discord type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NousResearch/hermes-agent#117848 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
bancolombia/sentinel#23 ·
-
test md Đang mởCI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100