Skip to content

Support Path objects in the posix module #70215

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 26027
Nosy @brettcannon, @pfmoore, @tjguk, @ethanfurman, @berkerpeksag, @vadmium, @zware, @serhiy-storchaka, @eryksun, @zooba, @JelleZijlstra
Dependencies
  • bpo-26671: Clean up path_converter in posixmodule.c
  • bpo-26800: Don't accept bytearray as filenames part 2
  • Files
  • path_converter_path.patch
  • issue27186-os_path_t.patch
  • path_converter.diff: Inline of PyOS_FSPath()
  • path_converter.diff: Updated patch since adding the warning about bytearrays
  • path_converter.diff: Incorporate Serhiy's review feedback
  • 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 = 'https://github.com/brettcannon'
    closed_at = <Date 2016-08-27.19:59:15.038>
    created_at = <Date 2016-01-06.21:05:29.971>
    labels = ['extension-modules', 'type-feature', 'OS-windows']
    title = 'Support Path objects in the posix module'
    updated_at = <Date 2016-09-06.22:59:12.215>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2016-09-06.22:59:12.215>
    actor = 'python-dev'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2016-08-27.19:59:15.038>
    closer = 'berker.peksag'
    components = ['Extension Modules', 'Windows']
    creation = <Date 2016-01-06.21:05:29.971>
    creator = 'serhiy.storchaka'
    dependencies = ['26671', '26800']
    files = ['42382', '43238', '44029', '44090', '44159']
    hgrepos = []
    issue_num = 26027
    keywords = ['patch']
    message_count = 27.0
    messages = ['257642', '262963', '267427', '269212', '269220', '269797', '269801', '272061', '272556', '272650', '272677', '273161', '273734', '273735', '273745', '273748', '273749', '273754', '273786', '273788', '273791', '273792', '273793', '273799', '273800', '274650', '274654']
    nosy_count = 12.0
    nosy_names = ['brett.cannon', 'paul.moore', 'tim.golden', 'ethan.furman', 'python-dev', 'berker.peksag', 'martin.panter', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'JelleZijlstra']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue26027'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions