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

Allow the repl to show source code and complete tracebacks #110805

Closed
Labels
3.13bugs and security fixestype-featureA feature request or enhancement
@pablogsal

Description

@pablogsal

Currently the REPL doesn't show traceback source or augmented information for the source that is typed in the repl itself:

>>> def f(x):...    1/x...>>> f(0)Traceback (most recent call last):  File "<stdin>", line 1, in <module>  File "<stdin>", line 2, in fZeroDivisionError: division by zero

To improve user experience, we want the REPL to be able to treat source lines thar were typed directly as any other kind and show proper tracebacks:

>>> def f(x):...    1/x...>>> f(0)Traceback (most recent call last):  REPL, line 1, in <module>    f(0)  REPL, line 2, in f    1/x    ~^~ZeroDivisionError: division by zero

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixestype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp