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:
#33987 was reopened, 4 patches merged and backported, and reclosed.
This is only open for other possible refinements listed above.
--
___
Python tracker
<https://bugs.python.org/issue27
Terry J. Reedy added the comment:
I looked at all 4 hooks.
sys.breakpointhook is invoked by breakpoint() in user code, so is not IDLE's
concern at present.
sys.unraiseablehook is invoked by the interpreter when user code messes up
badly, so is not IDLE's condern. (And it is
Terry J. Reedy added the comment:
Andre: while I would like friendlier tracebacks available in IDLE without 3rd
party installation, I doubt this will happen soon. In the meanwhile, I see
that you are working to polish Friendly Traceback with a friendly contest. I
presume FT uses
Terry J. Reedy added the comment:
Ken: I will probably work on tests, perhaps as a followup or parallel issue. I
will likely do a bit or refactoring to make testing easier.
I just looked at print_exception and discovered that the double traceback can
likely by handled by properly setting
Change by Terry J. Reedy :
--
keywords: +patch
nosy: +terry.reedy
nosy_count: 3.0 -> 4.0
pull_requests: +23129
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24308
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
If I understand correctly, this is open for someone to evaluate Eryk's
suggestion in msg385291 that a 'missing' return be added to win32_kill.
--
nosy: +terry.reedy
versions: -Python 3.7
___
Change by Terry J. Reedy :
--
type: -> enhancement
versions: +Python 3.10 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue42971>
___
___
Python-
Terry J. Reedy added the comment:
The question in the issue for tokenizer and virtual newlines is mimicking the C
tokenizer versus consistency between and within token 5-tuples.
As a tokenizer user, I would lean toward consistency but it is definitely not
my call.
https://github.com/python
Terry J. Reedy added the comment:
This should likely be closed as 3rd party
zjdavid Which python release, which macOS, which installer, which tk
patchlevel? (IDLE Help=>About displays it).
At least one of the 3.9.1 python.org mac installers installs 8.6.10. We cannot
be responsible
Change by Terry J. Reedy :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue42992>
___
___
Python-bugs-list
Terry J. Reedy added the comment:
Patrick, I am not sure what you are saying. All the methods listed is this
section are for both, as with
bytes.count(sub[, start[, end]])
bytearray.count(sub[, start[, end]])ΒΆ
but only bytearray has .copy (since there is never a need to copy an
immutable
Terry J. Reedy added the comment:
What system, what errors (copy-paste failure blocks)?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
Andre: with this patch, you could potentially add a function or submodule that
would point sys.excepthook to a function that would print the exception and
then interact before returning. If this worked, one could add, for instance,
'i
Terry J. Reedy added the comment:
Ken, I read on another issue that an exception in an except suite is
automatically linked to the caught exception, though the printed result may not
be exactly the same. Once your CLA is 'activated', I will experiment with th
Terry J. Reedy added the comment:
Questions should be asked on Q&A forums, like python_list.
Check Removed section of What's New in 3.10.
https://docs.python.org/3.10/whatsnew/3.10.html#removed
--
nosy: +terry.reedy
resolution: -> not a bug
stage: -> resolved
status:
New submission from Terry J. Reedy :
Tal, just so you know in case you see a resulting merge conflict. I've been
waiting for years to do these until most PRs were closed. Has not happened,
and annoyances continue.
Since there is no search option I can find to search for PRs with a
Terry J. Reedy added the comment:
Josh, you are right. I closed the PR. Before closing, I will think about
whether to propose a change to make this more prominent.
I notice the issubclass(array.array, collections.abc.MutableSequence ) is True
even though some of the methods (like clear
Terry J. Reedy added the comment:
5. Extraneous () after class name in class header: 'class name():'. Never done
in idlelib itself, 27 in test files, mostly in 1 file.
--
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
Delete 2. 'list' is needed if for-suite mutates the dict all 6 either directly
or maybe indirectly do so. Not worth checking unless otherwise editing the
function.
6. N unneeded .keys() (out of 13 occurrences) when iterating dict. Low
priori
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +23134
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24315
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 8dfe15625e6ea4357a13fec7989a0e6ba2bf1359 by Terry Jan Reedy in
branch 'master':
bpo-43013: Update idlelib code to 3.x (GH-24315)
https://github.com/python/cpython/commit/8dfe15625e6ea4357a13fec7989a0e
Terry J. Reedy added the comment:
New changeset 63ebba0d9430a0bc18fd8551ad27b9b25709a4be by Miss Islington (bot)
in branch '3.8':
bpo-43013: Update idlelib code to 3.x (GH-24315) (#24317)
https://github.com/python/cpython/commit/63ebba0d9430a0bc18fd8551ad27b9
Terry J. Reedy added the comment:
Interesting. I would prefer to make fewer changes per pre-PR branch commit,
but I see from the doc that I could split changes into at least 4 batches from
the existing options. Has this been run/tested on projects better tested than
IDLE? Anyway
7. Run
Change by Terry J. Reedy :
--
pull_requests: +23145
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24326
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 879986d8a932c4524cb6ff822afc9537de16e28d by Terry Jan Reedy in
branch 'master':
bpo-43013: Fix old tkinter module names in idlelib (GH-24326)
https://github.com/python/cpython/commit/879986d8a932c4524cb6ff822afc95
Terry J. Reedy added the comment:
PR for 3. For 2.x, tkinter comprised several modules that became tkinter
submodules. For 3.0, 'import tkOld' was replaced by 'import tkinter.new as
tkOld', where 'new' is lowercase version of 'Old'. Fix remaining in
Terry J. Reedy added the comment:
turtledemo currently requires a couple of modules from idlelib. One to syntax
color examples, another to display the help file. So turtledemo would have to
be patched if IDLE were separate from tkinter
Terry J. Reedy added the comment:
New changeset 26af2fae189629d22a87aaf01b92d6f4de92b958 by Miss Islington (bot)
in branch '3.9':
bpo-43013: Fix old tkinter module names in idlelib (GH-24326)
https://github.com/python/cpython/commit/26af2fae189629d22a87aaf01b92d6
Terry J. Reedy added the comment:
There are about 40 open PRs with 'idle' or 'idlelib' in title. I only found 2
or 3 with merge conflicts related to this issue -- and they are easy to fix.
There are more conflicts from other patches (some fixed). These are usually
m
Change by Terry J. Reedy :
--
resolution: -> not a bug
___
Python tracker
<https://bugs.python.org/issue42948>
___
___
Python-bugs-list mailing list
Un
Change by Terry J. Reedy :
--
pull_requests: +23162
pull_request: https://github.com/python/cpython/pull/24343
___
Python tracker
<https://bugs.python.org/issue41
Change by Terry J. Reedy :
--
pull_requests: +23163
pull_request: https://github.com/python/cpython/pull/24344
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
New changeset fd668bc62b7f6de95448344b6650e1c3c2a997fa by Terry Jan Reedy in
branch '3.9':
[3.9] bpo-41841: Prepare IDLE NEWS for 3.9.2 (#GH-4343)
https://github.com/python/cpython/commit/fd668bc62b7f6de95448344b6650e1
Terry J. Reedy added the comment:
New changeset a178473dd6a3b527a67ab3f9dc38ef8b1a60881a by Terry Jan Reedy in
branch '3.8':
[3.8] bpo-41841: Prepare IDLE NEWS for 3.8.8 (GH-24344)
https://github.com/python/cpython/commit/a178473dd6a3b527a67ab3f9dc38ef
Terry J. Reedy added the comment:
New changeset 7a34380ad76f5ad50d4175ceb2d5715b8cff by Ken in branch
'master':
bpo-43008: Make IDLE respect sys.excepthook (GH-24302)
https://github.com/python/cpython/commit/7a34380ad76f5ad50d4175ceb2
Terry J. Reedy added the comment:
Ken, for next time -- there is a separate News category for IDLE.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
I hope this is not your last contribution. Another hint: if one uses issue
12643 or #12643, then the tracker makes the link -- and strikes it out if
closed.
--
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
The answer, Aviral discovered, is that current ast nodes have end_lineno
attributes, so the patch amounts to consistently copying them.
I don't understand Aviral's use case either, but an item on my IDLE wish list
is to be able to move class an
Terry J. Reedy added the comment:
If IDLE were to recalculate the end from start, it would have to more or less
parse forward to find the end of the statement. This is why I considered it a
speculative wish.
> would `end_lineno=None` make any sense?
Only as a kludge if a default w
Terry J. Reedy added the comment:
9. As of now, values are not named, whereas I believe they are in debugger. IE
given def f(a,b,c): 1/0; f(1,2,3), viewer prints unlaabelled 1, 2, 3 on
separate lines.
Also, the representation of a value may not fit on a line. I believe a current
debugger
Terry J. Reedy added the comment:
Judging from the link you posted to version numbering
https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B#Internal_version_numbering
the first line should have 'MSVC 14.28' the middle column title should be 'MS
Visual Studio'.
Mark
Terry J. Reedy added the comment:
New changeset 23a567c11ca36eedde0e119443c85cc16075deaf by Zackery Spytz in
branch 'master':
bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163)
https://github.com/python/cpython/commit/23a567c11ca36eedde0e119443c85c
Terry J. Reedy added the comment:
New changeset 901a9834420e516c07d6cad356d2be481db6d8d1 by Miss Islington (bot)
in branch '3.8':
bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163) (#24366)
https://github.com/python/cpython/commit/901a9834420e516c07d6cad356d2be
Terry J. Reedy added the comment:
Tal, I agree with you.
The debugger is an execution controller with an optional current-frame viewer
updated whenever execution is paused. It displays both name and value. I
believe a current PR addresses the issue of value representations being
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 :
--
versions: +Python 3.10 -Python 2.7, Python 3.5, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue30
Change by Terry J. Reedy :
--
pull_requests: +23194
pull_request: https://github.com/python/cpython/pull/24370
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
New changeset 11d75ec807f05eff1148c049e38b808d11c23b8a by Terry Jan Reedy in
branch 'master':
bpo-43008: Add 'Patch by Ken Hilton' (GH-24370)
https://github.com/python/cpython/commit/11d75ec807f05eff1148
Terry J. Reedy added the comment:
New changeset bf782b2636880dd634281f905ae43b8555450ee2 by Miss Islington (bot)
in branch '3.9':
bpo-43008: Add 'Patch by Ken Hilton' (GH-24370) (#24374)
https://github.com/python/cpython/commit/bf782b2636880dd63428
Terry J. Reedy added the comment:
I think you meant assertEqual(len(alist), len(set(alist))). I agree with
others.
--
nosy: +terry.reedy
resolution: -> rejected
stage: patch review -> resolved
status: open -> closed
type: -> enhancement
versions:
Terry J. Reedy added the comment:
-17/3 = -5.667 = -6.0 + .333. It is the latter
fraction that gets discarded.
However, this is a frequent source of confusion. How about adding
>>> -17 // 3
-6
>>> -17 % 3
1
>>> -6 * 3 + 1
-17
to illus
Terry J. Reedy added the comment:
Making str(td) == td.name does not seem useful. I think this should be closed
as 'Not a bug', because it isn't. If changed to an enhancement request, reject
as insufficiently warranted against the likely breakage.
--
nos
Terry J. Reedy added the comment:
The sentence you quoted ends a paragraph that begins with a sentences saying
the same thing even more clearly. "The execution of a function introduces a
new symbol table used for the local variables of the function." I think the
ending sentenc
Terry J. Reedy added the comment:
With 3.9, exc.py produces for me
Traceback (most recent call last):
File "F:\Python\a\tem3.py", line 3, in f
raise ValueError('hello')
ValueError: hello
During handling of the above exception, another exception occurred:
Traceba
Terry J. Reedy added the comment:
For 4.2, the point is the '.copy()' versus the 'active_users' copy. I think a
real beginner would, or should, ignore any other details not immediately
familiar.
4.7.2 Keyword arguments. It is simply a fact that including the f
Terry J. Reedy added the comment:
New changeset 000cde59847beaf5fa7b73633e1f3c898fe5bf90 by Aviral Srivastava in
branch 'master':
bpo-38307: Add end_lineno attribute to pyclbr Objects (GH-24348)
https://github.com/python/cpython/commit/000cde59847beaf5fa7b73633e1f3c
Terry J. Reedy added the comment:
Zachery, thank you for the PR to test. It turns out that the proposed change
is more dangerous the the possible error it prevent. I could have easily
missed the problem (not setting __file__, see PR).
Before considering this again, I need to list ways to
Terry J. Reedy added the comment:
Ramond, any opinion on this? We could just close this, but I consider either
alternative enough of an improvement to write a PR and merge it.
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
IDLE also caches shell input. Off topic here, I sent Andre an email about how
FT could access it.
--
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
The change in 3.10 is installing tk 8.6.11 instead of 8.6.8. This would have
been or would be backported if and only if Ned and Ronald think it both
possible and wise. As with most tkinter issues, this affects IDLE but is not
an IDLE issue as such. The
Terry J. Reedy added the comment:
Python has nothing to do with interpreting finger movements.
--
resolution: -> third party
stage: -> resolved
status: open -> closed
versions: -Python 3.7
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
3.7 is a few years old and only gets security fixes. Can you either test on
current releases or whether code is still same?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue43
Change by Terry J. Reedy :
--
components: +Installation, Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
This issue appears to be quite different from #34047. The latter partly
involved two then recent tcl/tk versions known to still be buggy on Mac. It
then determined to be directly a matter of how IDLE was interpreting the delta
attribute of tk mousewheel
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +23263
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/24469
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 0ec57e25c918b859b9f8d464e34e0ac859c2f8b3 by Terry Jan Reedy in
branch 'master':
bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-2446)
https://github.com/python/cpyth
Terry J. Reedy added the comment:
PR is based on 'Note:...' directly above. I am still thinking about a patch
for the namespace paragraph.
--
nosy: -miss-islington
stage: patch review -> needs patch
___
Python tracker
<https:/
Terry J. Reedy added the comment:
New changeset 863eb7170b3017399fb2b786a1e3feb6457e54c2 by Miss Islington (bot)
in branch '3.9':
bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-2446)
https://github.com/python/cpyth
Terry J. Reedy added the comment:
I verified that there are two discrepancies in IDLE versus the standard REPL on
Windows with 3.10.0a5. The latter first (which does not converted warnings to
errors).
Python 3.10.0a4+ (heads/master:0332e569c1, Feb 1 2021, 09:19:58) [MSC v.1900
64 bit
Terry J. Reedy added the comment:
#43151 asked about 'is ' syntax warnings in REPL. Discussion noted
that IDLE Shell does note print it for "x is 'a'" (known here) and that for "if
x is 'a': print('executed')" there is a syntax
Terry J. Reedy added the comment:
webbrowser is 'generous' at to what browsers it will open, some of which are
not what hardly anyone would want. So I would call this an 'enhancement'
(really 'disenchantment', like all removals;-) unless there were a technical
Terry J. Reedy added the comment:
IDLE is a Python program that wraps the Python interpreter. Before blaming
IDLE for how code is executed, one should first execute the same code directly
in Python. The example above shows that one should also try code.interact,
especially for
Change by Terry J. Reedy :
--
title: codeop prematurely raises SyntaxError when ']' is needed -> codeop
prematurely raises SyntaxError when closer is needed
___
Python tracker
<https://bugs.pytho
Terry J. Reedy added the comment:
test.test_codeop's test_incomplete is incomplete in that it tests several
missing-closer single lines, like the above and "[x for x in (", all of which
pass, but no corresponding multiple line snippets, like the above. The only
multiple li
Change by Terry J. Reedy :
--
title: codeop prematurely raises SyntaxError when closer is needed -> codeop
prematurely raises on 2nd line when closer is needed
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
components: +Installation, Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
stage: -> needs patch
versions: +Python 3.10
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
I agree with the idea and Matthew's version. This continuing problem is worth
doing experiments. I marked this as 'enhancement' and 3.10 only because this
might break code that hardcodes the complete name. This might also,
unfortunately,
Terry J. Reedy added the comment:
Yes, the program title depends on what 'app' you start. I presume that this is
normal for Mac.
--
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
A 300 KB file of unknown type that has to be downloaded and opened with an
unknown program is pretty useless. Please state system/OS, exact Python
release, command run, and copy-paste the errors here on the web page.
I do not see test_embed or
Terry J. Reedy added the comment:
This issue is for 3.10 only since the never-closed message was only added for
3.10.0a5 and not backported.
Pablo, Is there any sane possibility that the compiler could, at least
sometimes, raise an IncompleteSyntax subclass of SyntaxError when code is
New submission from Terry J. Reedy :
Following-up on discussion in #43163 and PR-24483, this issue is limited to
changes that are expected to not affect the return value. Therefore, do not
backport unless and until needed as part of a bugfix.
First is moving the code return to immediately
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +23296
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/24508
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 2068b261e95e9fe9c4041f0102c9e931692dd5aa by Terry Jan Reedy in
branch 'master':
bpo-43202: Immediately return code object in codeop._maybe_compile (GH-24508)
https://github.com/python/cpython/commit/2068b261e95e9fe9c4041f0102c9e9
Change by Terry J. Reedy :
--
pull_requests: +23298
pull_request: https://github.com/python/cpython/pull/24512
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
https://docs.python.org/3/tutorial/controlflow.html#defining-functions
I decided to augment the sentence as suggested by Jesse, and see what any
reviewers think.
--
assignee: docs@python -> terry.reedy
nosy: -rhettinger
title: Delete or me
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +23300
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/24514
___
Python tracker
<https://bugs.python.org/issu
New submission from robert j richardson :
When using >python synth.py in the directory
google-api-java-client-services-master
python returns:
synthtool > Cloning
https://github.com/googleapis/discovery-artifact-manager.git.
synthtool > Cleaning output directory.
Traceback (most re
Change by Terry J. Reedy :
--
components: +Tkinter
___
Python tracker
<https://bugs.python.org/issue43139>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
When system? It appears to be some *nix. Is this a buildbot?
Whose tcl/tk? Distributed with system or locally compiled?
--
nosy: +serhiy.storchaka, terry.reedy
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
Eryk, are you suggesting that this should be closed as 'Not a bug'?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
3.7 and before only get security fixes.
--
nosy: +davin, pitrou, terry.reedy
versions: -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
On freshly compiled master on Win10, the example code gives "TypeError:
unhashable type: 'dict'".
--
nosy: +terry.reedy
title: `asdict` fails with frozen dataclass keys; tries to use raw dict form as
key -> `asdict` fails wit
Terry J. Reedy added the comment:
After a week without response, I consider making a PR open to anyone. Whoever
should add "Original patch by ..." in the message part.
The patch is obvious enough that I would be willing to merge if no one else.
--
keywords: +easy
nosy: +t
Change by Terry J. Reedy :
--
nosy: +davin, pitrou
___
Python tracker
<https://bugs.python.org/issue43145>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
versions: +Python 3.10 -Python 3.9
___
Python tracker
<https://bugs.python.org/issue26389>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
It seems to me that print_exception(None), etc, *should* raise something.
Printing "NoneType: None\n" makes no sense to me since NoneType is not an
exception. In 3.9, it raised TypeError for # of arguments.
I do note t
Terry J. Reedy added the comment:
unraiseable hook is not needed. The REPL does:
>>> sys.excepthook = lambda: None
>>> 1/0
Error in sys.excepthook:
TypeError: () takes 0 positional arguments but 3 were given
Original exception was:
Traceback (most recent call last):
F
Terry J. Reedy added the comment:
You immediate questions are answered. Adding 128 bit floats to Python itself
need a discussion on python-ideas and very likely a PEP. Maybe a decade?
--
nosy: +terry.reedy
resolution: -> postponed
stage: -> resolved
status: open -&g
Terry J. Reedy added the comment:
Enhancements only go in future versions.
--
nosy: +terry.reedy
versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue43
3401 - 3500 of 13134 matches
Mail list logo