Skip to content

Return destination path in Path.rename and Path.replace #75346

Description

@albertogomcas
BPO 31163
Nosy @jaraco, @pitrou, @bitdancer, @berkerpeksag, @csabella
PRs
  • bpo-31163: Adding return values to pathlib's rename and replace methods #4055
  • bpo-31163: Added return values to pathlib.Path instance's rename and replace methods. #13582
  • [3.8] bpo-31163: Added return values to pathlib.Path instance's rename and replace methods. (GH-13582) #15944
  • 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 2019-09-11.14:23:08.013>
    created_at = <Date 2017-08-09.15:32:24.454>
    labels = ['easy', '3.8', '3.9', 'type-feature', 'library', 'docs']
    title = 'Return destination path in Path.rename and Path.replace'
    updated_at = <Date 2019-09-11.14:23:08.008>
    user = 'https://bugs.python.org/albertogomcas'

    bugs.python.org fields:

    activity = <Date 2019-09-11.14:23:08.008>
    actor = 'jaraco'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2019-09-11.14:23:08.013>
    closer = 'jaraco'
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2017-08-09.15:32:24.454>
    creator = 'albertogomcas'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31163
    keywords = ['patch', 'easy']
    message_count = 5.0
    messages = ['300019', '300027', '342970', '351865', '351892']
    nosy_count = 7.0
    nosy_names = ['jaraco', 'pitrou', 'r.david.murray', 'docs@python', 'berker.peksag', 'cheryl.sabella', 'albertogomcas']
    pr_nums = ['4055', '13582', '15944']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31163'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9 (EOL)end of lifedocsDocumentation in the Doc direasystdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions