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

Python Console: Preserve the result of the last executed command #9782

Closed
JulienCochuyt opened this issue Jun 21, 2019 · 0 comments
Closed

Python Console: Preserve the result of the last executed command #9782

JulienCochuyt opened this issue Jun 21, 2019 · 0 comments
Milestone

Comments

@JulienCochuyt
Copy link
Collaborator

@JulienCochuyt JulienCochuyt commented Jun 21, 2019

Is your feature request related to a problem? Please describe.

The NVDA Python Console implementation prevents clobbering of the gettext _ built-in but at the same time prevents the user from taking advantage of the standard sys.displayhook saving the last returned value under that same name.

Describe the solution you'd like

Best of both worlds: Gettext not clobbered and last returned value accessible as the underscore variable.

Describe alternatives you've considered

Additional context

Upcoming PR

JulienCochuyt added a commit to accessolutions/nvda that referenced this issue Jun 21, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Jun 25, 2019
michaelDCurran added a commit that referenced this issue Jun 25, 2019
…) (#9783)

* Python Console: Preserve the result of the last executed command (#9782)

* Python Console: Preserve the result of the last executed command (#9782)

Update Developer Guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants