Change by Terry J. Reedy :
--
title: IDLE: Colorizer test hangs on macOS -> IDLE: Colorizer and output tests
hang on macOS
___
Python tracker
<https://bugs.python.org/issu
New submission from Terry J. Reedy :
Ned, have you seen or heard anything about tkinter/tk8.6.11 freezing on macOS?
It is happening in many places.
On my MacBook, python3.9 -m test -ugui -v test_idle runs OK in about 10
seconds. With installed python3.10.0b2, it runs test_colorizer
Terry J. Reedy added the comment:
I added debug prints to _maybe_compile and confirmed
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. (
New submission from Terry J. Reedy :
Spinoff from #38673, about standard REPL, msg356271 (me) and msg356348 (Guido).
In the following interactions, no blank lines were entered.
3.9 behavior
>>> #a
>>> # a
>>> #a
>>> # a
>>>
Mystery 1: why the
Terry J. Reedy added the comment:
I verified that sndhdr.what(0) calls "with open(0, rb)" so that Eryk's comment
applies. (On Windows, handle 0 is invalid, so the call errors immediately
instead of hanging.)
--
nosy: +terry.reedy
resolution: -> not a bug
stage:
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +25151
pull_request: https://github.com/python/cpython/pull/26562
___
Python tracker
<https://bugs.python.org/issue44
New submission from Terry J. Reedy :
Document that SyntaxError args[1] is a tuple of the other attributes and how
the meaning of the attributes is adjusted when the syntax error is in an
f-string field replacement expression. Also add compile() to the list of
builtins that can raise
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue44265>
___
___
Python-bugs-list m
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue44310>
___
___
Python-bugs-list m
Change by Terry J. Reedy :
--
nosy: +jafo
___
Python tracker
<https://bugs.python.org/issue44309>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
title: date.today() is 2x slower than datetime.now().date() -> date.today() is
half as fast as datetime.now().date()
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Coredevs are likely to assume that the problem is in greenlets, especially if
it has any C code (I don't know). I suggest you first try to find the commit
between releases that resulted in the problem. If it is not deterministicly
reproducible, you l
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue44301>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
To me, Raymond's flattening is a plausible replacement, especially ater a
future speedup. However, I would re-order the patterns to None, False, True,
str(), int(), ..., _. These independent conditions, other than _ (or else in
the if chain), c
Terry J. Reedy added the comment:
Jesse or Andre, please test interactive help in IDLE as pydoc then knows that
it is *not* talking to Windows console. It then does not use more.com but
prints the entire text at once. It should send it 'as is' and should ignore
the console la
Terry J. Reedy added the comment:
If you intend to import the stdlib sys and succeed, the original stdout is
called '__stdout__'. See
https://docs.python.org/3/library/sys.html#sys.__stdin__, including the note
that it may be None on Windows. Also peruse that doc to see what
Terry J. Reedy added the comment:
Concrete reason 3. Treewidget does not work on high-res monitors. The #37041
quick Treeview test worked for Andre Roberge
--
nosy: +aroberge
versions: +Python 3.11 -Python 3.7, Python 3.8
___
Python tracker
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
The other thing I thought is parameterizing the decorator to pass in a delay
only for this test, but that require another layer of wrapping, which I cannot
do right now.
So I think we should just add skiptest for now. In fact, we only need to run
it when
Terry J. Reedy added the comment:
The confusion is my fault: PR-26404 is where I first saw this failure, for the
previously added tests, not where the test was added. I unlinked the erroneous
message.
Running 12 duplicate tests in parallel on Windows on a 6 core (12 CPU) machine
with
f
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg394871
___
Python tracker
<https://bugs.python.org/issue44282>
___
___
Python-bug
Change by Terry J. Reedy :
--
pull_requests: -25083
___
Python tracker
<https://bugs.python.org/issue41611>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Currently, the keys that define certain pseudoevents and invoke the associated
event handlers are fixed: tab, '.', and within strings, '/' and '\' for
completions, '(' and ')' for calltip open and close, and
New submission from Terry J. Reedy :
idlelib.idle_test.test_colordelagator.ColorDelegatorTest.test_incremental_editing
has failed on at least on the following machines.
Pip32 CI Pipelines Win32
Gen3x https://buildbot.python.org/all/#/builders/464 x86 Gentoo Installed
with X 3.x
GenPR
Terry J. Reedy added the comment:
Followup to PR-26404, which added the tests.
--
___
Python tracker
<https://bugs.python.org/issue44282>
___
___
Python-bug
Terry J. Reedy added the comment:
New changeset 9bcb76c24f6d3f01e596a439c1521f9099e3fe80 by Miss Islington (bot)
in branch '3.9':
bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons
(GH-26448)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset addd32986f703e692463828ac0014023a901010f by Miss Islington (bot)
in branch '3.10':
bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons
(GH-26448)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset af5a324843de395cecc562cb0c757b3768f2077f by Terry Jan Reedy in
branch 'main':
bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons
(GH-26448)
https://github.com/python/cpython/commit/af5a324843de395cecc562cb0c757b
Terry J. Reedy added the comment:
I picked a bluish green that works on both white and black on Windows. Test is
you can and wish.
--
___
Python tracker
<https://bugs.python.org/issue44
Terry J. Reedy added the comment:
Of course, I cannot set the background on my Mac, so I will test on Windows and
let you verify on dark theme mac
--
___
Python tracker
<https://bugs.python.org/issue44
Terry J. Reedy added the comment:
I presume you tested pr_26448. If default colors do not work, that is on
tcl/tk. I suspect 8.6.11 is not prepared for dark theme. The underlying bug
is ignoring the tk/user setting and deferring to the system for background only.
In the meanwhile, I will
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +25042
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/26448
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Ned, could you check the darwin osascript in turtledemo.__main__, lines 138-149
is current (both needed and correct)?
subprocess.run(
[
'osascript',
'-e'
Terry J. Reedy added the comment:
I am going to disable color config on darwin (and hope it gets into b2). The
default should always work.
--
___
Python tracker
<https://bugs.python.org/issue44
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
'exec' was a keyword in 2.x, but that should not matter in 3.9. What OS? Did
you get an actual crash (core dump on *nix), or a python exception and
traceback (not a crash)? If the latter, copy and paste it.
--
nosy: +t
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: enhancement -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
New changeset 7261b29fa90d22f6cb5f3c94a3dbbf7978c6f448 by Miss Islington (bot)
in branch '3.10':
bpo-44249: Fix 3 README.rst typos (GH-26385)
https://github.com/python/cpython/commit/7261b29fa90d22f6cb5f3c94a3dbbf
Terry J. Reedy added the comment:
New changeset 8f8f2ea832949fd9cd76c7a7924f346b316fb610 by Miss Islington (bot)
in branch '3.9':
bpo-44249: Fix 3 README.rst typos (GH-26385)
https://github.com/python/cpython/commit/8f8f2ea832949fd9cd76c7a7924f34
New submission from Terry J. Reedy :
New changeset acac6c71ff370413374c6aca1df808c426e8a30c by Ayush Parikh in
branch 'main':
bpo-44249: Fix 3 README.rst typos (GH-26385)
https://github.com/python/cpython/commit/acac6c71ff370413374c6aca1df808c426e8a30c
--
nosy: +t
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue44215>
___
___
Python-bugs-list m
Change by Terry J. Reedy :
--
versions: -Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue44225>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
David and Steve merged the seemingly conflicting PRs.
--
nosy: +r.david.murray, steve.dower, terry.reedy
versions: +Python 3.11 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue44
Terry J. Reedy added the comment:
Tal, I think you had the right solution the first time. To me, tab is (should
be) a fixed key, and the event added just once, like the other fixed keys. I
am quite surprised that it isn't. Please revise or make a new patch to remove
it from
Change by Terry J. Reedy :
--
resolution: -> third party
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy 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
Terry J. Reedy added the comment:
pydev core has not touched 2.7 in a year. Anyone else maintaining 2.7 has had
a chance to grab 2.7 issues. So all 2.7 issues should be closed unless
obviously relevant to current issues (and even then have 2.7 removed). I agree
that the later does not
Terry J. Reedy added the comment:
#44254 is a followup to change turtledemo unpressed button colors to something
on white.
--
___
Python tracker
<https://bugs.python.org/issue44
New submission from Terry J. Reedy :
[Following up on #44243.]
tk/tkinter-based turtledemo buttons are currently white on something. On Mac,
configured foreground button colors are honored (while the button is
unpressed), while background colors are ignored. Given that the unpressed
Terry J. Reedy added the comment:
"The configure and cget subcommands can still manipulate the values, but do not
cause any variation to the look of the widget." is wrong. Setting the
foreground color *does* change the unpressed foreground color, so that 'white'
bec
Terry J. Reedy added the comment:
The completion freeze fix is easily backported to non-Windows installations.
1. Run IDLE
2. File => Open Module, enter 'idlelib.autocomplete_w', OK.
3. Goto line 247 (3.9) or 250 (3.10) with "acw.update".
4. Add # in from of above to
Terry J. Reedy 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.
--
nosy: +taleinat
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue44243>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Terry J. Reedy :
Mac Mohave, 3.9 with 8.6.8 and 3.10 with 8.6.11
import tkinter as tk
r = tk.Tk()
b = tk.Button(r, text='START', fg='white', bg='red') # Or '#f00'.
b.pack()
r.mainloop()
On Windows, white on red button, as expecte
Terry J. Reedy added the comment:
I will link to an IDLE shell followup issue later.
Discussions about other IDLE issues should be on pre-existing issues (use the
tracker search with Components: IDLE), new issues, or without an issue, on the
idle-dev list.
--
resolution: -> fi
Terry J. Reedy added the comment:
In order to understand what Paul is concretely proposing, I read and partly
reviewed his PR. I thought about maintainability.
Part A adds test.support.hypothesis_helper, similar in purpose to other
specialized xyz_helper modules. Hypothesis_helper imports
Terry J. Reedy added the comment:
This is fundamentally a tk text widget issue. Prior to fall 2019, attempts to
insert an astral (non-BMP) chars in tkinter widgets raised a unicode decode
exception. Then Serhiy fixed tkinter so that such chars could be displayed,
either as the actual chars
Change by Terry J. Reedy :
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue44190>
___
___
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
After mentally reparsing and translating to English, I think you are right.
--
___
Python tracker
<https://bugs.python.org/issue44
Terry J. Reedy added the comment:
IOError is a back-compatibility synonym for OSError. I will eliminate the last
use from all 3 versions. The change to the previous example was done by 2
people who did not backport to 3.9 and I will not bother with that. Future
versions are already fixed
Change by Terry J. Reedy :
--
keywords: +patch
nosy: +terry.reedy
nosy_count: 2.0 -> 3.0
pull_requests: +24893
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26289
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
I *think* that another bracket pair is needed, changing
"," "/"
to
["," "/"]
--
nosy: +pablogsal, terry.reedy
versions: +Python 3.11 -Python 3.9
___
Python trac
Terry J. Reedy added the comment:
I agree that from the outside is seems slightly bizarre to make an internal
list to implement a function documented as returning an iterator. However,
list(scandir) was added by Serhiy in #26032 with the comment that it made
globbing 1.5-4 times faster
Terry J. Reedy added the comment:
For now, I want to just improve the error message and then close.
--
___
Python tracker
<https://bugs.python.org/issue44
Terry J. Reedy added the comment:
So, consider both possibilities where relevant. In the future, I will assume
that you are running standard, up-to-date, Mac build unless you say otherwise.
I presume you start IDLE from terminal and check it before shutting down. I
have wondered whether
Terry J. Reedy added the comment:
Thank you for the report. Which 3.9.? hyperparser has not changed in a year,
but some of the calltip logic has.
This occurred when you typed a '(' and IDLE tried to open a calltip but failed,
and you did not notice its absence. Easy when not l
Terry J. Reedy added the comment:
Tcl_Finalize can be called more than once, says the tcl doc. It also says it,
or T_FThread should be called when unloading. If the tcl implementation on some
system does not match the doc, then there is a bug that should be reported.
If the registration is
Terry J. Reedy added the comment:
As Tal notes on the PR, the _tkinter patch is the minimum needed to fix the
problem for IDLE, not the undetermined patch to tkinter that should be done to
properly expose the fix to all tkinter users.
If the tcl function were exposed with a presumably
Terry J. Reedy added the comment:
Can we backport? The change to _tkinter, not directly exposed in tkinter,
could be considered an enhancement, but is necessary to fix what I consider a
real bug in tkinter, and hence in IDLE.
Pablo, would you allow the _tkinter change in .0b2?
If we
Terry J. Reedy added the comment:
Tal: cancel comment above. I was confused because FinalizeThread is exposed as
just finalize.
On Windows, PR fixes issue whether Shell or editor is closed last.
--
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
Serhiy: what do you know of tcl finalization?
Tal: why does your patch only expose the option that you said crashes ubuntu.
Spacekiwigames: if you have a cpython fork and local repository, you could try
the patch on your linux mint.
--
nosy
Terry J. Reedy added the comment:
Alexey, to repeat what I said to Thomas above: please sign a contributor
agreement for your patches to be considered.
https://www.python.org/psf/contrib/
https://www.python.org/psf/contrib/contrib-form
Change by Terry J. Reedy :
--
versions: +Python 3.11 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue24964>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
This issue was really two issues: fix doc of existing behavior; change behavior
(which would be an enhancement). The first has been done; the second not. I
think this should be closed and if anyone still proposes the second, open a new
enhancement issue
Terry J. Reedy added the comment:
Thanks for the report and clean patch.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
3.8 only gets security fixes. Please verify issue on a current release.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue44
Terry J. Reedy added the comment:
Agreed. unparse is already correct if there is a parameter.
>>> ast.unparse(ast.parse("lambda x: 'hey!'"))
"lambda x: 'hey!'"
--
nosy: +terry.reedy
___
Py
Terry J. Reedy added the comment:
On #44078 (closed as duplicate), Mark Hammond made a similar request.
--
nosy: +terry.reedy
versions: +Python 3.11 -Python 3.10
___
Python tracker
<https://bugs.python.org/issue40
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> pathlib's relative_to should behave like os.path.relpath
___
Python tracker
<https://bugs.p
Terry J. Reedy added the comment:
Yes, complex ** complex works fine, and "TypeError: pow() 3rd argument not
allowed unless all arguments are integers".
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
This issue confuses two different testing issues. First is selection of test
data before the test versus generation while testing (usually 'randomly')
Second is how the function is tested. All tests test some property of the
inputs and functi
Change by Terry J. Reedy :
--
resolution: -> rejected
___
Python tracker
<https://bugs.python.org/issue31753>
___
___
Python-bugs-list mailing list
Unsubscrib
Terry J. Reedy added the comment:
Starting with 3.10.0b1, Shell is being reworked in ways that make this issue,
as formulated, out of date. Solving the indent problems means that prompt must
be removed from the first line of interactive input. #37892. The initial
solution is to put
Change by Terry J. Reedy :
--
nosy: -terry.reedy
versions: +Python 3.11 -Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue39
Terry J. Reedy added the comment:
Yes, lets discuss actual problems and various possible solutions.
Raymond's example is incomplete as it omits multiline statements, which is
where the real problems lie and the reason a fix was sorely needed. This has
been more or less agreed on sin
Terry J. Reedy added the comment:
When quoting, please include the source, preferably a direct link.
In Python 1 and 2, there were two function local namespace *implementations* --
array index by number or dictionary indexed by name. The implementation, and
hence the lookup mode, was fixed
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue44026>
___
___
Terry J. Reedy added the comment:
Merged to 3.11.0a0 first, bot forget to post it.
Dennis, thank you for the analysis and then the suggestion as to how to access
the not directly accessible. It would likely have been awhile before I
stumbled from 'cannot' to 'can with wor
Terry J. Reedy added the comment:
New changeset 5a5237c6d08ed97458b0903d6836624168df0b51 by Miss Islington (bot)
in branch '3.10':
bpo-44026: Idle - display interpreter's 'did you mean' hints (GH-25912)
https://github.com/python/cpython/commit/5a5237c6d08ed97
Change by Terry J. Reedy :
--
pull_requests: +24631
pull_request: https://github.com/python/cpython/pull/25975
___
Python tracker
<https://bugs.python.org/issue44
Terry J. Reedy added the comment:
PR 25678 merged on top of the sidebar patch results in using space indents with
the sidebar. An additional patch is needed to have the mode with '>>>' on a
line by itself instead of having a sidebar.
The shell prompt_last_line attribute
Terry J. Reedy added the comment:
This is only backported to 3.10 and not 3.9 because the fix recommendations
were only added in 3.10.
If the code difference became a problem, this could be backported because the
roundabout method for name and attribute errors would work in 3.9
Terry J. Reedy added the comment:
As described above in msg392163, the other fix is to put the prompt on a line
by itself. I hoped to get a switch between fixes into b1 but ran out of time
and energy. I intend to have in in the next, along with other improvements
Change by Terry J. Reedy :
--
pull_requests: -24577
___
Python tracker
<https://bugs.python.org/issue25094>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Pablo, unless you are suggesting rewriting IDLE's custom exception handing in
C, I don't see how making it a single function would be an improvement. As
long as it is Python code, the problem is accessing the message supplement.
After reading yo
Terry J. Reedy added the comment:
I realized after posting that looking for close matching is a performance issue
and does not need to be done unless the exception is going to be displayed.
But it is a shame to keep such great work away from many users.
What would you think of either
1
Terry J. Reedy added the comment:
bedevere-bot malfunctioned. Lukasz merged PR 25873 into main, and I verified
the change on the main branch. But the PR is listed above as closed, not
merged, and commit 3b200b2aa648fcc8a2673871807c1463afe00195 is not listed.
--
nosy: +Mariatta
Terry J. Reedy added the comment:
nntp.rst, line 23, has already been updated to "s = NNTP('news.gmane.io'). But
that also occasionally fails to respond. I have not seen any test failures
recently, so maybe something else has changes. Should this be closed pending
c
Terry J. Reedy added the comment:
(Shreyan, the fake filenames are not relevant.)
By default, sys.excepthook is sys.__excepthook is . So by default IDLE runcode calls print_exception, which call
cleanup_traceback for each traceback printed. This function makes two
important changes to
701 - 800 of 12707 matches
Mail list logo