pathlib should allow converting to absolute paths without resolving symlinks

Open
#69,200 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
15/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
python

Research direction

The issue concerns pathlib and requests an absolute-path operation that does not resolve symlinks. First check the superseding issue bpo-29688 and the current pathlib implementation and tests; treat this issue as closed duplicate work rather than starting a new change.

Written by the indexing model from the issue text.

Description

stdlib type-feature
BPO 25012
Nosy @pitrou, @serhiy-storchaka, @eryksun
Superseder
  • bpo-29688: Add support for Path.absolute()
  • 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 = <Date 2021-03-17.07:10:19.721>
    created_at = <Date 2015-09-05.22:05:48.160>
    labels = ['type-feature', 'library']
    title = 'pathlib should allow converting to absolute paths without resolving symlinks'
    updated_at = <Date 2021-03-17.07:10:19.720>
    user = 'https://bugs.python.org/mumind'
    

    bugs.python.org fields:

    activity = <Date 2021-03-17.07:10:19.720>
    actor = 'eryksun'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-03-17.07:10:19.721>
    closer = 'eryksun'
    components = ['Library (Lib)']
    creation = <Date 2015-09-05.22:05:48.160>
    creator = 'mu_mind'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 25012
    keywords = []
    message_count = 8.0
    messages = ['249936', '249941', '249968', '250129', '250139', '250167', '250208', '250209']
    nosy_count = 5.0
    nosy_names = ['pitrou', 'mu_mind', 'serhiy.storchaka', 'eryksun', 'Socob']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '29688'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue25012'
    versions = ['Python 3.6']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.