Skip to content

shutil.move fails with AttributeError #78250

@joshuaavalon

Description

@joshuaavalon
BPO 34069
Nosy @pfmoore, @tjguk, @berkerpeksag, @zware, @eryksun, @zooba
Superseder
  • bpo-32689: shutil.move raises AttributeError if first argument is a pathlib.Path object and destination is a directory
  • 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 2018-07-08.12:12:32.399>
    created_at = <Date 2018-07-08.10:57:23.096>
    labels = ['3.7', '3.8', 'type-bug', 'library', 'easy']
    title = 'shutil.move fails with AttributeError'
    updated_at = <Date 2018-07-08.12:12:32.397>
    user = 'https://bugs.python.org/joshuaavalon'

    bugs.python.org fields:

    activity = <Date 2018-07-08.12:12:32.397>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-08.12:12:32.399>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2018-07-08.10:57:23.096>
    creator = 'joshuaavalon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34069
    keywords = ['easy']
    message_count = 3.0
    messages = ['321270', '321272', '321274']
    nosy_count = 7.0
    nosy_names = ['paul.moore', 'tim.golden', 'berker.peksag', 'zach.ware', 'eryksun', 'steve.dower', 'joshuaavalon']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '32689'
    type = 'behavior'
    url = 'https://bugs.python.org/issue34069'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeeasystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions