Add os.path.isrelative() and improve ntpath.isabs()

Đang mở
#44,626 29 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
operating-systems

Hướng nghiên cứu

Review the historical win32_absolute_paths.patch and win32_absolute_paths_2.patch, the ntpath.isabs() behavior, and dependency bpo-15414 before examining linked PR gh-113829. Done means resolving the Windows path semantics and adding os.path.isrelative() with appropriate documentation and tests.

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

Mô tả

stdlib type-feature
BPO 1669539
Nosy @mhammond, @terryjreedy, @tiran, @tjguk, @ezio-melotti, @bitdancer, @zware, @serhiy-storchaka
Dependencies
  • bpo-15414: os.path.join behavior on Windows (ntpath.join) is not well documented
  • Files
  • win32_absolute_paths.patch: Patch v1
  • win32_absolute_paths_2.patch: Patch v2 - with docs
  • 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 2007-02-26.23:07:51.000>
    labels = ['type-feature', 'library']
    title = 'Add os.path.isrelative() and improve ntpath.isabs()'
    updated_at = <Date 2019-04-26.17:48:31.669>
    user = 'https://bugs.python.org/jongfoster'
    

    bugs.python.org fields:

    activity = <Date 2019-04-26.17:48:31.669>
    actor = 'BreamoreBoy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2007-02-26.23:07:51.000>
    creator = 'jongfoster'
    dependencies = ['15414']
    files = ['7798', '7799']
    hgrepos = []
    issue_num = 1669539
    keywords = ['patch']
    message_count = 15.0
    messages = ['51978', '51979', '51980', '51981', '51982', '51983', '51984', '58743', '110297', '117582', '138215', '166066', '218560', '222855', '229053']
    nosy_count = 11.0
    nosy_names = ['mhammond', 'terry.reedy', 'jorend', 'christian.heimes', 'tim.golden', 'ezio.melotti', 'eckhardt', 'r.david.murray', 'zach.ware', 'serhiy.storchaka', 'mdengler']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1669539'
    versions = ['Python 3.5']
    

    Linked PRs
    • gh-113829
    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.