Repository navigation
Conversation
Signed-off-by: Tal Einat <[email protected]>
|
This PR is stale because it has been open for 30 days with no activity. |
|
@terryjreedy, how do we move forward with this? You previously mentioned the added complexity and amount of code as something you were weighing against the benefits of having this feature. To address that, this PR has less code than the previous one which also support keys of type bytes. Beyond that, I can commit to maintain this feature in the foreseeable future. I will mention that using this locally has been extremely nice, and I think this would make a greater positive impact on users' experiences than you may think. |
|
We need an update merge and resolution of test failures. Old test reports are gone. On my machine, test_idle passes on current main,. It fail thrice on this branch. Perhaps a result of changing mock_tk.Text. Inserting ')' into mock Text on 324 should have closed it. self.ct.open_calltip(True) on line 337 should leave a calltip. Repeat of first error. |
|
Manual testing: Old bug: Please post on the list as to how you found this useful. |
| index = self.text.index | ||
|
|
||
| for dex in (-1.0, 0.3, '1.-1', '1.0', '1.0 lineend', '1.end', '1.33', | ||
| for dex in ('0.0', '0.3', '1.0', '1.0 lineend', '1.end', '1.33', |
There was a problem hiding this comment.
The test examples removed here and below are legal and intentional. Please reinstate or explain.
| IDLE's shell auto-completion works for dict keys of types :class:`str` | ||
| and :class:`bytes`. No newline at end of file |
There was a problem hiding this comment.
| IDLE's shell auto-completion works for dict keys of types :class:`str` | |
| and :class:`bytes`. | |
| IDLE's shell auto-completion works for dict keys of types :class:`str`. |
|
When you're done making the requested changes, leave the comment: |
|
Updating that this is currently blocked by completions being broken on Linux (bpo-45193). |
|
This PR is stale because it has been open for 30 days with no activity. |
|
This PR has not been touched by a human in more than 5 years. Closing to cull the number of open pull requests. Do not reopen this pull request without getting a go-ahead from a triager or core developer on the related issue. |
This is an updated version of PR GH-15169, rebased onto the current main branch and with support for keys of type bytes removed.
Note that completion is intentionally limited to keys of type str only.
Additional changes made in this PR: