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
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
Change by Tal Einat :
--
pull_requests: +29025
pull_request: https://github.com/python/cpython/pull/28332
___
Python tracker
<https://bugs.python.org/issue45
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
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
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
Change by Tal Einat :
--
pull_requests: +28929
pull_request: https://github.com/python/cpython/pull/30742
___
Python tracker
<https://bugs.python.org/issue41
Change by Tal Einat :
--
pull_requests: +28928
pull_request: https://github.com/python/cpython/pull/30741
___
Python tracker
<https://bugs.python.org/issue41
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
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
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
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
Change by Tal Einat :
--
Removed message: https://bugs.python.org/msg382481
___
Python tracker
<https://bugs.python.org/issue40529>
___
___
Python-bugs-list m
Change by Tal Einat :
--
Removed message: https://bugs.python.org/msg382482
___
Python tracker
<https://bugs.python.org/issue40529>
___
___
Python-bugs-list m
Change by Tal Einat :
--
versions: +Python 3.11, Python 3.9
___
Python tracker
<https://bugs.python.org/issue41857>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
Change by Tal Einat :
--
stage: patch review -> resolved
___
Python tracker
<https://bugs.python.org/issue46261>
___
___
Python-bugs-list mailing list
Un
Tal Einat added the comment:
Thanks for this, Erlend!
--
stage: resolved -> patch review
___
Python tracker
<https://bugs.python.org/issue46261>
___
___
Py
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
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
Change by Tal Einat :
--
nosy: +pmoody, taleinat
stage: -> patch review
status: pending -> open
versions: -Python 3.8
___
Python tracker
<https://bugs.python.org/i
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
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
Tal Einat added the comment:
Good to know Eric, will do!
--
___
Python tracker
<https://bugs.python.org/issue46290>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
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
_
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
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",
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
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
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
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
Change by Tal Einat :
--
stage: patch review -> needs patch
___
Python tracker
<https://bugs.python.org/issue45193>
___
___
Python-bugs-list mailing list
Un
Change by Tal Einat :
--
pull_requests: -26735
___
Python tracker
<https://bugs.python.org/issue45193>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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").
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
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
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
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
Change by Tal Einat :
--
nosy: -taleinat
___
Python tracker
<https://bugs.python.org/issue39218>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Change by Tal Einat :
--
pull_requests: +25150
pull_request: https://github.com/python/cpython/pull/26561
___
Python tracker
<https://bugs.python.org/issue37
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
Tal Einat added the comment:
See PR GH-26491.
--
___
Python tracker
<https://bugs.python.org/issue44282>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Tal Einat :
--
pull_requests: +25087
pull_request: https://github.com/python/cpython/pull/26491
___
Python tracker
<https://bugs.python.org/issue44
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
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
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
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
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
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
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
Tal Einat added the comment:
Ping? ISTM this could be considered done.
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/issue30495>
___
___
Pytho
Change by Tal Einat :
--
keywords: +easy, newcomer friendly
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.org/i
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
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
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
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
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
Change by Tal Einat :
--
pull_requests: +25016
pull_request: https://github.com/python/cpython/pull/26421
___
Python tracker
<https://bugs.python.org/issue43
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
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
Tal Einat added the comment:
See a second PR for the originally reported bug, GH-26404.
--
___
Python tracker
<https://bugs.python.org/issue41611>
___
___
Pytho
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'
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
Change by Tal Einat :
--
pull_requests: +24997
pull_request: https://github.com/python/cpython/pull/26404
___
Python tracker
<https://bugs.python.org/issue41
Change by Tal Einat :
--
versions: +Python 3.11, Python 3.9
___
Python tracker
<https://bugs.python.org/issue43654>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
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 <
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
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
Tal Einat added the comment:
See PR GH-26400.
--
stage: patch review -> needs patch
___
Python tracker
<https://bugs.python.org/issue41611>
___
___
Python-
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
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
Change by Tal Einat :
--
stage: -> needs patch
type: -> behavior
versions: +Python 3.10, Python 3.11
___
Python tracker
<https://bugs.python.org/i
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
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
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
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.
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
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
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,
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
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
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
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
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 -
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
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
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 - 100 of 1483 matches
Mail list logo