Developer Guide: additions to the initial namespace of the Python Console#11090
Conversation
…Console A few new entries were missing as of PR nvaccess#9064 and PR nvaccess#9790
feerrenrut
left a comment
There was a problem hiding this comment.
It might be useful to point to where to check this list, or temporarily add to it during development / debugging work. What do you think?
Might be. However, note that the current way it is implemented doesn't allow one to cleanly add new entries to the initial namespace from say a GlobalPlugin without first initializing the console altogether, which I'd prefer not to advise. Still, I can add now a note like "See |
That's what I had in mind, just a tip to see the working of it. Sometimes if restarting an in development version of NVDA lots of times and needing to run the same commands over and over in the console it's helpful to hack that file. |
Done: d1a3617 |
feerrenrut
left a comment
There was a problem hiding this comment.
Thanks @JulienCochuyt
Link to issue number:
Follow-up of PR #9064
Follow-up of PR #9790
Summary of the issue:
These two PRs made additions to the initial namespace of the Python Console but missed to update the Developer Guide accordingly. (Yes, I'm one of the culprits...)
Description of how this pull request fixes the issue:
Add the new initial imports to the existing list.
Testing performed:
None
Known issues with pull request:
Change log entry:
I don't think these follow-ups deserve a change log entry.