Skip to content

Pasting and then running code doesn't work in the IDLE Shell #58007

Closed

Description

@RamchandraApte
BPO 13798
Nosy @serwy
Superseder
  • bpo-3559: IDLE: Pasted newline doesn't trigger execution when typed newline would
  • 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 2012-01-21.02:32:48.621>
    created_at = <Date 2012-01-16.12:44:43.715>
    labels = ['expert-IDLE', 'type-bug']
    title = "Pasting and then running code doesn't work in the IDLE Shell"
    updated_at = <Date 2012-01-21.02:32:48.620>
    user = 'https://bugs.python.org/RamchandraApte'

    bugs.python.org fields:

    activity = <Date 2012-01-21.02:32:48.620>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-01-21.02:32:48.621>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2012-01-16.12:44:43.715>
    creator = 'Ramchandra Apte'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 13798
    keywords = []
    message_count = 2.0
    messages = ['151352', '151398']
    nosy_count = 2.0
    nosy_names = ['roger.serwy', 'Ramchandra Apte']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '3559'
    type = 'behavior'
    url = 'https://bugs.python.org/issue13798'
    versions = ['Python 3.2', 'Python 3.3']

    Activity

    1. RamchandraApte commented on Jan 16, 2012

      RamchandraAptemannequin
      MannequinAuthor

      If you paste code with multiple lines which are not in a block of code into the IDLE Shell and press enter to run the code, only the first line of the code gets executed and the rest of the code is ignored.

      You can even put garbage such as "$$$$" in the lines after the first line.

    2. serwy commented on Jan 16, 2012

      serwymannequin
      Mannequin

      This is a duplicate of bpo-3559.

    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      topic-IDLEtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions