Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IDLE: Shell calltips bugged by printed unclosed "(''' " #105689

Open
Assignees
terryjreedy
Labels
topic-IDLEtype-bugAn unexpected behavior, bug, or error
@SectorCorruptor

Description

@SectorCorruptor

When executing

help()

and giving an input of, say,ghi to the prompt,help terminates with an error.

However, the IDLE calltip for help changes from

(*args, **kwds)Define the builtin 'help'

to

Import can't find module, or can't find name in module.

(This is after ending thehelp session and typinghelp()

What is weird is that if I do the same thing again, except that I provide an input ofabc, as an example of a valid name, the calltip restores back to what it originally was.

Besides, the calltip also changes for other names. If I reproduce this issue, and then I typeprint(, the same calltip

Import can't find module, or can't find name in module.

comes.

Is this intended behaviour?

NOTE: This behaviour is not specific tohelp. See#105689 (comment).

My environment

  • CPython versions tested on: 3.11.3
  • Operating system and architecture: Windows 11

(Note: I wanted to attach a picture, but calltips go away as soon as I take a screenshot)

Metadata

Metadata

Assignees

Labels

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

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp