Skip to content

pathlib.PurePath.with_suffix() does not allow removing the suffix #64838

@tifv

Description

@tifv
mannequin
BPO 20639
Nosy @pitrou, @tifv, @serhiy-storchaka
Files
  • pathlib-with_suffix-test.diff: proposed tests
  • pathlib-with_suffix.diff: proposed fix
  • 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 2014-07-07.01:39:34.620>
    created_at = <Date 2014-02-16.13:28:50.211>
    labels = ['type-bug', 'library']
    title = 'pathlib.PurePath.with_suffix() does not allow removing the suffix'
    updated_at = <Date 2014-07-07.01:39:34.619>
    user = 'https://github.com/tifv'

    bugs.python.org fields:

    activity = <Date 2014-07-07.01:39:34.619>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-07-07.01:39:34.620>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2014-02-16.13:28:50.211>
    creator = 'july'
    dependencies = []
    files = ['34099', '34100']
    hgrepos = []
    issue_num = 20639
    keywords = ['patch']
    message_count = 5.0
    messages = ['211316', '211317', '211766', '222428', '222430']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'july', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20639'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions