[Python-announce] JumpTheGun 0.0.9

2023-05-18 Thread Tal Einat
gun # For any CLI tool written in Python (>= 3.7): jumpthegun run [...] # Examples: jumpthegun run black --check . jumpthegun run aws --version # More details: jumpthegun --help https://github.com/taleinat/jumpthegun Enjoy snappier tools! - Tal

[issue45578] Missing tests for the dis module

2022-01-26 Thread Tal Einat
Tal Einat added the comment: Thanks for your work on this Nikita! -- nosy: +taleinat resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2022-01-23 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +29025 pull_request: https://github.com/python/cpython/pull/28332 ___ Python tracker <https://bugs.python.org/issue45

[issue41857] Document timeout arguments to poll() in select module

2022-01-21 Thread Tal Einat
Tal Einat added the comment: Thanks for this improvement, Zane! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41857] Document timeout arguments to poll() in select module

2022-01-21 Thread Tal Einat
Tal Einat added the comment: New changeset 656971e4953a70a6048170377888db5530eea0a6 by Tal Einat in branch '3.9': [3.9] bpo-41857: mention timeout argument units in select.poll() and select.depoll() doc-strings (GH-22406) https://github.com/python/cpython/commit

[issue41857] Document timeout arguments to poll() in select module

2022-01-21 Thread Tal Einat
Tal Einat added the comment: New changeset f6e5972fa984c10d47694973db1c91c6486d654a by Tal Einat in branch '3.10': [3.10] bpo-41857: mention timeout argument units in select.poll() and select.depoll() doc-strings (GH-22406) https://github.com/python/cpython/commit

[issue41857] Document timeout arguments to poll() in select module

2022-01-21 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +28929 pull_request: https://github.com/python/cpython/pull/30742 ___ Python tracker <https://bugs.python.org/issue41

[issue41857] Document timeout arguments to poll() in select module

2022-01-21 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +28928 pull_request: https://github.com/python/cpython/pull/30741 ___ Python tracker <https://bugs.python.org/issue41

[issue46080] argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help specified raises exception

2022-01-21 Thread Tal Einat
Tal Einat added the comment: Thanks for the report and the PR, Felix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41857] Document timeout arguments to poll() in select module

2022-01-20 Thread Tal Einat
Tal Einat added the comment: New changeset 27df7566bc19699b967e0e30d7808637b90141f6 by Zane Bitter in branch 'main': bpo-41857: mention timeout argument units in select.poll() and select.depoll() doc-strings (GH-22406) https://github.com/python/cpython/commit

[issue46080] argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help specified raises exception

2022-01-20 Thread Tal Einat
Tal Einat added the comment: New changeset 9e87c0e03fa501fb90008547983ce4c1dcaaf90c by Felix Fontein in branch 'main': bpo-46080: fix argparse help generation exception in edge case (GH-30111) https://github.com/python/cpython/commit/9e87c0e03fa501fb90008547983ce4c1dcaaf90c -- nosy

[issue40529] Auto Completions with case insensitive

2022-01-20 Thread Tal Einat
Tal Einat added the comment: This should probably be brought up in the python-ideas mailing list, which is much more active than the group on discuss.python.org. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40529] Auto Completions with case insensitive

2022-01-20 Thread Tal Einat
Change by Tal Einat : -- Removed message: https://bugs.python.org/msg382481 ___ Python tracker <https://bugs.python.org/issue40529> ___ ___ Python-bugs-list m

[issue40529] Auto Completions with case insensitive

2022-01-20 Thread Tal Einat
Change by Tal Einat : -- Removed message: https://bugs.python.org/msg382482 ___ Python tracker <https://bugs.python.org/issue40529> ___ ___ Python-bugs-list m

[issue41857] Document timeout arguments to poll() in select module

2022-01-20 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue41857> ___ ___ Python-bugs-list mailing list Unsub

[issue46086] Add ratio_min() function to the difflib library

2022-01-20 Thread Tal Einat
Tal Einat added the comment: I'm closing this for now since nobody has followed up and to the best of my understanding this wouldn't be an appropriate addition to the stdlib. This can be re-opened in the future if needed, of course. -- resolution: -> rejected stage: patch rev

[issue43654] IDLE: Fix tab completion after settings and some keys

2022-01-20 Thread Tal Einat
Tal Einat added the comment: Terry, for all intents and purposes you're the one in charge of IDLE now. I suggest deciding whether to change all three bindings as in the current PR or only the one for completions. Just le me know and if needed I'll make a new PR

[issue46005] [doc] replace 'distutils' examples with 'setuptools'

2022-01-17 Thread Tal Einat
Tal Einat added the comment: First, I think that it's good and useful to have full, well-maintained examples of how to build extension modules in the docs. Second, until distutils is removed, I think we should keep the documentation for how to use it. Due to this, I don't think adding

[issue46261] [doc] fix inaccuracies in sqlite3.Cursor.lastrowid docs

2022-01-08 Thread Tal Einat
Change by Tal Einat : -- stage: patch review -> resolved ___ Python tracker <https://bugs.python.org/issue46261> ___ ___ Python-bugs-list mailing list Un

[issue46261] [doc] fix inaccuracies in sqlite3.Cursor.lastrowid docs

2022-01-08 Thread Tal Einat
Tal Einat added the comment: Thanks for this, Erlend! -- stage: resolved -> patch review ___ Python tracker <https://bugs.python.org/issue46261> ___ ___ Py

[issue46261] [doc] fix inaccuracies in sqlite3.Cursor.lastrowid docs

2022-01-08 Thread Tal Einat
Tal Einat added the comment: New changeset b29aa71090e4dd34900660ecca8bb62667440f41 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46261: Update `sqlite3.Cursor.lastrowid` docs (GH-30407) https://github.com/python/cpython/commit/b29aa71090e4dd34900660ecca8bb62667440f41

[issue46261] [doc] fix inaccuracies in sqlite3.Cursor.lastrowid docs

2022-01-08 Thread Tal Einat
Tal Einat added the comment: New changeset 987fba102e909229dd2aa1a6115aa28d514c1818 by Miss Islington (bot) in branch '3.10': bpo-46261: Update `sqlite3.Cursor.lastrowid` docs (GH-30407) https://github.com/python/cpython/commit/987fba102e909229dd2aa1a6115aa28d514c1818

[issue46141] Fix ipaddress.ip_network TypeErrors

2022-01-08 Thread Tal Einat
Change by Tal Einat : -- nosy: +pmoody, taleinat stage: -> patch review status: pending -> open versions: -Python 3.8 ___ Python tracker <https://bugs.python.org/i

[issue46261] [doc] fix inaccuracies in sqlite3.Cursor.lastrowid docs

2022-01-08 Thread Tal Einat
Tal Einat added the comment: New changeset b6aa38f1ca79600f2ab46ac114ff36461a19c4a3 by Erlend Egeberg Aasland in branch 'main': bpo-46261: Update `sqlite3.Cursor.lastrowid` docs (GH-30407) https://github.com/python/cpython/commit/b6aa38f1ca79600f2ab46ac114ff36461a19c4a3 -- nosy

[issue46086] Add ratio_min() function to the difflib library

2022-01-08 Thread Tal Einat
Tal Einat added the comment: Thanks for the suggestion and the PR, Giacomo! However, in my opinion, this is better suited to be something like a cookbook recipe. The number of use cases for this will be low, and there would be little advantage to having this in the stdlib rather than

[issue46290] Parameter names are inaccurate in dataclasses docs

2022-01-08 Thread Tal Einat
Tal Einat added the comment: Good to know Eric, will do! -- ___ Python tracker <https://bugs.python.org/issue46290> ___ ___ Python-bugs-list mailing list Unsub

[issue46290] Parameter names are inaccurate in dataclasses docs

2022-01-08 Thread Tal Einat
Tal Einat added the comment: Thanks for the report and the PR, Zsolt! -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46290] Parameter names are inaccurate in dataclasses docs

2022-01-08 Thread Tal Einat
Tal Einat added the comment: New changeset ef5376e69e72fa922d7f1b3df47b99d3576f9df1 by Zsolt Dollenstein in branch 'main': bpo-46290: Fix parameter names in dataclasses docs (GH-30450) https://github.com/python/cpython/commit/ef5376e69e72fa922d7f1b3df47b99d3576f9df1

[issue46279] [docs] Minor information-ordering issue in __main__ doc

2022-01-08 Thread Tal Einat
Tal Einat added the comment: I agree that it seems better to avoid menntioning venv in that sentence. Specifically I suggest: This won’t work for __main__.py files in the root directory of a .zip file though. Hence, for consistency, minimal __main__.py without a __name__ check are preferred

[issue46290] Parameter names are inaccurate in dataclasses docs

2022-01-08 Thread Tal Einat
Tal Einat added the comment: Indeed, the argument name in the code is "obj", and in 3 of those 4 functions it is a normal (positional or keyword) argument, so the name is important. -- assignee: eric.smith -> taleinat nosy: +taleinat _

[issue15251] new.code and new.function crashes Python iterpretter

2021-10-18 Thread Tal Einat
Tal Einat added the comment: I couldn't reproduce this on the latest main branch with an updated version of the code sample (see attached repro.py). I also couldn't get such a crash with some variations of this. I'm marking this as fixed for now. We can re-open this if anyone runs

[issue19459] Python does not support the GEORGIAN-PS charset

2021-10-18 Thread Tal Einat
Tal Einat added the comment: With recent versions of Python (e.g. 3.9) this no longer causes a crash. Python apparently falls back to UTF-8, at least on my system: $ LANG=ka_GE.georgianps python3.9 Python 3.9.7 (default, Sep 9 2021, 23:20:13) [GCC 9.3.0] on linux Type "help",

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

2021-09-27 Thread Tal Einat
Tal Einat added the comment: How about "Control-D (end-of-file, a.k.a. EOF)" or even just "Control-D"? -- ___ Python tracker <https://bug

[issue40128] IDLE Show completions pop-up not working on macOS

2021-09-14 Thread Tal Einat
Tal Einat added the comment: Pablo, I'm not sure what you cherry-picked, but this fix for macOS broke the completions pop-up on Linux, and that appears to still be the state of things now on the 3.10.0 branch. Let's please not leave things this way if at all possible

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Tal Einat
Tal Einat added the comment: See PR GH-28328 with proposed fix. It should be tested on macOS with several relevant versions of Tcl/Tk to ensure that the Tk version range used is correct. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +26739 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28328 ___ Python tracker <https://bugs.python.org/issu

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Tal Einat
Change by Tal Einat : -- stage: patch review -> needs patch ___ Python tracker <https://bugs.python.org/issue45193> ___ ___ Python-bugs-list mailing list Un

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Tal Einat
Change by Tal Einat : -- pull_requests: -26735 ___ Python tracker <https://bugs.python.org/issue45193> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +26735 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26039 ___ Python tracker <https://bugs.python.org/issu

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Tal Einat
Tal Einat added the comment: I've also tested this on Windows 10 with the latest main branch (to be 3.11). The completions window works as expected with or without the recently added .update_idletasks() call. I do recommend limiting this to macOS (platform.system() == "Darwin").

[issue40128] IDLE Show completions pop-up not working on macOS

2021-09-14 Thread Tal Einat
Tal Einat added the comment: I've created a separate issue for the completion window not appearing on Linux, issue #45193. Let's move the discussion there. -- ___ Python tracker <https://bugs.python.org/issue40

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Tal Einat
New submission from Tal Einat : The completion window never appears with Python version 3.9.7 and with the current main branch. Ubuntu 20.04 (reproduced on two separate machines) Tested with Tcl/Tk versions 8.6.10 and 8.6.11. This is directly caused by the fix for issue #40128. Commenting

[issue40128] IDLE Show completions pop-up not working on macOS

2021-09-14 Thread Tal Einat
Tal Einat added the comment: Note that _tkinter.TK_VERSION and _tkinter.TK_VERSION are simply "8.6", not enough to differentiate between patch versions. The best way to get this info appears to be tk.call("info", "patchlevel"). Specifically I suggest: TK_VE

[issue40128] IDLE Show completions pop-up not working on macOS

2021-09-14 Thread Tal Einat
Tal Einat added the comment: Confirmed with python 3.9.7 installed via the "deadsnakes" apt repo on another Ubuntu 20.04 machine. "Confirmed" meaning specifically that the completion window never appears, and commenting out that single lin

[issue39218] Assertion failure when calling statistics.variance() on a float32 Numpy array

2021-08-25 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker <https://bugs.python.org/issue39218> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44325] IDLE: Fix shell comment anomalies

2021-06-07 Thread Tal Einat
Tal Einat added the comment: The sidebar doesn't seem to be causing this issue, it's just making it a bit more visible, since what was previously a blank line now also has a more visible "..." continuation prompt. -- ___ Python track

[issue44325] IDLE: Fix shell comment anomalies

2021-06-07 Thread Tal Einat
Tal Einat added the comment: > However, I sometimes saw ... appear very briefly, only to be overwritten with > >>>. This is a known limitation of the current sidebar implementation, which was very difficult to avoid and was considered minor enough to

[issue44325] IDLE: Fix shell comment anomalies

2021-06-07 Thread Tal Einat
Tal Einat added the comment: > 1) trailing whitespace (' ' and '\t' at least) is removed before this > function is called. I presume in IDLE rather than code.II, but cannot find > where. It is not with .rstrip. You're probably looking for

[issue40468] IDLE: configdialog tab rearrange

2021-06-06 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +25149 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26561 ___ Python tracker <https://bugs.python.org/issu

[issue37768] IDLE: Show help(object) output in a text viewer

2021-06-06 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +25150 pull_request: https://github.com/python/cpython/pull/26561 ___ Python tracker <https://bugs.python.org/issue37

[issue43654] IDLE: Fix tab completion after settings and some keys

2021-06-06 Thread Tal Einat
Tal Einat added the comment: > The unknown is whether anyone has changed these pseudoevent bindings and if > so, how much do we care? Let's ask on idle-dev. > Guido, do you have any comment on this proposal from a change policy > perspective? I'm not an ex-BDFL, but I

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: See PR GH-26491. -- ___ Python tracker <https://bugs.python.org/issue44282> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +25087 pull_request: https://github.com/python/cpython/pull/26491 ___ Python tracker <https://bugs.python.org/issue44

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: On my machine it running the test many times with parallelization no longer causes any failures with this change. Also, running other tests which us the @run_in_tk_mainloop decorator, with the same 1ms delay as before, doesn't cause any such failures. PR

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: > Running 12 duplicate tests in parallel on Windows on a 6 core (12 CPU) > machine with [...] resulted in nearly all failing. Yes, running test_idle in parallel with itself usually causes some failures due to UI focus being stolen from one instance by a

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: On Ubuntu 20.04, I've managed to occasionally get this issue to reproduce locally by running the test many times in parallel, repeatedly: parallel -n8 -N0 './python -m test -ugui test_idle -m test_colorizer' ::: $(seq 20) This appears to be an issue with our

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: I'm investigating this now. If nothing obvious comes up, I'll revert that PR. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: The latest PR where changes were made to IDLE's colorizer and its tests, including specifically adding the problematic test, is GH-25851. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: Please note that the referenced PR is not the correct one. I'll add a link to the right one shortly. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-01 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +25076 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26404 ___ Python tracker <https://bugs.python.org/issu

[issue30495] IDLE: modernize textview module

2021-05-28 Thread Tal Einat
Tal Einat added the comment: Ping? ISTM this could be considered done. -- nosy: +taleinat ___ Python tracker <https://bugs.python.org/issue30495> ___ ___ Pytho

[issue42831] IDLE fix colours for MacOS dark mode

2021-05-28 Thread Tal Einat
Change by Tal Einat : -- keywords: +easy, newcomer friendly stage: -> needs patch type: -> behavior ___ Python tracker <https://bugs.python.org/i

[issue23937] IDLE: revise window size, placement startup options

2021-05-28 Thread Tal Einat
Tal Einat added the comment: > When I changed the title, I intended to broaden the issue beyond 'start > maximized'. Even for that, there are two possibilities. 1. Configure option > (default as now). 2. Save 'current' position, which helps non-maximizers > also. So I

[issue23937] IDLE: revise window size, placement startup options

2021-05-28 Thread Tal Einat
Tal Einat added the comment: > There is a subtle issue easy to not notice. Scrolling is slightly different > when the window height an integral number of lines, as it now is on startup, > or pixels, as after resizing with zoom or mouse grab. I believe 'lines' is > enough b

[issue41611] IDLE: problems with completions on Mac

2021-05-28 Thread Tal Einat
Tal Einat added the comment: Both the original bug reported here, and the bug whereby completion could cause IDLE to freeze on macOS, have been fixed and backported to 3.10 and 3.9. -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue41611] IDLE: problems with completions on Mac

2021-05-28 Thread Tal Einat
Tal Einat added the comment: New changeset 21a56a4bce186cd19a50502d2de5117551616005 by Miss Islington (bot) in branch '3.9': bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winconfig_event() (GH-26404) https://github.com/python/cpython/commit

[issue41611] IDLE: problems with completions on Mac

2021-05-28 Thread Tal Einat
Tal Einat added the comment: New changeset 448abe8d8bcfdf50a5ecae1196199da46bdfed04 by Miss Islington (bot) in branch '3.10': bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winconfig_event() (GH-26404) https://github.com/python/cpython/commit

[issue43654] IDLE: Applying settings disables tab completion

2021-05-28 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +25016 pull_request: https://github.com/python/cpython/pull/26421 ___ Python tracker <https://bugs.python.org/issue43

[issue41611] IDLE: problems with completions on Mac

2021-05-28 Thread Tal Einat
Tal Einat added the comment: New changeset 4e2e5c1c4f792b4011e4c78d011baea2aee39f1b by Tal Einat in branch 'main': bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winconfig_event() (GH-26404) https://github.com/python/cpython/commit/4e2e5c1c4f792b4011e4c78d011baea2aee39f1b

[issue23937] IDLE: revise window size, placement startup options

2021-05-27 Thread Tal Einat
Tal Einat added the comment: In terms of its interface, IDLE is more like a REPL + text editor than what is commonly thought of as programming IDEs (Visual Studio, PyCharm/IDEA, Matlab, JupyterLab etc.) Terminals and text editors almost universally do not launch maximized by default

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: See a second PR for the originally reported bug, GH-26404. -- ___ Python tracker <https://bugs.python.org/issue41611> ___ ___ Pytho

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: It appears that this behavior is the intended behavior of Tk on macOS. Given that tkinter is meant to be a relatively straightforward wrapping of Tcl/Tk, it seems to me that we too should consider this not to be a bug, and resolve this issue as "won'

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: The Tcl/Tk devs have closed the issue I opened on their issue tracker as "not a bug", with the following comment: "Because Tk on the Mac uses API's to draw buttons, some configuration options are set by the OS and not by Tk. This is documented in

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +24997 pull_request: https://github.com/python/cpython/pull/26404 ___ Python tracker <https://bugs.python.org/issue41

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue43654> ___ ___ Python-bugs-list mailing list Unsub

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Tal Einat added the comment: Indeed, adding the events bound in EditorWindow.__init__ to RemoveKeybindings() and ApplyKeybindings(), so they are bound in the correct order, resolves this issue. See PR GH-26403. -- ___ Python tracker <ht

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +24996 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/26403 ___ Python tracker <https://bugs.python.org/issu

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: New changeset abc4bd5db91c86b6b74289241378a13bd3a0a5e2 by Tal Einat in branch 'main': bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400) https://github.com/python/cpython/commit/abc4bd5db91c86b6b74289241378a13bd3a0a5e2

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Tal Einat added the comment: The original issue appears to be caused by <> also being bound to Tab, but <> only being bound using event_add() once in EditorWindow.__init__(). Therefore, RemoveKeybindings() does remove the binding for tab due to <>, but <

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: Thanks for helping with this, E. Paine! Unfortunately, no, adding activebackground='red' doesn't help, even directly in a wish shell. -- ___ Python tracker <https://bugs.python.org/issue44

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: To clarify, the above is regarding IDLE freezing on macOS after hitting tab to complete, with no completions window open, and with multiple completions possible. That may not be identical to the issue originally reported here. Apologies if I've caused some

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: See PR GH-26400. -- stage: patch review -> needs patch ___ Python tracker <https://bugs.python.org/issue41611> ___ ___ Python-

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +24993 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26400 ___ Python tracker <https://bugs.python.org/issu

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: I've confirmed that the acw.update() call is still required on Windows to avoid the completion list positioning bug, and that IDLE doesn't freeze as described in this issue on Windows with that call in place

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- stage: -> needs patch type: -> behavior versions: +Python 3.10, Python 3.11 ___ Python tracker <https://bugs.python.org/i

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: I can reproduce this consistently on macOS by running IDLE, typing "sys.ba" in the shell and pressing the tab key. I've carefully narrowed this down to the call to acw.update() in AutoCompleteWindows.winconfig_event(). Removing that call makes everyt

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: > With 3.10.0b1 on Mac I am getting attribute completion freezes. I had to > turn them off. I am tempted to disable completions until there is a Mac IDLE > developer to dig into issues like this. Confirmed. This may be a separate issue. I have a macO

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: I've created an issue about this on the Tcl/Tk issue tracker: https://core.tcl-lang.org/tk/tktview/46274a117823fd65c6d98d38465b43165d0c4680 -- ___ Python tracker <https://bugs.python.org/issue44

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: Confirmed on macOS. This bugs also affects the underlying Tcl/Tk, confirmed with 8.6.11. To reproduce: $ wish % button .b -text START -bg red -fg white .b % pack .b -- ___ Python tracker <https://bugs.python.

[issue44243] tkinter button colors on Mac

2021-05-26 Thread Tal Einat
Tal Einat added the comment: FWIW this also behaves as expected on Ubuntu 20.04 with both Python 3.8 and 3.10. -- ___ Python tracker <https://bugs.python.org/issue44

[issue37903] IDLE Shell sidebar.

2021-05-26 Thread Tal Einat
Tal Einat added the comment: > Other bug reports and feature requests that matter to us don't appear to be > getting any traction: I'll start going through those, and see if I can fix some of the bugs on that list. A few notes: > Need an option to run the install-certificat

[issue37903] IDLE Shell sidebar.

2021-05-26 Thread Tal Einat
Tal Einat added the comment: > Lastly, for live demos in presentations, it is desirable to have a clear > screen, free of distracting artifacts. The sidebar is such an artifact -- > you would never see such a thing in a book or slide presentation. Also, for > live demos,

[issue37903] IDLE Shell sidebar.

2021-05-26 Thread Tal Einat
Tal Einat added the comment: > Another desirable feature is the ability to cut and paste snippets into > docstrings. This is essential not just for doctest, but even for untested > examples in docstrings. > Those examples, need to be recognizable to humans as interact

[issue37903] IDLE Shell sidebar.

2021-05-26 Thread Tal Einat
Tal Einat added the comment: For a wider context, besides the default REPL, I also consider two other leading REPLs: ipython and Jupyter notebooks. They both also have clear separation of outputs from inputs, though in different ways than the standard REPL. ipython retains similar

[issue37903] IDLE Shell sidebar.

2021-05-26 Thread Tal Einat
Tal Einat added the comment: > For teaching purposes in live demos, it is essential to have a clear visual > distinction between the inputs and outputs: > > >>> beatles = ['john', 'paul', 'ringo', 'george'] > >>> [name.capitalize() for name in beatles] &g

[issue44010] IDLE: highlight soft keywords

2021-05-25 Thread Tal Einat
Tal Einat added the comment: IMO this can be closed, so I'm closing this. (Terry is welcome to reopen this if needed.) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bug

[issue44217] Tkinter/IDLE: literal astral char discombobulates text editing

2021-05-24 Thread Tal Einat
Tal Einat added the comment: > It is partially an IDLE issue. The code expects that indices in Python string > correspond indices in Tcl string, but this is not true in case of astral > characters which are encoded as 2 (or maybe even 4) characters in Tcl. It's not just that -

[issue44217] Tkinter/IDLE: literal astral char discombobulates text editing

2021-05-23 Thread Tal Einat
Tal Einat added the comment: This is at least partly a tcl/tk issue. Using Terry's last example, the Text widget reports that the length of the line is 14 (t.index('1.end') -> '1.14'), despite it only including 11 characters. It appears that each emoji character adds an extra charac

[issue44163] IDLE ValueError in HyperParser

2021-05-20 Thread Tal Einat
Tal Einat added the comment: I took a look but can't see any obvious bugs there. ISTM that's a rather harmless edge case. I can't think of anything to do with this except to close for now, and reopen if this pops up again. Thinking a few steps forward, to make sense of such issues

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2021-05-17 Thread Tal Einat
Tal Einat added the comment: After thinking about this a bit more, it seems to me that using an atexit handler is definitely worth pursuing, but not for 3.10.0. I'm in favor of merging the existing PR as an immediate fix for IDLE, and following up with a general solution for tkinter using

  1   2   3   4   5   6   7   8   9   10   >