Change by Terry J. Reedy :
--
nosy: +davin, pitrou
___
Python tracker
<https://bugs.python.org/issue43944>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
title: sysconfig’s osx_framework_user puts headers in different locations from
distutils -> sysconfig's osx_framework_user puts headers in different locations
from distutils
versions: -Python 3.11, Python 3.6, Python 3.7, Python 3.8, Py
Terry J. Reedy added the comment:
Specific examples of current messages and proposed improvements would help
focus discussion.
If you are willing to only handle code lines up to 256 chars, only 2 bytes
should be needed. (0,0) or (255,255) could mean 'somewhere beyond the 256th
Terry J. Reedy added the comment:
Unless you find documentation that says otherwise, this an enhancement proposal
for 3.11.
If no core developer (other than me) jumps on this, you might use git blame to
fine out who committed code in the area you proposed changing.
--
nosy
New submission from Terry J. Reedy :
New changeset e08c67372d62236409da296353827985a3202e8a by JT in branch 'master':
bpo-43928: Fix 'succesfully' typo in document (GH-25569)
https://github.com/python/cpython/commit/e08c67372d62236409da296353827985a3202e8a
-
Terry J. Reedy added the comment:
New changeset e377ecf3b496c7719e6dffe3ebf3d0ef512cfb5b by Miss Islington (bot)
in branch '3.8':
bpo-43935: Fix typo in Turtle.back() docstring (GH-25581)
https://github.com/python/cpython/commit/e377ecf3b496c7719e6dffe3ebf3d0
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:
Merge conflict in 3.9. Skipping backports.
--
resolution: not a bug -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10 -Python 3.8
___
Python tracker
<https://bug
Terry J. Reedy added the comment:
>From PEP 8:
right:label: str = ''
wrong:result: int=0 # No spaces around equality sign
current doc: quantity_on_hand: int=0):
--
assignee: docs@python -> terry.reedy
nosy: +terry.reedy
versions: -Python
Change by Terry J. Reedy :
--
title: Introduce mechanism to allow Python distributors to add custom site
install schemes -> Allow Python distributors to add custom site install schemes
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
The error message suggests somethng else is using something in an existing 3.9
directory, and that you should close everything and reboot your machine and try
again without running anything else.
--
nosy: +terry.reedy
Terry J. Reedy added the comment:
New changeset e726a902b7c73a7056b7421d801e47255873 by Mohamed Moselhy in
branch 'master':
bpo-43971: Add spaces around annotated arg default '=' (GH-25702)
https://github.com/python/cpython/commit/e726a902b7c73a7056b7
Terry J. Reedy added the comment:
New changeset e48405a9be067d50d6d0d83dc22013fc68f15657 by Miss Islington (bot)
in branch '3.9':
bpo-43971: Add spaces around annotated arg default '=' (GH-25702)
https://github.com/python/cpython/commit/e48405a9be067d50d6d0
Terry J. Reedy added the comment:
New changeset 606bb1c77c66eca081d03374ad4b53d9e603dd9d by Miss Islington (bot)
in branch '3.8':
bpo-43971: Add spaces around annotated arg default '=' (GH-25702)
https://github.com/python/cpython/commit/606bb1c77c66eca081d0
Terry J. Reedy added the comment:
Marking what expression evaluated to None would be extremely helpful. So would
marking the 0 denominator when there is more than one candidate: "e = a/b +
c/d". It should be easy to revise IDLE Shell's print_exception to tag the
span. In
Terry J. Reedy added the comment:
There is also a 'copy only code' option. Like 'copy', these two new options
require a selection. They appear on the context menu when right-clicking
either on the sidebar or within the selection. Like the format region
commands, these
Terry J. Reedy added the comment:
No apology needed. I don't know what has been added to the devguide, but most
OPs never submit a PR unless they either do so or say they will when opening an
issue. In any case, a week is more than a c
Terry J. Reedy added the comment:
Guido, Integer as synonym for Integral was your idea, or at least your
endorsement prompted me to file the issue. Other core devs don't think the
change is worth the trouble; I don't much care. Speak up if you want to revive
it.
-
Terry J. Reedy added the comment:
Soft keywords are a huge nuisance for syntax highlighting as they need special
case regexes and tests.
Hard keywords are matched against complete words, regardless of whether the
context is syntactically valid or not. If 'for' and 'else
Terry J. Reedy added the comment:
New changeset b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711 by Tal Einat in branch
'master':
bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)
https://github.com/python/cpython/commit/b43cc31a270d0dacbc69e35d6c6fbd
Terry J. Reedy added the comment:
My plan for the next day or two is to submit followup issue for Shell and
formally code what I wrote.
The only way to handle soft keywords correctly is with a custom re. I don't
expect them to become common. They are different from builtins because
Terry J. Reedy added the comment:
I agree with getting this in soon.
A related request is to to syntax highlight field expressions in f strings. I
don't think there is an existing issue. Apparently, at least some alternatives
to IDLE do this. I am not sure I would really want it, b
Terry J. Reedy added the comment:
This person, mohansai, seems to be misbehaving on the tracker and should be
stopped or at least educated. mohansai just reassigned a closed issue about
Windows extensions to IDLE, #43710, thus assigning it to me and wasting my
time. (I reverted the
Change by Terry J. Reedy :
--
components: +Extension Modules, Windows -IDLE
___
Python tracker
<https://bugs.python.org/issue43710>
___
___
Python-bugs-list m
Change by Terry J. Reedy :
--
assignee: terry.reedy ->
___
Python tracker
<https://bugs.python.org/issue43710>
___
___
Python-bugs-list mailing list
Un
New submission from Terry J. Reedy :
In #44010, we are trying, as best as is possible with comprehensible REs, to
identify in which circumstances occurrences of 'match', 'case' and '_' are
keywords, and should be marked as such. I was initially unsure and even
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +24552
pull_request: https://github.com/python/cpython/pull/25873
___
Python tracker
<https://bugs.python.org/issue44
Terry J. Reedy added the comment:
I am surprised for 2 reasons. First, I have seen other improved messages in
IDLE, though maybe only for syntax errors. Second, code entered through IDLE
is executed by Python, 'same' in this respect as code entered through the REPL.
In more de
New submission from Terry J. Reedy :
.../Doc/library/exceptions.rst, lines 99-105 has
original ``SomeException`` had we allowed it to propagate to the caller.
try:
...
except SomeException:
tb = sys.exc_info()[2]
raise
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
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:
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:
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:
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
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:
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
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:
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
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:
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
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
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:
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
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
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:
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 :
--
resolution: -> rejected
___
Python tracker
<https://bugs.python.org/issue31753>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
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:
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
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:
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:
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:
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
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:
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
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:
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:
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:
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:
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:
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:
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:
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:
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:
I *think* that another bracket pair is needed, changing
"," "/"
to
["," "/"]
--
nosy: +pablogsal, terry.reedy
versions: +Python 3.11 -Python 3.9
___
Python trac
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:
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
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
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue44190>
___
___
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
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:
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
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
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue44243>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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:
"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
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:
#44254 is a followup to change turtledemo unpressed button colors to something
on white.
--
___
Python tracker
<https://bugs.python.org/issue44
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:
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
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:
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
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
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
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
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
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
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
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:
'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
___
Python tracker
<https://bugs.python.or
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
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'
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:
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
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
2201 - 2300 of 13134 matches
Mail list logo