Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a is_mount() to pathlib #75080

Closed
cooperlees mannequin opened this issue Jul 11, 2017 · 3 comments
Closed

Add a is_mount() to pathlib #75080

cooperlees mannequin opened this issue Jul 11, 2017 · 3 comments
Labels
3.7 stdlib type-feature

Comments

@cooperlees
Copy link
Mannequin

@cooperlees cooperlees mannequin commented Jul 11, 2017

BPO 30897
Nosy @ambv, @cooperlees
PRs
  • #2669
  • #2980
  • 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 2017-08-01.22:52:11.483>
    created_at = <Date 2017-07-11.02:35:10.747>
    labels = ['3.7', 'type-feature', 'library']
    title = 'Add a is_mount() to pathlib'
    updated_at = <Date 2017-08-01.23:40:25.154>
    user = 'https://github.com/cooperlees'

    bugs.python.org fields:

    activity = <Date 2017-08-01.23:40:25.154>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-08-01.22:52:11.483>
    closer = 'cooperlees'
    components = ['Library (Lib)']
    creation = <Date 2017-07-11.02:35:10.747>
    creator = 'cooperlees'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30897
    keywords = []
    message_count = 3.0
    messages = ['298104', '298110', '299639']
    nosy_count = 2.0
    nosy_names = ['lukasz.langa', 'cooperlees']
    pr_nums = ['2669', '2980']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue30897'
    versions = ['Python 3.7']

    @cooperlees
    Copy link
    Mannequin Author

    @cooperlees cooperlees mannequin commented Jul 11, 2017

    It would be nice to have pathlib.Path objects to have a ismount() function to return a bool if it is a POSIX mount point, similar to os.path.ismount(path)

    @cooperlees cooperlees mannequin added 3.7 stdlib type-feature labels Jul 11, 2017
    @cooperlees cooperlees mannequin changed the title Add a ismount() to pathlib Add a is_mount() to pathlib Jul 11, 2017
    @cooperlees
    Copy link
    Mannequin Author

    @cooperlees cooperlees mannequin commented Jul 11, 2017

    Mocked up a concept PR. Will try teach myself how to test + see if I need to add Windows support etc.
    cooperlees@master

    @ambv
    Copy link
    Contributor

    @ambv ambv commented Aug 1, 2017

    New changeset 173ff4a by Łukasz Langa (Cooper Lees) in branch 'master':
    bpo-30897: Add is_mount() to pathlib.Path (bpo-2669)
    173ff4a

    @cooperlees cooperlees mannequin closed this as completed Aug 1, 2017
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 stdlib type-feature
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant