[issue41808] Synchronize What's New in 3.9 master and 3.9 copies

2020-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5a8364780b7e881385f6fabcf072d599e80f51b8 by Terry Jan Reedy in branch 'master': bpo-41808: Add What's New 3.9 entry missing from master (#22294) https://github.com/python/cpython/commit/5a8364780b7e881385f6fabcf

[issue40939] Remove the old parser

2020-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5a8364780b7e881385f6fabcf072d599e80f51b8 by Terry Jan Reedy in branch 'master': bpo-41808: Add What's New 3.9 entry missing from master (#22294) https://github.com/python/cpython/commit/5a8364780b7e881385f6fabcf

[issue41808] Synchronize What's New in 3.9 master and 3.9 copies

2020-09-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41809] finding file attributes in Windows seems to fail

2020-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this report because 1) it appears to be a result of a typo; 2) os.stat works fine for me (also on Windows); and 3) I am 99.99% sure that IDLE does not delete user code object attributes. If a system has two files with the same name in two

[issue41768] unittest.mock spec calls class properties

2020-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Without lines numbers, I cannot test which of the two identical asserts failed. Either comments or msg arguments will differentiate. Nor can I run snippets from two different files. Here is a minimal reproducible self-contained code that demonstrates the

[issue41769] Positional arguments with boolean actions behave differently

2020-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: You think the behavior is wrong. Does it disagree with the doc? If not, this is an design change (enhancement) issue limited to future version. If so, it might be a bug that can be backported. However, when I run the code on Windows with an argument f

[issue41770] Import module doesn't updated

2020-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I carefully redid your test, corrected, 3 times, and it works as expected. Win 10, 3.9.0rc2. >>> import a.tem3 as t >>> t.b Traceback (most recent call last): File "", line 1, in t.b AttributeError: module 'a.tem3&#x

[issue21261] Teach IDLE to Autocomplete dictionary keys

2020-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current patch completes both strings keys and bytes keys mixed together. I want to challenge this. 0. What is the use case? The current patch nearly doubles the autocomple code, which handle user actions up to creation of a completion list. I would

[issue21261] Teach IDLE to Autocomplete dictionary keys

2020-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: > the PR allows using either type of quote when typing completions. Only if one types a quote before the box pops up. In this case, there is no auto popup and one must request completions. The box then uses the quote typed. Thereafter, there is no cho

[issue41758] turtledemo.colormixer crashes with a stack overflow

2020-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Without a reproducible error, we cannot do anything. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21389 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/22350 ___ Python tracker <https://bugs.python.org/issu

[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 40a0625792e795cd41c4ba20475e3b770b53817a by Terry Jan Reedy in branch 'master': bpo-40181: Remove '/' reminder in IDLE calltips. (GH-22350) https://github.com/python/cpython/commit/40a0625792e795cd41c4

[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. Patch removes the note, including from tests. -- stage: patch review -> commit review versions: +Python 3.10 -Python 3.7 ___ Python tracker <https://bugs.python.org/issu

[issue40181] IDLE: remove positional-only note from calltips

2020-09-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35764] IDLE: revise calltip doc

2020-09-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21402 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22363 ___ Python tracker <https://bugs.python.org/issu

[issue35764] IDLE: revise calltip doc

2020-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: xref addition and 'extension' deletion are done already. Added /* sentence and generally edited entry. A few details have changed. -- stage: patch review -> commit review type: enhancement -> behavior versions: +Python 3.10, Python

[issue35764] IDLE: revise calltip doc

2020-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 947adcaa13080790167757664912c3a6c2d4c201 by Terry Jan Reedy in branch 'master': bpo-35764: Rewrite the IDLE Calltips doc section (GH-22363) https://github.com/python/cpython/commit/947adcaa13080790167757664912c3

[issue35764] IDLE: revise calltip doc

2020-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f27a1577d32f88c959e1ef6d0b12f25b2a54cdca by Miss Islington (bot) in branch '3.9': bpo-35764: Rewrite the IDLE Calltips doc section (GH-22363) https://github.com/python/cpython/commit/f27a1577d32f88c959e1ef6d0b12f2

[issue35764] IDLE: revise calltip doc

2020-09-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35764] IDLE: revise calltip doc

2020-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2466a7ae6bb1e4049c3d045a30a0503dda7654c5 by Miss Islington (bot) in branch '3.8': bpo-35764: Rewrite the IDLE Calltips doc section (GH-22363) https://github.com/python/cpython/commit/2466a7ae6bb1e4049c3d045a30a050

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Master became 3.10 as of 3.9.0 beta 1: Monday, 2020-05-18. However, backported IDLE issues continued going under What's New 3.9 on both master and 3.9 until 3.9.0rc1, Tuesday, 2020-08-11. Subsequent merges go under What's New 3.10.0 on master

[issue37309] idlelib/NEWS.txt for 3.9.0 and backports

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Continue with #41841 for 3.10. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> idlelib/NEWS.txt for 3.10.0 and backports ___ Python tracker <https://

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21418 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22379 ___ Python tracker <https://bugs.python.org/issu

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21419 pull_request: https://github.com/python/cpython/pull/22380 ___ Python tracker <https://bugs.python.org/issue41

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21420 pull_request: https://github.com/python/cpython/pull/22381 ___ Python tracker <https://bugs.python.org/issue41

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7af072c3b60dd3aac2835122bc37454f0973351e by Terry Jan Reedy in branch 'master': bpo-41841: Prepare IDLE News for 3.10 (GH-22379) https://github.com/python/cpython/commit/7af072c3b60dd3aac2835122bc3745

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d7a4e5d330df49774019e25313e0c1c4e9bf505d by Terry Jan Reedy in branch '3.9': [3.9] bpo-41841: Prepare IDLE News for 3.9 (GH-22380) https://github.com/python/cpython/commit/d7a4e5d330df49774019e25313e0c1

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Following #33821, master issue for IDLE entries in Doc/whatsnew/3.8.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The initial unlabeled subsubsection includes important enhancements to IDLE since

[issue33821] IDLE subsection of What's New 3.7

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> IDLE subsection of What's New 3.8 ___ Python tracker <https://bugs.p

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Following #33822, master issue for IDLE entries in Doc/whatsnew/3.9.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The initial unlabeled subsubsection includes important enhancements to IDLE since

[issue41846] IDLE subsection of What's New 3.10

2020-09-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Following #41844, master issue for IDLE entries in Doc/whatsnew/3.10.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The initial unlabeled subsubsection includes important enhancements to IDLE si

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg377387 ___ Python tracker <https://bugs.python.org/issue41844> ___ ___ Python-bug

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: -> IDLE subsection of What's New 3.10 ___ Python tracker <https://bugs.python.org/issue41844> ___ ___ Py

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0a2e11aecfb300615ab813f5d2d77a799f6e852c by Terry Jan Reedy in branch '3.8': [3.8] bpo-41841: Prepare IDLE News for 3.8.7 (GH-22381) https://github.com/python/cpython/commit/0a2e11aecfb300615ab813f5d2d77a

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21421 pull_request: https://github.com/python/cpython/pull/22382 ___ Python tracker <https://bugs.python.org/issue33

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21422 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22382 ___ Python tracker <https://bugs.python.org/issu

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -21421 ___ Python tracker <https://bugs.python.org/issue33822> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21423 pull_request: https://github.com/python/cpython/pull/22383 ___ Python tracker <https://bugs.python.org/issue33

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 22b7616f26694ac707fd53ece500febfad665426 by Terry Jan Reedy in branch 'master': bpo-41844: Add IDLE section to What's New 3.9 (GN-22382) https://github.com/python/cpython/commit/22b7616f26694ac707fd53ece

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21425 pull_request: https://github.com/python/cpython/pull/22382 ___ Python tracker <https://bugs.python.org/issue33

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9c4eac7f02ddcf32fc1cdaf7c08c37fe9718c1fb by Terry Jan Reedy in branch 'master': bpo-33822: Update IDLE section of What's New 3.8 (GH-22383) https://github.com/python/cpython/commit/9c4eac7f02ddcf32fc1cdaf7c

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue33822> ___ ___ Python-bugs-list mailin

[issue41844] IDLE subsection of What's New 3.9

2020-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 57e7d5c19e934f450f5a3539eff48162a78af994 by Miss Islington (bot) in branch '3.9': bpo-41844: Add IDLE section to What's New 3.9 (GN-22382) https://github.com/python/cpython/commit/57e7d5c19e934f450f5a3539e

[issue33822] IDLE subsection of What's New 3.8

2020-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -21425 ___ Python tracker <https://bugs.python.org/issue33822> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41775] IDLE: change Shell window title

2020-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21439 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22399 ___ Python tracker <https://bugs.python.org/issu

[issue41775] IDLE: change Shell window title

2020-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 05cc881cbcf5d73a312568c78c7149eae3195072 by Terry Jan Reedy in branch 'master': bpo-41775: Make 'IDLE Shell' the shell title (#22399) https://github.com/python/cpython/commit/05cc881cbcf5d73a3125

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I modeled the new entry on the previous one. The code and its test. def fr(n, remove): mylist = list(range(n)) for i in range(len(mylist)-1, -1, -1): if remove(mylist[i]): del mylist[i] return mylist def ff(n, keep

[issue41775] IDLE: change Shell window title

2020-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the last few months, there has been an increase in bpo issues mis-tagged IDLE. Today's example: #41774 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python t

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21442 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22402 ___ Python tracker <https://bugs.python.org/issu

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are right; the replacement index I called 'j' is better buried as a C index or pointer within a slice replacement. In fact, a generator expression, if one has a keep expression, or a filter call, if one has filter function, work, w

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: The existing patch mostly changes '9' to '10', which cannot in itself cause the test failure. There must be a change in widget behavior. Either Serhiy or Mark Rosemen might do better at diagnosing the discrepancy and whether _tkinter

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, tk Scale['from'] is no longer rounded, matching ttk.Scale. More details and conditional fix on the PR. -- versions: +Python 3.10 -Python 3.9 ___ Python tracker <https://bugs.python.o

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Timings depend on multiple factors, including implementation (cpython versus pypy versus cython, etc) and complexity of the keep/discard decision. I said in the proposed text that a listcomp may be faster. I think that sufficient; anyone who cares can test

[issue41859] Uncaught ValueError

2020-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume that at some point you got a completion box. It disappeared with this traceback and when >>> appeared, you continued. What python binary? 3.8.5? 3.8.6? My diagnosis so far. __call__ is a method in CallWrapper. The wrappe

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, please take what I have written and rewrite it to your satisfaction. I have lots else to do, including investigating the IDLE bug you just reported. -- assignee: terry.reedy -> ___ Python trac

[issue41863] IDLE shell not opening with 3.5 on Mac Mohave.

2020-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: To try to run IDLE with 8.5, one should install tcl/tk 8.5.18 as described at https://www.python.org/download/mac/tcltk/. This requires making a free Active State account and is not at all guaranteed to be sufficient. Today I installed 3.8.6 and 3.9.0rc2

[issue41306] test_tk test_widgets.ScaleTest fails with Tk 8.6.10

2020-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fixing this test bug is required to upgrade tk on Windows. #39107 and PR 22405. E. Paine reported on the PR 21715 that this change is intentional and here to stay. I wondered the same; thank you for asking. -- nosy: +terry.reedy

[issue41812] Broken link on documentation header

2020-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +mdk versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue41812> ___ ___ Python-bugs-list m

[issue41813] Clarify specification of object.__await__

2020-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue41813> ___ ___ Python-bugs-list m

[issue41822] Document the meaning of values for sys.float_info.rounds

2020-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Document the mean of values for sys.float_info.rounds -> Document the meaning of values for sys.float_info.rounds versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issu

[issue41848] PEG parser doesn't allow lambda in for_if_clause

2020-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: After adding parens, >>> [x for x in [] if (lambda: x)] [] -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.or

[issue41858] Fix incomplete line on optparse documentation

2020-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I can see how the current phrasing gives one pause, and might seem incomplete, but it is not incorrect. The sense of Additionally, users can run one of :: -h --help and optparse will ... is "Additionally, users can run one of `` -h`` or `` -

[issue41859] Uncaught ValueError

2020-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, the only key I found that closed the completion box via keyrelease_event is Left Arrow. If I explicitly caught that, the method might not be needed on Windows. Next I will look at the triplets list and how something might be missing or deleted

[issue41858] Fix incomplete line on optparse documentation

2020-09-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 00eb063b6600fdb4ba5cfb99da83cc1660ec69bf by Emmanuel Arias in branch 'master': bpo-41858: Clarify line in optparse doc (GH-22407) https://github.com/python/cpython/commit/00eb063b6600fdb4ba5cfb99da83cc

[issue41859] Uncaught ValueError

2020-09-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Reports with a reproducer are also helpful. Again, can you get a completion box at all? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-09-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5b0181d1f6474c2cb9b80bdaf3bc56a78bf5fbe7 by Terry Jan Reedy in branch 'master': bpo-41774: Add programming FAQ entry (GH-22402) https://github.com/python/cpython/commit/5b0181d1f6474c2cb9b80bdaf3bc56

[issue41908] Make IDLE Start Menu entry more descriptive

2020-10-02 Thread Terry J. Reedy
New submission from Terry J. Reedy : A current python-list thread "Problem" is about the difficulties beginners have getting started immediately after installation. I believe it started with another beginner asking about getting the modify/repair note. One other thing that came

[issue41866] Document error in chinese version of contextlib.

2020-10-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +mdk ___ Python tracker <https://bugs.python.org/issue41866> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41877] Check against misspellings of assert etc. in mock

2020-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Vedran, you explained why many use pytest instead of unittest. But we have the latter and a stability policy. I am not familiar with the existing mock code, but one already invented solution for misspelling tolerance without enumeration is the soundex

[issue41878] python3 fails to use custom mapping object as symbols in eval()

2020-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Robert, this tracker is for patching CPython, not for debugging user code. If, as it appears, you are not suggesting the former, please close this. For the latter, python-list and stackoverflow.com are appropriate forums. -- nosy: +terry.reedy

[issue41887] ast.literal_eval does not accept strings with leading whitespaces

2020-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc for literal_eval says "evaluate ... a string containing a Python literal or container display." To me, ' 1' qualifies, just as it does as an expression for eval(). The exception comes from parsing raising IndentationError with

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The word 'object' in this section is a bit confusing because it refers to any Python object, not to base class 'object' or an instance thereof. I suspect that this usage predates the introduction of the latter in 2.2. This interpreta

[issue41911] Language reference incorrectly says comparison expressions return boolean values

2020-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: For rich comparisons, a proper explanation is given in the rich comparison entry in the datamodel section ( #41910) "A rich comparison method may return the singleton NotImplemented if it does not implement the operation for a given pair of argument

[issue41912] Long generator chain causes segmentation fault

2020-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another "We are not responsible, proceed at your own risk" operation is importing ctypes, which allows one to overwrite bytes in the running python. -- nosy: +terry.reedy resolution: -> not a bug stage: -> resolved status

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21557 pull_request: https://github.com/python/cpython/pull/22562 ___ Python tracker <https://bugs.python.org/issue41

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 060937da988347a887a5f165b023d972fcb97802 by Terry Jan Reedy in branch 'master': bpo-41774: Tweak new programming FAQ entry (GH-22562) https://github.com/python/cpython/commit/060937da988347a887a5f165b023d9

[issue41774] Add programming FAQ entry: remove multiple entries from list

2020-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: While removing element from list using for and remove(), which has same items output is not right -> Add programming FAQ entry: remove multiple entries fr

[issue41952] sys.version has double space between month and date

2020-10-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: >>> sys.version '3.10.0a1 (tags/v3.10.0a1:8e9afaf, Oct 5 2020, 20:32:52) [MSC v.1927 64 bit (AMD64)]' I am guessing that the template is leaving spaces for 2 digits. Intentional? I see the same thing in local repository debug bu

[issue41957] IDLE does not Transform Tabs into Spaces in Interactive Mode

2020-10-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: #37903 is the first stage of a serious refactor -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41968] 3.9 IDLE documentation.

2020-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that the doc needs more, but I am closing this as a duplicate of #31329, which is specifically doc about starting IDLE. You can still answer Paine's questions here if you want. File association: IDLE is not Python. It is one of many P

[issue31329] Add idlelib module entry to doc

2020-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #41968 as a duplicate of this. -- nosy: -louielu ___ Python tracker <https://bugs.python.org/issue31329> ___ ___

[issue41968] 3.9 IDLE documentation.

2020-10-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Velson, when you respond to a post by email, rather than on the web page, please delete the post you are responding to, except for maybe a quoted line or two. When your response is added to the web page below previous posts, posts quoted in full constitute

[issue38077] IDLE leaking ARGV into globals() namespace

2020-10-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since I opened the followup issue, yes. Thanks for noticing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38792] IDLE calltips may not properly close on KeyboardInterrupt

2020-10-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35155] Clarify Protocol Handlers in urllib.request Docs

2020-10-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34976] IDLE: Replace the search dialog with a search bar

2020-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Notepad++, which I use, uses a tabbed dialog for search and replace, which I think I would like to somewhat imitate. Or just have one search and replace dialog. I need to experiment. I don't like the Firefox toolbar and consider it buggy. In any

[issue34976] IDLE: Replace the search dialog with a search bar

2020-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Notepad++ Find by marks all matches in the current doc as 'found', with a distinct (darker) highlight for the 'selected' found. Double clicking selects a word, as in IDLE, *and* finds all matches. One can then either cut/copy/replace

[issue30934] Document how to run coverage for repository idlelib files.

2020-10-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, this is an existing issue about documenting how to run IDLE coverage. It was left open to add something about the *nix equivalent of my Windows instructions. I would like to finish this, with updates elsewhere in the text. I'm dubious about Lo

[issue27351] Update ConfigParser doc: accepts iterables, not just lists

2020-10-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: Unexpected ConfigParser.read() behavior when passed fileobject -> Update ConfigParser doc: accepts iterables, not just lists versions:

[issue42040] Change IDLE 'more information' splash line, change doc name

2020-10-14 Thread Terry J. Reedy
New submission from Terry J. Reedy : IDLE currently follows the version and system info line with Type "help", "copyright", "credits" or "license()" for more information. The last 3 are nearly useless, and duplicate the availability of the docum

[issue41988] No hyphen in broken up word in documentation

2020-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing because word breakage when wrapping and justifying is an OS-browswer issue. I see the image as having two hyphenation bugs, but whoever wrote that viewer might disagree. The displayed paragraph is the first bullet point in the doc. With

[issue41988] No hyphen in broken up word in documentation

2020-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, what viewer are you using when you see unhyphenated word breaks? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41989] htmlparser unclosed script tag causes data loss

2020-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Waylan, 3.7 and before only get security fixes. To me, this might be considered an enhancement rather than bug fix, but I will leave that to Ezio. -- nosy: +terry.reedy versions: -Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue42010] Generic types accept indexing/subscripting, causing confusion

2020-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Subscription of list and dict (only with '') and ??? is at least puzzling. Removal of a new feature after release is a bad idea. But this new feature, expansion of subscription, needs to documented in https://docs.python.org/3/reference/expres

[issue38041] IDLE Shell: Refine restart line

2020-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, the further changes I am thinking about should be a new issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42082] Eliminate test_peg_generator redundant output

2020-10-19 Thread Terry J. Reedy
New submission from Terry J. Reedy : When running tests locally (Win10), test_peg_generator outputs the following 20 times. parse.c pegen.c string_parser.c tokenizer.c Python-ast.c asdl.c peg_extension.c Creating library C:\Users\Terry\AppData\Local\Temp\tmpcr6_pvyl\Debug\Users\Terry

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The Windows part of this is done. Existing tests also pass on my machine. Ned, do you want this left open for macOS? or close? -- stage: patch review -> ___ Python tracker <https://bugs.python.org/issu

[issue39107] Upgrade Windows tcl/tk to 8.6.10

2020-10-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -macOS resolution: -> fixed stage: -> resolved status: open -> closed title: Upgrade tcl/tk to 8.6.10 (Windows and maxOS) -> Upgrade Windows tcl/tk to 8.6.10 ___ Python tracker <https://

[issue39107] Upgrade Windows tcl/tk to 8.6.10

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: We should then upgrade on Windows again. PR would have nearly the same changes. -- ___ Python tracker <https://bugs.python.org/issue39

[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just reproduced this too with Airbook Mohave. When IDLE's Shell is running, it is linked to an execution subprocess that is initially invisible, unless and until the user creates a visible window. Tk() does this. On Windows, a tk Window icon ap

<    37   38   39   40   41   42   43   44   45   46   >