Skip to content

Python 3.6 cannot reopen .pyc file with non-ASCII path #76562

@tianjg

Description

@tianjg
mannequin
BPO 32381
Nosy @pfmoore, @vstinner, @tjguk, @ezio-melotti, @zware, @eryksun, @zooba, @izbyshev, @ZackerySpytz
PRs
  • bpo-32381: .pyc files with non-ASCII paths cannot be reopened on Windows #14699
  • bpo-32381: Fix PyRun_SimpleFileExFlags() encoding #23642
  • [3.9] bpo-32381: Fix PyRun_SimpleFileExFlags() encoding (GH-23642) #23692
  • [3.8] bpo-32381: Fix PyRun_SimpleFileExFlags() encoding (GH-23642) (GH-23692) #23696
  • bpo-32381: Rewrite PyErr_ProgramText() #23700
  • bpo-32381: Add _PyRun_SimpleFileObject() #23709
  • bpo-32381: Remove unused _Py_fopen() function #23711
  • bpo-32381: Add _PyRun_AnyFileObject() #23723
  • bpo-32381: pymain_run_command() uses PyCF_IGNORE_COOKIE #23724
  • bpo-32381: pymain_run_file() uses PySys_FormatStderr() #23778
  • Files
  • 20171218111240.jpg
  • 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 2020-12-08.17:12:35.886>
    created_at = <Date 2017-12-20.06:07:24.842>
    labels = ['interpreter-core', 'type-bug', '3.8', 'OS-windows', '3.10', 'expert-unicode', '3.9']
    title = 'Python 3.6 cannot reopen .pyc file with non-ASCII path'
    updated_at = <Date 2021-01-06.09:13:10.218>
    user = 'https://bugs.python.org/tianjg'

    bugs.python.org fields:

    activity = <Date 2021-01-06.09:13:10.218>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-08.17:12:35.886>
    closer = 'izbyshev'
    components = ['Interpreter Core', 'Unicode', 'Windows']
    creation = <Date 2017-12-20.06:07:24.842>
    creator = 'tianjg'
    dependencies = []
    files = ['47341']
    hgrepos = []
    issue_num = 32381
    keywords = ['patch', '3.6regression']
    message_count = 27.0
    messages = ['308705', '308707', '308709', '308723', '308831', '308832', '347896', '382502', '382503', '382504', '382509', '382510', '382512', '382514', '382734', '382743', '382750', '382751', '382752', '382770', '382776', '382804', '382806', '383063', '383067', '383653', '384477']
    nosy_count = 11.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'ezio.melotti', 'zach.ware', 'eryksun', 'steve.dower', 'izbyshev', 'ZackerySpytz', 'Tianjg', 'tianjg']
    pr_nums = ['14699', '23642', '23692', '23696', '23700', '23709', '23711', '23723', '23724', '23778']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32381'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9only security fixesOS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-unicodetype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions