Tracebacks are unnecessarily verbose when using 'python -m'

Đang mở
#60,421 10 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
25/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
developer-experience

Hướng nghiên cứu

Reproduce the verbose traceback through the python -m entry point and review the linked bpo-31299 dependency concerning TracebackException.format() and its ignore_modules option. Determine the intended reduction in traceback output and add coverage for the resulting behavior; the issue is done when python -m no longer includes the unnecessary frames.

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

Mô tả

3.7 (EOL) stdlib type-feature
BPO 16217
Nosy @ncoghlan, @mattheww, @ezio-melotti, @ericsnowcurrently, @vaultah
Dependencies
  • bpo-31299: Add "ignore_modules" option to TracebackException.format()
  • 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 2012-10-13.12:51:40.918>
    labels = ['3.7', 'type-feature', 'library']
    title = "Tracebacks are unnecessarily verbose when using 'python -m'"
    updated_at = <Date 2020-01-29.00:38:55.074>
    user = 'https://github.com/mattheww'
    

    bugs.python.org fields:

    activity = <Date 2020-01-29.00:38:55.074>
    actor = 'brett.cannon'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-10-13.12:51:40.918>
    creator = 'mattheww'
    dependencies = ['31299']
    files = []
    hgrepos = []
    issue_num = 16217
    keywords = []
    message_count = 8.0
    messages = ['172806', '172808', '245898', '300711', '300742', '300959', '300975', '300978']
    nosy_count = 6.0
    nosy_names = ['ncoghlan', 'mattheww', 'ezio.melotti', 'Arfrever', 'eric.snow', 'vaultah']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue16217'
    versions = ['Python 3.7']
    

    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.