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
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 standardsys.displayhooksaving 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