Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE 3.8 can not save and run this file #85491

Closed
ghost opened this issue Jul 17, 2020 · 4 comments
Closed

IDLE 3.8 can not save and run this file #85491

ghost opened this issue Jul 17, 2020 · 4 comments
Assignees
Labels
3.8 only security fixes build The build process and cross-build topic-IDLE

Comments

@ghost
Copy link

ghost commented Jul 17, 2020

BPO 41319
Nosy @terryjreedy
Superseder
  • bpo-41300: IDLE: add missing import io in iomenu.py
  • Files
  • tempconvert.py
  • 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/terryjreedy'
    closed_at = <Date 2020-07-17.11:10:00.225>
    created_at = <Date 2020-07-17.04:14:29.946>
    labels = ['expert-IDLE', 'build', '3.8']
    title = 'IDLE 3.8 can not save and run this file'
    updated_at = <Date 2020-07-17.20:35:03.364>
    user = None

    bugs.python.org fields:

    activity = <Date 2020-07-17.20:35:03.364>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2020-07-17.11:10:00.225>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2020-07-17.04:14:29.946>
    creator = '\xe5\xae\x8b\xe5\x98\x89\xe8\x85\xbe'
    dependencies = []
    files = ['49320']
    hgrepos = []
    issue_num = 41319
    keywords = []
    message_count = 4.0
    messages = ['373797', '373817', '373822', '373855']
    nosy_count = 2.0
    nosy_names = ['terry.reedy', '\xe5\xae\x8b\xe5\x98\x89\xe8\x85\xbe']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '41300'
    type = 'compile error'
    url = 'https://bugs.python.org/issue41319'
    versions = ['Python 3.8']

    @ghost
    Copy link
    Author

    ghost commented Jul 17, 2020

    If I delete the chinese in this py file, it can run.
    I use notepad and edit it, and it can run derectly in cmd.

    Repository owner added the 3.8 only security fixes label Jul 17, 2020
    @ghost ghost assigned terryjreedy Jul 17, 2020
    Repository owner added topic-IDLE build The build process and cross-build labels Jul 17, 2020
    @wyz23x2
    Copy link
    Mannequin

    wyz23x2 mannequin commented Jul 17, 2020

    Is bpo-41300 related? It talks about non-ASCII in IDLE.

    @terryjreedy
    Copy link
    Member

    Already fixed. I have asked the fix go in 3.8.5 on Monday.

    @terryjreedy
    Copy link
    Member

    宋嘉腾 put 'import io' at the top of idlelib/iomenu.py

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes build The build process and cross-build topic-IDLE
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants