Skip to content

os.path.abspath with unicode argument should call os.getcwdu #47676

Closed
@saturnmimas

Description

@saturnmimas
BPO 3426
Nosy @ronaldoussoren, @amauryfa, @ezio-melotti, @briancurtin, @florentx
Superseder
  • bpo-7669: test_unicode_file fails with non-ascii path
  • Files
  • issue3426.diff: Patch that uses os.getcwdu() instead of os.getcwd() when the arg of abspath is unicode + unittests + helper context manager
  • issue3426-2.diff: Added fix for ntpath, refactored the tests
  • issue3426-3.diff: Fix for posixpath, ntpath, macpath, and os2emxpath
  • issue3426_any_cwd.diff: Patch, apply to trunk
  • 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/ezio-melotti'
    closed_at = <Date 2010-02-21.11:26:27.556>
    created_at = <Date 2008-07-22.14:32:13.090>
    labels = ['type-bug', 'expert-unicode']
    title = 'os.path.abspath with unicode argument should call os.getcwdu'
    updated_at = <Date 2010-02-21.11:26:27.555>
    user = 'https://bugs.python.org/saturnmimas'

    bugs.python.org fields:

    activity = <Date 2010-02-21.11:26:27.555>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2010-02-21.11:26:27.556>
    closer = 'ezio.melotti'
    components = ['Unicode']
    creation = <Date 2008-07-22.14:32:13.090>
    creator = 'saturn_mimas'
    dependencies = []
    files = ['15847', '15867', '15902', '16267']
    hgrepos = []
    issue_num = 3426
    keywords = ['patch', 'needs review', 'buildbot']
    message_count = 16.0
    messages = ['70148', '70151', '90101', '97645', '97676', '97680', '97752', '97799', '97801', '97806', '97861', '98044', '98650', '98665', '99623', '99651']
    nosy_count = 7.0
    nosy_names = ['ronaldoussoren', 'aimacintyre', 'amaury.forgeotdarc', 'ezio.melotti', 'saturn_mimas', 'brian.curtin', 'flox']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '7669'
    type = 'behavior'
    url = 'https://bugs.python.org/issue3426'
    versions = ['Python 2.6', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions