Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Incorporate friendly-traceback into a modified version of IDLE #13

Closed
6 tasks
aroberge opened this issue May 11, 2019 · 1 comment
Closed
6 tasks

Incorporate friendly-traceback into a modified version of IDLE #13

aroberge opened this issue May 11, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@aroberge
Copy link
Owner

aroberge commented May 11, 2019

To facilitate the integration into other projects, I want to create a demo where I do so, and possibly document the steps taken in a series of blog posts. After a few experiments, I have decided to use IDLE as a base editor and use monkeypatching to incorporate friendly-traceback.

  • The invocation will be done using --idle as a command line option

IDLE itself has many command line options. This demonstration should support the following

  • by default, it should open a shell window (-i in IDLE)
  • if -e is specified (together with --idle), it should open an editor instead [same flag as IDLE]
  • if a source file is specified (together with --idle), it should run this file in IDLE's shell [similar to -r file in IDLE]

Some additional features

  • Ability to change the language via a menu in IDLE
  • The "friendly" output shoud be shown in a separate window, with custom formatting.
@aroberge aroberge added the enhancement New feature or request label May 11, 2019
@aroberge aroberge self-assigned this May 11, 2019
@aroberge aroberge changed the title Create GUI editor demo Incorporate friendly-traceback into a modified version of IDLE Jun 8, 2019
@aroberge
Copy link
Owner Author

Closing this issue as it appears that a simple patch to IDLE is not as straightforward as I first thought it would be. I believe it is more important to focus on trying to make Friendly-traceback as complete as possible in its coverage of Python exceptions, and having this issue open is just a distraction.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant