Terry J. Reedy added the comment:
Should this be closed as 'not a bug'?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue42471>
___
__
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +22451
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23570
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset e41bfd15dd148627b4f39c2a5837bddd8894d345 by Terry Jan Reedy in
branch 'master':
bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570)
https://github.com/python/cpython/commit/e41bfd15dd148627b4f39c2a5837bd
Terry J. Reedy added the comment:
This issue exposed and is affected by an existing system and version
independent bug. With that fixed as in PR 23570, running a file with
"print('output')" with the new 3.9.1rc1 universal binary results in the
following.
output
=
Terry J. Reedy added the comment:
After hours of failure to understand crazy 'impossible' behavior, I went back
to 'timing issue' and this code.
def run_module_event(self, event):
if macosx.isCocoaTk():
# Tk-Cocoa in MacOSX is broken until at le
Terry J. Reedy added the comment:
New changeset ff51e5ec26168574761e128cc607b879d4d5aa50 by Miss Islington (bot)
in branch '3.9':
bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute
(GH-23570) (GH-23571)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
pull_requests: +22456
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23577
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
PR 23577 makes fix suggested above for easier review.
--
stage: patch review ->
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue42508>
___
___
Python-bugs-list mailing list
Unsubscrib
Terry J. Reedy added the comment:
Mark, since you are working on redoing the debugger gui, do you have any
opinion on this? The basic idea is that ^C when debugging should just
interrupt the remote process, not end it, just as when there is no debugger. I
agree.
I just updated the PR to
Terry J. Reedy added the comment:
The new tk/tkinter bug in the macOS11 U2 build, other than those reported in
#42507 and #42541, is that pressing F5 causes the corresponding pseudoevent
handler, run_module_event, to be called twice. (Its code is above.) The
interval between calls is
Terry J. Reedy added the comment:
It might be the tk/tkinter build, not the tests, that is at fault. That is my
current conclusion for #42508 (regarding IDLE as a test).
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
Mike, please ask questions on question forums such as python-list
(mail.python.org) or stackoverflow.com, where other beginners can see the
answer. Also, IDLE is not Python. In particular, python's response to code
you send to python usually has no
Terry J. Reedy added the comment:
The test may be correctly detecting a change in widget behavior. This is less
surprising to me than some keypresses acting like two keypresses a millesecond
apart.
--
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
The new commit to PR 23577 works around the double run_module_event call.
Removing the delay changed timings, so I instead measured the time between
closing the errorbox and the 2nd call. The allowed difference had to be
increased to .015, so I selected
Terry J. Reedy added the comment:
3.7 only gets security fixes. If and when someone merges something, that
person will decide whether to backport.
--
versions: -Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
Some notes on needed TypedDict doc fixes.
https://docs.python.org/3/library/typing.html#typing.TypedDict
"class typing.TypedDict(dict)"
The actual signature from inspect.signature is "(typename, fields=None, /, *,
total=True, **kwargs)"
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> [Windows] locale.getdefaultlocale() issues on Windows:
test_locale.test_getsetlocale_issue1813()
___
Python tra
Change by Terry J. Reedy :
--
pull_requests: -8617
___
Python tracker
<https://bugs.python.org/issue31636>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
PR-9178 was for #31608. I corrected the PR and unlinked it from here.
This is a duplicate of #25191, with proposed patch. #37945 is the same issue
for Windows, with extensive discussion.
--
nosy: +terry.reedy
resolution: -> duplicate
stage: pa
Terry J. Reedy added the comment:
The problem with this patch is that the second assert is the point of the test.
Do get/set_locale work in the TR locale?
Although this issue came first, I am closing it as a duplicate of #37945 as the
latter has extensive, but to date inconclusive
Terry J. Reedy added the comment:
This seemingly useless test is the only test failure for me with installed
3.9.1. Why keep it, at least on Windows.
The failure with "locale.Error: unsupported locale setting" is not limited to
Windows. #25191 and duplicate #31636 report the sam
Change by Terry J. Reedy :
--
pull_requests: +22562
pull_request: https://github.com/python/cpython/pull/23695
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
New changeset 4aa67853cc7d6ed4f9ebb726ceaa2c89f9feabda by Terry Jan Reedy in
branch 'master':
bpo-41910: move news entry (GH-23695)
https://github.com/python/cpython/commit/4aa67853cc7d6ed4f9ebb726ceaa2c
Change by Terry J. Reedy :
--
pull_requests: +22564
pull_request: https://github.com/python/cpython/pull/23697
___
Python tracker
<https://bugs.python.org/issue41
Change by Terry J. Reedy :
--
pull_requests: +22565
pull_request: https://github.com/python/cpython/pull/23698
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
New changeset b947b305a6833cc059214d5bdd2065edd65024c4 by Terry Jan Reedy in
branch '3.8':
[3.8] bpo-41910: move news entry (GH-23698)
https://github.com/python/cpython/commit/b947b305a6833cc059214d5bdd2065
Terry J. Reedy added the comment:
New changeset a3a4bf3b8dc79e4ec4f24f59bd1e9e2a75229112 by Terry Jan Reedy in
branch '3.9':
[3.9] bpo-41910: move news entry (GH-23697)
https://github.com/python/cpython/commit/a3a4bf3b8dc79e4ec4f24f59bd1e9e
Terry J. Reedy added the comment:
https://docs.python.org/3/library/idle.html#startup-failure says
"A common cause of failure is a user-written file with the same name as a
standard library module, such as random.py and tkinter.py. When such a file is
located in the same directory as a
Terry J. Reedy added the comment:
The opening claim (no linked list structures in Python) is flawed. Abstractly,
a linked list is a binary tree with right items of nodes restricted to being a
linked list or None. If the left items are restricted to being non-lists
values, then the linked
Terry J. Reedy added the comment:
Correctly prefixed, issue 42541 and #42541 are links. And thanks for doing CLA
first.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue42
Terry J. Reedy added the comment:
Until a pep is approved, discussion of its ideas belong elsewhere; an issue is
only needed for a proposed implementation Is PR 23728 purely for discussion
leading to possible approval of the PEP, or for merging regardless of the PEP
fate?
--
nosy
Terry J. Reedy added the comment:
Current IDLE indicates the SyntaxError position given by Python by highlighting
the character, as in the editor. No more caret. End of problem.
There is no fixed-width Unicode font. I revised the font sample in part to let
people see which alphabets
Terry J. Reedy added the comment:
"Your message to 1051...@student.auhsd.us has been blocked. ...
This email has been rejected because it is directed outside the AUHSD domain."
Makes no sense unless the link back here was an issue. Oh wel
New submission from Terry J. Reedy :
Test: open editor.py in editor. Turn on Code context with large max lines.
Scroll down to body of _sphinx_version (after line 37). Nothing appears.
Scroll down to line 82 in EditorWindow.__init__. 'def _sphinx_version'
appears. Scroll up (
Terry J. Reedy added the comment:
E4. Max context lines = 0 is treated as infinity. For depth 0,
"self.info[-self.context_depth:]" is whole slice. I don't remember if this is
intended (if one does not want context, don't toggle it on), but it is not
documented in
Terry J. Reedy added the comment:
This is a false report due to a brain glitch.
--
resolution: -> not a bug
stage: test needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
Delete E6. No bug. I do have a couple of internal edits.
--
dependencies: -IDLE: Context lines not working correctly
___
Python tracker
<https://bugs.python.org/issue33
Change by Terry J. Reedy :
--
pull_requests: +22629
pull_request: https://github.com/python/cpython/pull/23773
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
New changeset 6f79e60b66dacefca147bdaa80eb37f936a72991 by Terry Jan Reedy in
branch 'master':
bpo-33610: Edit idlelib.codecontext (GH-23773)
https://github.com/python/cpython/commit/6f79e60b66dacefca147bdaa80eb37
Terry J. Reedy added the comment:
New changeset 99d37a0ee82c16f30a874c9b583d59a3844dc9c9 by Miss Islington (bot)
in branch '3.9':
bpo-33610: Edit idlelib.codecontext (GH-23773) (GH-23775)
https://github.com/python/cpython/commit/99d37a0ee82c16f30a874c9b583d59
Change by Terry J. Reedy :
--
versions: +Python 3.10 -Python 3.4
___
Python tracker
<https://bugs.python.org/issue14935>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
The doc is the same in 3.10.
What OS and exact Python release? Can you post minimal code that verifies your
claim? (Someone what have to verify with 3.10 also.)
This would strike me as an error in the code. We can fix 'wrong Exception' in
Terry J. Reedy added the comment:
I not sure about 'very useful'. One has to know a lot more than the sample
width in bytes, which can be 1 to 4 (according to the code), not just 1 to 2
(as implied by https://en.wikipedia.org/wiki/WAV), to effectively use the
module. Such thi
Terry J. Reedy added the comment:
One can use sys.setrecursionlimit to increase allowed recursion depth.
But... When I ran code from 3.10.0a3 IDLE editor, something hung. Without
touching recursion limit, when I split statement apart into
ex = compile("""<300 lines>&
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue42672>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This is a 'ancient, buggy tcl/tk 8.5.9 on OS11' issue, not an IDLE issue. Only
8.6.10 has a chance with OS11, and even that is a bit flakey. But I have no
issues so far running 3.9.1 and IDLE with the Universal2 OS11 build from
python.org on Moh
Terry J. Reedy added the comment:
To use tkinter and hence IDLE and turtle on macOS, get the Mac Python installer
on python.org.
--
___
Python tracker
<https://bugs.python.org/issue42
Change by Terry J. Reedy :
--
components: +Tkinter
___
Python tracker
<https://bugs.python.org/issue38946>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The does not affect IDLE, as the two ask... calls pass parent. (And I may
someday replace them with query.Query subclasses.) But I do prefer that
tkinter act consistently and sensibly for others. The PR's initial commit
message adds this justific
Terry J. Reedy added the comment:
I took a look at the somewhat messy popup placement in IDLE. The query.Query
subclasses are centered over their parent. Some others are over the window but
up and to the left. Maybe they have a custom geometry setting that I should
delete. Search and
Terry J. Reedy added the comment:
I strongly disagree. '<>' is not a legal operator any more. It is a
parse-time syntax error. Whatever historical artifact is left in the CPython
tokenizer, recognizing '<>' is not exposed to Python code.
>>> p = a
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Segmentation fault in running ast.literal_eval() with large
expression size.
___
Python tracker
<https://bugs.python
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Segmentation fault in running ast.literal_eval() with large
expression size.
___
Python tracker
<https://bugs.python
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Segmentation fault in running ast.literal_eval() with large
expression size.
___
Python tracker
<https://bugs.python
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Segmentation fault in running ast.literal_eval() with large
expression size.
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
"Enhancements" (non-bugfix feature changes) can only be applied to future
versions. However, you are asking for the reversion of an intentional feature
change made in a 'bugfix' release# for (I believe) 3.1. Before the change, as
I rem
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka
versions: -Python 3.7
___
Python tracker
<https://bugs.python.org/issue42735>
___
___
Python-bugs-list m
Change by Terry J. Reedy :
--
stage: patch review -> commit review
versions: -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
>From the evidence presented, the problem building 3.8 on Win 10 is not with
>our build code. I therefore believe that this should be closed as '3rd-party'
>and that Sunny should inquire on python-list about the permission problem.
>
Terry J. Reedy added the comment:
New changeset e40e2a2cc94c554e7e245a8ca5a7432d31a95766 by Cheryl Sabella in
branch 'master':
bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)
https://github.com/python/cpython/commit/e40e2a2cc94c554e7e245a8ca5a743
Change by Terry J. Reedy :
--
pull_requests: +22944
pull_request: https://github.com/python/cpython/pull/24114
___
Python tracker
<https://bugs.python.org/issue32
Terry J. Reedy added the comment:
New changeset d05b470d6ad6dfe0d4933ffc3c5c1e2c03b390bd by Miss Islington (bot)
in branch '3.8':
bpo-42508: Keep IDLE running on macOS (GH-23577) (#23670)
https://github.com/python/cpython/commit/d05b470d6ad6dfe0d4933ffc3c5c1e
Terry J. Reedy added the comment:
I believe that this issue is done. Please open a new one if more is needed.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
New changeset d82392facefe0564dd55aa2adf04bf21c704858d by Terry Jan Reedy in
branch '3.9':
[3.9] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)
https://github.com/python/cpython/commit/d82392facefe0564dd55aa2adf04bf
Change by Terry J. Reedy :
--
pull_requests: +22945
pull_request: https://github.com/python/cpython/pull/24115
___
Python tracker
<https://bugs.python.org/issue32
Terry J. Reedy added the comment:
https://stackoverflow.com/questions/65567057/how-can-i-get-started-developing-extensions-for-python-idle
prompted me to finish this enough to merge it.
My intention was that in the absence of a selection, all lines should be
prefixed, not just the current
Terry J. Reedy added the comment:
New changeset a087a97438e922fcace357ff4c29806ff65838d8 by Terry Jan Reedy in
branch '3.8':
[3.8] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)
https://github.com/python/cpython/commit/a087a97438e922fcace357ff4c2980
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:
This might be related to #7949, about KDE/GTK dark themes.
In general, IDLE only controls colors for Shell and editor windows, leaving
dialogs to system default. This appears to be true for the settings and search
dialogs. 'About' is unusual in h
Terry J. Reedy added the comment:
3.7.3 is an old release of an old version. It has already been patched a few
times. If you cannot upgrade to at least the last bugfix release of 3.7, you
are somewhat on your own.
The word 'Killed' in not in the ssl module, so I presume it come
Terry J. Reedy added the comment:
I closed the following by Xinmeng as duplicates of this:
#42713 eval(...)
#42714 compile(...)
#42715 exec(...)
#42716 ast.parse(...)
This is probably a duplicate of #42609, and should likely be closed also.
--
nosy: +terry.reedy
Terry J. Reedy added the comment:
I am not familiar with either smtp or email, but I can make some general
comments.
1. "AttributeError: 'NoneType' object has no attribute 'get_all'" seems pretty
straightforward to me. Hard to debug? Depends on knowledge and
Change by Terry J. Reedy :
--
nosy: +gvanrossum, levkivskyi
___
Python tracker
<https://bugs.python.org/issue42812>
___
___
Python-bugs-list mailing list
Unsub
Change by Terry J. Reedy :
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/issue42820>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The PR says that this deletes "uncalled code". I imagine that this is safe for
a .exe. But for a .dll? As i understand it, one can, from python code, access
any function via ctypes, so it seems to me that there is no way for the linker
to
Terry J. Reedy added the comment:
This is related to #42843, which is about deciding what the min sphinx should
be. Since the alternative to 3.2 is some 2.x, 1,8 is certainly wrong.
--
nosy: +terry.reedy
___
Python tracker
<ht
Terry J. Reedy added the comment:
3.7 has not gotten bug fixes for a couple of years. This needs to be verified
on a current release.
--
nosy: +davin, pitrou, terry.reedy
___
Python tracker
<https://bugs.python.org/issue42
Terry J. Reedy added the comment:
My testing was inadequate. From #42867, it appears that 0. the bug is limited
to Windows; 1. opening a canned dialog or message box is part of getting the
buggy behavior; 2. timing is involved; 3. the bug can be exhibited on Windows
directly with wish/tk
Terry J. Reedy added the comment:
I added this note to #9673 after rereading the posts and the 2010 tkinter list
thread.
"My testing was inadequate. From #42867, it appears that 0. the bug is limited
to Windows; 1. opening a canned dialog or message box is part of getting the
Terry J. Reedy added the comment:
No problem. While your failing example was 'too long', you *did* search and
find the appropriate previous issue, with my inadequate response and incorrect
resolution, even though closed. I appreciate having my understanding fixed.
IDLE uses sev
Terry J. Reedy added the comment:
Phillipe: I was the first to comment, but had no futher involvement with this
issue until now. Multiple people, including coredevs, considered the old
behavior to be buggy and multiple people, including coredevs, contributed to
the fix. You are unlikely
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +23011
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/24183
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
I am reluctant to make changes without adding tests, and until I focused again
on how to do so, because of your ping, I had no idea how to do so.
The added test results in the same error, "AttributeError: 'BinData' object has
no attribute
Terry J. Reedy added the comment:
New changeset 81f87bbf9f65702062021a78abd9b8f82c98a414 by Terry Jan Reedy in
branch 'master':
bpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183)
https://github.com/python/cpython/commit/81f87bbf9f65702062021a78abd9b8
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:
With a truly minimal but reproducible example, I was able to understand and
experiment. As is, widget creation is done without the event loop running.
Displaying the message box shifts grabs the internal focus but also displays
the unfocused tk window
Terry J. Reedy added the comment:
On Windows, Victor's one liner failed on repository debug builds with Windows'
process error popup. I have seen this mysterious failure at least once when
testing IDLE Shell running on the repository build. After the patch, my debug
build
Terry J. Reedy added the comment:
In order to test code.InteractiveCompiler (used by IDLE) and
codeop._maybe_compile (which IC calls), which calls compile() 3 times with mode
'single', I entered the example as 2 or 3 lines in Shell.
>>> [file for str(file) in [] # Er
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue42885>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
components: +C API -Interpreter Core
title: Not installed “libgcc_s.so.1” causes parser crash. -> Not installed
“libgcc_s.so.1” causes exit crash.
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Xinmeng, to verify Ronald's explanation, run this instead
mystr = "hello123"
for x in range(100):
mystr = mystr.__sizeof__()
input('>') # Hit Enter to continue.
del mystr # Expect crash here.
input('<'
Terry J. Reedy added the comment:
The parser is not involved here. The transformed code is *not* equivalent to
"1=2; print(1)" because you replace 'a' with the string '1', not the int 1.
The result is to transform
"globals()['a']=2; print(g
Terry J. Reedy added the comment:
Can you submit a patch, or post here an test_dicom function?
--
nosy: +terry.reedy
stage: -> needs patch
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Mark, would your proposal in PEP-651 fix this case?
--
nosy: +Mark.Shannon
___
Python tracker
<https://bugs.python.org/issue42
Terry J. Reedy added the comment:
https://www.tcl.tk/man/tcl8.6/TkCmd/winfo.htm says
"winfo rgb window color
Returns a list containing three decimal values in the range 0 to 65535,
which are the red, green, and blue intensities that correspond to color in the
window given by w
Terry J. Reedy added the comment:
65535 = 35536 - 1 = 256 * 256 - 1 == 255 * 257
On Windows, each r, g, b value is n * 257 for n in range(256) (see attached
file). The precision loss happens when colors are stored, before the division
in winfo_rgb. Perhaps 8 bits/channel (including alpha
Terry J. Reedy added the comment:
Your Linux result is the same as on Windows. Given strings 'abc' or 'abcd',
ignore 'c' or 'cd' and expand 'ab' to 'abab', making value 0xabab. Is your
computer Ubuntu (implying that personal U
Change by Terry J. Reedy :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
New changeset 644d52818a6391535e5838fd57d58ffcb1163056 by Борис Верховский in
branch 'master':
bpo-40304: Correct type(name, bases, dict) doc (GH-19553)
https://github.com/python/cpython/commit/644d52818a6391535e5838fd57d58ffcb1163056
-
3301 - 3400 of 13134 matches
Mail list logo