Skip to content

Regression: os.walk now using os.scandir() breaks bytes filenames on windows #70099

@mont29

Description

@mont29
mannequin
BPO 25911
Nosy @pfmoore, @db3l, @vstinner, @tjguk, @ideasman42, @benhoyt, @zware, @serhiy-storchaka, @eryksun, @zooba
PRs
  • [3.4] Backport CI config from master #2475
  • Files
  • walk_bytes.patch
  • walk_bytes_2.patch
  • test_walk_bytes_deprecate.patch
  • 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 2016-03-29.21:57:59.389>
    created_at = <Date 2015-12-19.15:39:38.268>
    labels = ['type-bug', 'library', 'OS-windows']
    title = 'Regression: os.walk now using os.scandir() breaks bytes filenames on windows'
    updated_at = <Date 2017-06-28.17:13:22.562>
    user = 'https://bugs.python.org/mont29'

    bugs.python.org fields:

    activity = <Date 2017-06-28.17:13:22.562>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-03-29.21:57:59.389>
    closer = 'vstinner'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2015-12-19.15:39:38.268>
    creator = 'mont29'
    dependencies = []
    files = ['41397', '41598', '41897']
    hgrepos = []
    issue_num = 25911
    keywords = ['patch', '3.5regression']
    message_count = 37.0
    messages = ['256731', '256732', '256755', '256757', '256785', '256787', '256804', '256812', '256820', '256904', '256908', '256909', '256911', '258133', '258134', '258378', '259846', '259847', '259848', '260103', '260787', '261360', '261370', '261735', '262174', '262330', '262332', '262333', '262474', '262475', '262485', '262594', '262599', '262605', '262606', '262607', '262632']
    nosy_count = 13.0
    nosy_names = ['paul.moore', 'db3l', 'vstinner', 'tim.golden', 'ideasman42', 'SilentGhost', 'benhoyt', 'python-dev', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'mont29']
    pr_nums = ['2475']
    priority = 'high'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25911'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsstdlibStandard 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