[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 09a5c077bd8d444e9701b4d1314160b8904434e0 by Terry Jan Reedy in branch '3.6': [3.6] bpo-30928: Update idlelib/NEWS.txt. (GH-6995) (GH-6997) https://github.com/python/cpython/commit/09a5c077bd8d444e9701b4d1314160

[issue32411] Idlelib.browser: stop sorting dicts created by pyclbr

2018-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch is trivial, and I assume that the test change is adequate, but I want to put this issue on hold for the present because a) the performance gain is minuscule (the code cleanup is worth a bit more); b) I am reluctant to backport something to 3.6 that

[issue32411] Idlelib.browser: stop sorting dicts created by pyclbr

2018-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should mention that using Treeview could mean not using pyclbr.Instead, we might extract the parsing loop and modify it to build tree nodes as functions and classes are encountered. -- ___ Python tracker

[issue33531] test_asyncio: test_subprocess test_stdin_broken_pipe() failure on Travis CI

2018-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch seems to have worked. The last AppVeyor failure was a day ago, when testing the 3.7 backport of the fix. https://ci.appveyor.com/project/python/cpython/history -- ___ Python tracker <ht

[issue31529] IDLE: Add docstrings and tests for editor.py reload functions

2018-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is a reference to this issue in #31494, msg302628 (CodeContext loops). -- ___ Python tracker <https://bugs.python.org/issue31

[issue33610] IDLE: Improve CodeContext (various issues)

2018-05-22 Thread Terry J. Reedy
New submission from Terry J. Reedy : There are a number of possible improvements to CodeContext. They be separate issues (and PRs) that are dependencies of this master index issue. Some should be fairly easy now that we have the new tests. 1. #32831 added docstrings and tests. Review has

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- dependencies: +IDLE cond context: fix code update and font update timers, IDLE: Add docstrings and tests for codecontext, Idle Code Context: separate changing current and future editors stage: test needed -> title: IDLE: Improve CodeContext (vari

[issue32831] IDLE: Add docstrings and tests for codecontext

2018-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you are following up with a new patch that includes code changes, make a new issue. In the opening message, please briefly list the mini-issues fixed so I can refer changes to purposes. Perhaps something like * getspacesfirstword - function and param1

[issue31493] IDLE cond context: fix code update and font update timers

2018-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch fixed immediate problem #2 above. #1 is a separate enhancement and I listed it as #4 on the new master issue #33610. -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: 11. Use read-only Text instead of Label for context. Text.index(f'@{e.x},{e.y}', where e is event, converts mouse click to line number. That can be mapped to text line number for 8. above. Text also enables 12. If context box is too short for

[issue33628] IDLE: Code cleanup on codecontext

2018-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Super list. It made the diff really easy to parse into related changes. I printed it, reviewed code for items one by one, made a few changes, and checked them off when satisfied. IDLE *does* (sort of) allow tabs. One can read a file with tabs or Format

[issue33628] IDLE: Code cleanup on codecontext

2018-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8506016f904ba6bc27bf5261f27a0bdd5945cd26 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085) https://github.com/python/cpyt

[issue33628] IDLE: Code cleanup on codecontext

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

[issue33396] IDLE: Improve and document help doc viewer

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Point 1 is #33397. -- ___ Python tracker <https://bugs.python.org/issue33396> ___ ___ Python-bugs-list mailing list Unsub

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: With #33628 merged, I consider the next priorities to be 5. #22703 (overt bug, highest), 7, and 8, to make the feature more usable. 10. is a vague speculative feature that would use get_indent_firstword but would actually be for the editor. Update problem

[issue22703] Idle Code Context: separate changing current and future editors

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: [In #33610, msg317601, Cheryl Sabella wrote, copying here:] I've started looking at #22703, more specifically, I've been trying to recreate it. Since the config changes in 3.6/3.7 where the flag was removed from config dialog, the code context n

[issue22703] Idle Code Context: separate changing current and future editors

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, you are right. The extension-feature conversion made this issue mostly obsolete. Editors start without code context and the menu only toggles the current window. If I had thought about it, I would have closed this or added an update last fall

[issue22703] Idle Code Context: separate changing current and future editors

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: An experienced non-CS computer user I asked does not like 'toggle x' or 'switch x', but would like whichever of 'show x' and 'hide x' is appropriate (rather than both). For breakpoints, this would mean one menu e

[issue22703] Idle Code Context menu entrie(s)

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Changing title since 'separation' has already been done. Adding a user configuration option is a separate issue. -- title: Idle Code Context: separate changing current and future editors -> Idle Code Context

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2 quick thoughts. 1. I am not sure we can/should change the default, as it interacts with the recorded user changes for past versions. The default is that we never change defaults. (Having one user config for all Python/IDLE versions is a curse as well as

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. -- assignee: -> docs@python components: +Documentation nosy: +docs@python, terry.reedy resolution: not a bug -> stage: -> needs patch title: statistics.median does not work with ordinal scale -> statistics.median does not work

[issue33582] formatargspec deprecated but does nto emit DeprecationWarning.

2018-05-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov versions: -Python 3.5 ___ Python tracker <https://bugs.python.org/issue33582> ___ ___ Python-bugs-list mailin

[issue33587] inspect.getsource performs unnecessary filesystem stat call

2018-05-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> patch review type: -> performance versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue33587> ___ __

[issue33587] inspect.getsource performs unnecessary filesystem stat call

2018-05-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov title: inspect.getsource performs unnecessary filesystem stat call which is ignored in some circumstances -> inspect.getsource performs unnecessary filesystem stat call ___ Python tracker <

[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: See also #33582 for 'formatargspec'. -- nosy: +terry.reedy, yselivanov versions: -Python 3.5 ___ Python tracker <https://bugs.python.o

[issue33595] FIx references to lambda "arguments"

2018-05-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +6757 ___ Python tracker <https://bugs.python.org/issue33595> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33595] FIx references to lambda "arguments"

2018-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 804fcf66559992db9d23695e501c502ab20b7712 by Terry Jan Reedy in branch '2.7': [2.7] bpo-33595: Fix lambda parameters being refered as arguments (GH-7037) (GH-7122) https://github.com/python/cpython/commit/804fcf66559992db9d23695e501c50

[issue33595] Fix references to lambda "arguments"

2018-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the fix. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: FIx references to lambda "arguments" -> Fix references to lambda "arguments" __

[issue33647] Add re.replace(string, replacement_map)

2018-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your proposal is underspecified. (And 'yours' is inconsistent with 'your';-). If you want sequential replacememt in multiple scans, make sequential replace calls. Use a loop if the number of replacement scans is variable or large. To

[issue33598] ActiveState Recipes links in docs, and the apparent closure of Recipes

2018-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you check the copyright and license of the recipe text and code? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue33

[issue33598] ActiveState Recipes links in docs, and the apparent closure of Recipes

2018-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The Python Cookbook, based on the site, says that copyright of each recipe is retained by original authors. If so authors who have signed the PSF CLA can contribute their own work. Since Active State must have collectively licensed the recipes to O'R

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have not seen test_asyncio fail on AppVeyor since about Sunday. https://ci.appveyor.com/project/python/cpython/history shows only a couple of failures, which could very well be real. I have seen test_asyncio fail on Travis since Sunday. With my local

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume the above is using the month-old openssl-bin-1.1.0h. -- ___ Python tracker <https://bugs.python.org/issue32

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-05-26 Thread Terry J. Reedy
New submission from Terry J. Reedy : On IDLE-dev today, Elisha Paine, from Ranelagh School in England, wrote: ''' I love IDLE (so simple and lightweight compared with other IDEs) and was just wondering if you could add the following code into pyshell.py (as I have done on mine)

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-05-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +6771 ___ Python tracker <https://bugs.python.org/issue33656> ___ ___ Python-bugs-list mailin

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I changed the bare except: to 'except AttributeError:'. If ctypes.windll.shcore.SetProcessDpiAwareness exists, can calling it with True ever fail? -- ___ Python tracker <https://bugs.python.o

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -6745 ___ Python tracker <https://bugs.python.org/issue33642> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unlinked duplicate PR entry. I have no idea how that could happen. -- ___ Python tracker <https://bugs.python.org/issue33

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'deleted somehow': Christian added himself while I had this page open, so when I submitted without refreshing, the nosy list did not include him. When I saw the red warning, I did not notice the nosy list change; I s

[issue33664] IDLE: scroll text by lines, not pixels.

2018-05-27 Thread Terry J. Reedy
New submission from Terry J. Reedy : When tk and hence, IDLE, opens a text window, it contains an integral number of lines of text in the base font. Clicking a vertical scrollbar arrow button moves text up or down exactly one line. Clicking in the trough between the buttons and and the

[issue25015] Idle: scroll Text faster with mouse wheel

2018-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is 'out of date' in the sense that I have decided that the root problem is scrolling by pixels instead of lines. Once we do the latter, for #33664, we can just scroll by, say, 5 lines instead of 3, which I think is sufficient. --

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: After testing the patch as a user, I would like 3 user-visible changes. 1. Only display a blank line when there are no context lines. 2. Replace the 'lines' option with a 'maxlines' option. There is no need to worry about, or explain t

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: While trying out variable lines, #33642, I encounter two related issues. First is the context colors. Black on gray is a variant of black on white. I am using the dark theme, white on dark blue. For fixed sized context, the high contrast is okay. For

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-05-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the comments: Ronald: I agree that an int should be passed. I understand your ctype comment as saying that an attribute error before making the call should be the only possible exception. I should have explained the 'unrelated change&#x

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-05-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eryk Sun commented on the PR. -- ___ Python tracker <https://bugs.python.org/issue33656> ___ ___ Python-bugs-list mailin

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: The release candidate has been re-scheduled for June 11. So we should be able to merge the minimal upgrade before that and get it in 3.7.0 and 3.6.6. (The latter will come out at the same time as the former.) Variable lines is about ready. Colors looks

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, I observe the following behaviors. 1. When Code Context is enabled on a windows still at its initial height, context lines are added to code lines to increase the window height. 2. When the window height is changed with a mouse, that becomes the

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: 5, reformulated. Now that 'Code Context' on the Options menu only toggles a feature for the current window, like 'Zoom Height' on the Window menu, both should appear together on the same menu. My current inclination is to move 

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: 18. Error or bounds checking for maxlines entry. I believe this really a config dialog issue that applies to everything, but maxlines should be at least 1, with some reasonable max. In the meanwhile, we could check whether crazy entries (text, negatives

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: 19. idle.rst doc change 20. What's New for 3.6.6 and 3.7.0 These could be patches on this issue. 21. idlelib/NEWS.txt entries -- ___ Python tracker <https://bugs.python.org/is

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issu

[issue33665] tkinter.ttk.Scrollbar.fraction() is inaccurate, or at least inconsistent compared to the non ttk version

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please post the code you used to test this. -- nosy: +serhiy.storchaka, terry.reedy stage: -> needs patch versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue33719] Test failures on Python 3.7 beta 5 and Windows 10

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I ran py -3.7 -m test -j11 -uall I saw test_marshal fail with fatal exception. I saw test_tools and test_site fail as below. C:\Users\Terry>py -3.7 -X utf8 -m test test_pkg 0:00:00 [1/1] test_pkg 1 test OK. test_tools failed -- running: test_io (103

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 29996a1c4e8bd6dde6adce2b44d11a0982a47a3a by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106) https://github.com/python/cpyt

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I merged 'variable lines' and edited 'colors' to fix the resulting conflicts. Travis passed the latter so I expect to merge it also. To avoid more conflicts, you should wait to create the 'alignment' branch until 'colo

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am leaving this open until the new behavior is documented, even though it might be part of another issue that includes other context changes. For this issue, I will leave what happens when unzooming unspecific

[issue33679] IDLE: Configurable color on code context

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset de6516264e793be991f692fdd892707afb9104a7 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199) https://github.com/python/cpyt

[issue33679] IDLE: Re-enable color configuration for code context

2018-06-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: IDLE: Configurable color on code context -> IDLE: Re-enable color configuration for code context type: enhancement

[issue26979] The danger of PyType_FromSpec()

2018-06-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issu

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: After writing the above, I realized that line scroll only touches editor.py, not codecontext.py. On the other hand, the next item, 8. jump to context line did have to wait. Replacing Label with Text will require explicit height setting with each context

[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : Item 8. on #33610. Clicking on a line in the context box jumps the editor to that line, displayed as the first line. If we do item 11, replace Label with Text, this has to start after #33763 is merged. We could determine the context line clicked from

[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- dependencies: +IDLE: Use text widget for code context instead of label widget nosy: +cheryl.sabella ___ Python tracker <https://bugs.python.org/issue33

[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This makes detecting the context line a user clicks on slightly easier. See new issue #33768 for discussion. I am not sure now I would do this just for this reason, without trying with the label first. Using a text also allows us to experiment with

[issue33664] IDLE: scroll text by lines, not pixels.

2018-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d49dbd9acc6db544ca6cb2445fe17eb0c3be4bba by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-33664: Scroll IDLE editor text by lines (GH-7351) https://github.com/python/cpython/commit/d49dbd9acc6db544ca6cb2445fe17e

[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b609e687a076d77bdd687f5e4def85e29a044bfc by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-33763: IDLE: Replace label widget with text widget in code context (GH-7367) https://github.com/python/cpyt

[issue33664] IDLE: scroll text by lines, not pixels.

2018-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I checked that with the patch, the wwindow top stayed synchronized with the text after multiple movement operations of different types. The minimum requirement for correct operation of the scrollbar slider is that moving the slider to the top and bottom of

[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the colorizer would need some new code, maybe in a subclass, but it should be possible. I would not know if I liked it until we tried it ;-). -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great. I might try some timing experiments later. I have seen both of the first 2 options above in use. -- ___ Python tracker <https://bugs.python.org/issue33

[issue33785] Crash caused by pasting 𐌈𐌖 into IDLE on Windows

2018-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a duplicate of the remaining part of #13153. The error message displayed in a console used to start IDLE is the same, ending with "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 0: invalid continuation by

[issue13153] IDLE 3.x on Windows crashes when pasting non-BMP unicode

2018-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg318863 ___ Python tracker <https://bugs.python.org/issue13153> ___ ___ Python-bug

[issue13153] IDLE 3.x on Windows crashes when pasting non-BMP unicode

2018-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -JBernardo, Ramchandra Apte, Rosuav, THRlWiTi, William.Schwartz, asvetlov, loewis, python-dev, roger.serwy ___ Python tracker <https://bugs.python.org/issue13

[issue33274] minidom removeAttributeNode returns None

2018-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -6157 ___ Python tracker <https://bugs.python.org/issue33274> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33274] minidom removeAttributeNode returns None

2018-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I unlinked bad PR 6462 (against 3.6). PR 7465 is properly formed and should be reviewed. -- ___ Python tracker <https://bugs.python.org/issue33

[issue33274] minidom removeAttributeNode returns None

2018-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.7 does not get enhancements. When a core dev removes a version, don't re-add without discussion. -- versions: -Python 2.7 ___ Python tracker <https://bugs.python.org/is

[issue33274] minidom removeAttributeNode returns None

2018-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ari, I know that you viewed this as a behavior (bugfix) issue from the start (message 1). I changed to enhancement (feature request) in message 2 because, as you acknowledged in message 3, it is an edge case. The problem is classification can be fuzzy

[issue33274] minidom removeAttributeNode returns None

2018-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Let me clarify part of what I wrote. If we make this change in 2.7.16, then any code that uses the return value will not run on anything previous. This may not matter for you, but would be bad for public code. This cost is present in all bug fixes, but

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Summary for users: Previously, Code Context displayed a fixed number of lines. Often, many were blank. Hence the default *numlines* to display was small, 3, to avoid having too many blank lines. However, 3 is often too small to display the complete

[issue33679] IDLE: Re-enable color configuration for code context

2018-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Summary for users: Previously, there was one code context foreground and background font color setting, default or custom, on the extensions tab, that applied to all themes. Now, each theme has it own setting, as with other color settings. For builting

[issue33679] IDLE: Enable theme-specific color configuration for code context

2018-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE: Re-enable color configuration for code context -> IDLE: Enable theme-specific color configuration for code context ___ Python tracker <https://bugs.python.org/issu

[issue33642] IDLE: Display up to maxlines non-blank lines for Code Context

2018-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE: Use variable number of lines in CodeContext -> IDLE: Display up to maxlines non-blank lines for Code Context ___ Python tracker <https://bugs.python.org/issu

[issue33642] IDLE: Display up to maxlines non-blank lines for Code Context

2018-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7125 ___ Python tracker <https://bugs.python.org/issue33642> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33679] IDLE: Enable theme-specific color configuration for code context

2018-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7126 ___ Python tracker <https://bugs.python.org/issue33679> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33679] IDLE: Enable theme-specific color configuration for code context

2018-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset bed523ba03c4525c9c79a6df700284b6c43024b3 by Terry Jan Reedy in branch 'master': bpo-33642 and bpo-33679: Revise and condense blurbs (GH-7500) https://github.com/python/cpython/commit/bed523ba03c4525c9c79a6df700284

[issue33642] IDLE: Display up to maxlines non-blank lines for Code Context

2018-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset bed523ba03c4525c9c79a6df700284b6c43024b3 by Terry Jan Reedy in branch 'master': bpo-33642 and bpo-33679: Revise and condense blurbs (GH-7500) https://github.com/python/cpython/commit/bed523ba03c4525c9c79a6df700284

[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 041272b657867f5bec925b19aabf23944125d49b by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-33768: IDLE: Clicking on code context line moves it to top of editor (GH-7411) https://github.com/python/cpyt

[issue33768] IDLE: click on context line should jump to line, at top of window

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

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7145 ___ Python tracker <https://bugs.python.org/issue30928> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24622] tokenize.py: missing EXACT_TOKEN_TYPES

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 3.6.6rc is next Monday. 3.6.8 will be the last 3.6 maintenance release. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue24

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, the PR has one 'approved' review, not from you. You appear to be requesting changes here, but it is not clear to me which are 'maybe' and which are 'must'. It is not obvious to me whether this should be treated as

[issue33762] temp file isn't IOBase

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, I added you because this Tempfile issue is related to #26175. -- nosy: +martin.panter, terry.reedy ___ Python tracker <https://bugs.python.org/issue33

[issue33766] Grammar Incongruence

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: A few years ago, there was a particular case in which compile failed without a trailing newline. We fixed it so that it would work anyway. Unless we are willing for a conforming Python interpreter to fail >>> exec('print("hello"

[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is the new message a clarification, in which case we would typically not backport, or a correction, which we usually would? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue33

[issue33771] Module: timeit. According to documentation default_repeat should have the value 3. Has 5.

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a duplicate in that the 3 => 5 change was incorporated into PR 7419 for #28240. -- nosy: +terry.reedy resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Enhance the timeit module:

[issue33642] IDLE: Display up to maxlines non-blank lines for Code Context

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

[issue26698] Tk DPI awareness

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Westly, #31500 changed font scaling for IDLE on high DPI screens. It also removed some hard-coding of frame sizes in terms of pixels. Does anything look better for you with current IDLE (3.6.5, 3.7.0

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Elisha wrote and I quoted: '[the call] sets DPI awareness'. After reading https://msdn.microsoft.com/en-us/library/windows/desktop/dn280512(v=vs.85).aspx PROCESS_DPI_AWARENESS, what the call sets is the system's idea of what DPI awareness

[issue26698] Tk DPI awareness

2018-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do any of the Windows experts know what "Override high DPI scaling behavior" on properties does? Does it call SetProcessDpiAwareness? It seems so. The answer would have implications for #33656 (which is about fixing this issue in IDLE,

[issue26698] Tk DPI awareness

2018-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Elisha Paine, who prompted #33656 by posting the SetProcessDpiAwareness(1) fix to the idledev list, wrote to me that pyglet and probably pygame have similar issues. I wonder if Python should be installed with the 'application' setting, or if DPI

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: As reported on #26698, which was originally opened as an IDLE issue, but which I turned into a tkinter issue, one can also sharpen text buy opening python(w).exe properties, Compatibility tab, clicking [Change high DPI settings], and then checking

[issue33656] IDLE: Turn on DPI awareness on Windows

2018-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eric, thanks for the additional reference. From Window's viewpoint, Python, not IDLE, is the application. IDLE is just input data. I should not touch Python's manifest, and changing it would have to consider other possible gui module input d

<    69   70   71   72   73   74   75   76   77   78   >