[issue33977] [Windows] test_compileall fails randomly with PermissionError: [WinError 5] Access is denied: (...).pyc

2018-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #20760 reported failures on Linux. I think one of these two issues should be closed. FWIW, I ran f:\dev\3x>python -m test -R 3:10 -m CommandLineTests test_compileall twice with no failures. -- nosy: +terry.re

[issue33987] IDLE: add ttk.Frame inside searchbaseToplevel

2018-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The image could have been attached to #27477, but a new issue for a new PR is needed anyway. I will make this a dependency of that issue. I did not at first see the difference in the screen-capture images on my monitor in Firefox with the room lighting and

[issue27477] IDLE: Switch search dialogs to ttk widgets, and other refinement

2018-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: By adding 'and other refinements' to the title and discussing them here, I made this an index issue, with dependencies, for search. I am leaving this open as that. #33987 is about adding a ttk frame inside the top window. This is point 2 abov

[issue34006] Windows HTML Help (chm) has fixed line length

2018-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The change is also in 3.6.6, released the same day as 3.7.0. It was done intentionally, without, as far as I know, consulting Python doc users. Users were previously free to select the max line width they wanted. On https://github.com/python/python-docs

[issue32942] test_script_helper fails on Windows when run from the source code directory

2018-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: f:\dev\3x>python -m test test_script_helper ... test_script_helper failed f:\dev\3x> git pr 8034 ... Switched to branch 'pr_8034' f:\dev\3x>python -m test test_script_helper ... == Te

[issue32942] test_script_helper fails on Windows when run from the source code directory

2018-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lorenz, welcome! Please sign CLA so we can review and merge this. -- ___ Python tracker <https://bugs.python.org/issue32

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach, I believe you helped write make.bat. I can run 'make htmlhelp', but I don't know how to modify make.bat to add option "-D html_theme_options.body_max_width=none" specifical

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, I will add a blurb and merge and backport, when the patch is modified to change htmlhelp rather than htmlview. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34026] Request for 2 Windows installation changes.

2018-07-02 Thread Terry J. Reedy
New submission from Terry J. Reedy : 1. On 3.7.0, but not 3.6.6, 'Python 3.7 Module Docs' is listed twice. 2. On both, 'Python x.y Manuals' always opens the .chm full-screen, even after the user closes in part-screen mode. I think part-screen would be better for the ini

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch now works for me and can be tested. The blurb is added and can be reviewed. I expect to merge within a day. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34026] Request for 2 Windows installation changes.

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. I saw "Python 3.7 Module Docs (64 bit)" twice. But this seems to be a local issue. When I clicked on each, the second worked, the first brought up something like 'The python.exe this shortcut points to had been deleted [or moved?].

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d824ca7f4df9b5f77cf02490b0e98c2408e21fee by Terry Jan Reedy (Zachary Ware) in branch 'master': bpo-34006: Revert line length limit for Windows help docs (GH-8051) https://github.com/python/cpython/commit/d824ca7f4df9b5f77cf02490b0e98c

[issue34006] Windows HTML Help (chm) has fixed line length

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

[issue34047] Scrolling in IDLE for OS X is not working correctly when reaching end of file

2018-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are 3 ways to scroll by key in each direction: Arrow Down/Up, Page Down/Up, and Cntl End/Home. There are 4 ways to scroll by mouse, in each direction: Mousewheel down/up, Scrollbar arrow bottom/top (== Arrow keys), Scrollbar trough below/above slider

[issue33944] Deprecate and remove pth files

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue, as stated, looks like a severe regression to me. In each of my python installs, Lib/site-packages has a file called 'python.pth' containing 'F:/Python'. This is not a glob of inscrutable code. It is not even Python code. J

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The SyntaxError is not relevant. Interactive CPython: >>> d=[] >>> d=() >>> d={} >>> Erroneous extra lines in IDLE 3.6+ Shell but not editor: >>> d = [] >>> d=() >>> d

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: def funcname(param = 'somestring) # Indent for next param. is another situation where \n is treating as closing '. -- ___ Python tracker <https://bugs.python.o

[issue34047] Scrolling in IDLE for OS X is not working correctly when reaching end of file

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1 down, but how about my other questions? Is there only a problem if the slider is the first thing touched? Is there still a problem if the line "return 'break'" in idlelib.editor.EditorWindow.handle_yview is deleted or disabled

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed title: Scrolling in IDLE for OS X is not working correctly when reaching end of file -> IDLE: on macOS, scroll slider 'sticks' at bottom of file ___ Python tracker <http

[issue34013] Inconsistent SyntaxError for print

2018-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eric, Nick, Serhiy: this issue proposes to extend the print message patch of #30597 to cover more cases. On the face of it, this seems sensible, but I have no read the original discussion or the current and proposed patches. -- nosy: +eric.smith

[issue34017] Tkinter CheckButton not working in EXE

2018-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The tracker only covers the PSF cpython distribution. When you code ran in Spyder, our responsibily ended. cx Freeze is a 3rd party package: contact their support. -- nosy: +terry.reedy resolution: -> third party stage: -> resolved status

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ryan: this tracker only covers issues with the PSF CPython distribution. Problems with 3rd party modules like pywinauto are not our responsibility until someone determines that its misbehavior reflects a CPython bug. -- nosy: +terry.reedy

[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2018-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: A crash, for the tracker, is failed execution without a Python exception and trackback. Debian, Fedora, Gentoo, RHEL, and Ubuntu (AMD64) buildbots are currently green. We don't have one for SUSE, open or other wise. If you have not yet reported the

[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2018-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you get the source from openSUSE or from python.org? -- ___ Python tracker <https://bugs.python.org/issue34058> ___ ___

[issue32523] inconsistent spacing in changelog.html

2018-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since 'News entry is one paragraph without subject line' is a change from older policy, I suggest posting a reminder to committers list and rechecking devguide. -- nosy: +terry.reedy ___ Python track

[issue33888] Use CPython instead of Python when talking about implementation details

2018-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8d41278045ee4e8bf1cadb58a7db58d70ad55237 by Terry Jan Reedy (Andrés Delfino) in branch 'master': bpo-33888: Use CPython instead of Python in the FAQ (GH-7767) https://github.com/python/cpython/commit/8d41278045ee4e8bf1cadb58a7db58

[issue33888] Use CPython instead of Python when talking about implementation details

2018-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Merged with Guido's approval on the PR. Thanks. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker <https://bugs.p

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: We need to determine whether the problem is with tk/tkinter or specifically with IDLE, and whether it has anything with using ttk. The attached file duplicates the skeleton of an IDLE editor in 14 lines of tkinter code. This includes putting a ttk

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The mouse over scrollbar behavior I described above is specific to the ttk version. Mark Roseman has said that other ttk widgets *look* better on a ttk frame. Does the frame make any difference for scrollbar

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The text widget in IDLE is actually an instance of MulticallCreator(Text). For tk_scroll2.py, I added the idlelib import and the call to MulticallCreator. -- Added file: https://bugs.python.org/file47677/tk_scroll2.py

[issue24665] CJK support for textwrap

2018-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that this issue should be closed, as it is based on some confusions and errors. Textwrap works in terms of characters. The wrap method "wraps the single paragraph in text (a string) so every line is at most width characters long." When

[issue31623] Build MSI installer for 3.4 security releases on Windows

2018-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: If we cannot test this and will not merge without testing*, then perhaps we should close it rather than pretend it still has a chance. *Which I think would be a bad idea. In any case, I made the title specific enough so that this issue and patch might

[issue17180] shutil copy* unsafe on POSIX - they preserve setuid/setgit bits

2018-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should the patch be turned into a PR or should this be closed? -- nosy: +terry.reedy versions: -Python 3.2, Python 3.3 ___ Python tracker <https://bugs.python.org/issue17

[issue28778] wsgiref HTTP Response Header Injection: CRLF Injection

2018-07-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.3 ___ Python tracker <https://bugs.python.org/issue28778> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31623] Build MSI installer for 3.4 security releases on Windows

2018-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Larry answered on pydev. -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33289] tkinter askcolor returning floats for r, g, b values instead of ints

2018-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: It appears so. -- ___ Python tracker <https://bugs.python.org/issue33289> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34095] [2.7] test_idle fails with: /usr/bin/xvfb-run: line 181: 3617 Segmentation fault

2018-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think we should first determine whether xvfb is required to get the segfault, and second, where it fails. Does -m test.regrtest -v -m test_io test_idle fail and fail in the same place, the 11th and last test run in the module? If not, what about xvfb

[issue34100] Same constants in tuples are not merged while compile()

2018-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think (space) 'performance' would be a better label, as this is strictly an implementation improvement, not a language change. But we often (usually? sometimes?) limit performance improvements to the 'next version' so we have the

[issue34102] local variable 'parts' referenced before assignment in feedparser in email module

2018-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: An exception is not a crash. An intended exception is not even a bug. A bug is a discrepancy between behavior and doc. In this case, email.parser.Feedparser is imported from email.feedparser. Its doc https://docs.python.org/2.7/library/email.parser.html

[issue34102] None.splitlines raises AttributeError in email.feedparser

2018-07-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: local variable 'parts' referenced before assignment in feedparser in email module -> None.splitlines raises AttributeError in email.feedparser ___ Python tracker <https://bugs.pytho

[issue34102] None.splitlines raises AttributeError in email.feedparser

2018-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: What you can do is report to pip and ansible-lint that there is a bug somewhere in one of the two packages, or try to figure out which and report it to one of them. -- ___ Python tracker <https://bugs.python.

[issue33111] Merely importing tkinter breaks parallel code (multiprocessing, sharedmem)

2018-07-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: On MacOS, 3.7.0 is compiled for and the installer loads tcl/tk 8.6.8. The same is true for the 3.6.6 64-bit installer. Do tkinter and multiprocessing work together better with these installations? I want to consider using multiprocessing and pipes instead

[issue20353] Hanging bug with multiprocessing + sqlite3 + tkinter (OS X 10.9 only)

2018-07-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: #33111 claims that importing tkinter is enough to hang multiprocessing on MacOS up through 3.6. -- components: +macOS nosy: +ronaldoussoren, terry.reedy ___ Python tracker <https://bugs.python.org/issue20

[issue34118] Fix some class entries entries in 'Built-in Functions'

2018-07-14 Thread Terry J. Reedy
New submission from Terry J. Reedy : The Library Reference 'Built-in Functions' chapter includes build-in classes because classes are functions in the sense of being callable with arguments and returning objects. A proposal to change the name to Built-in Functions and Classes wa

[issue33111] Merely importing tkinter breaks parallel code (multiprocessing, sharedmem)

2018-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was uncertain from Ethan's post what does work best. "endless errors with both 'spawn", "Only 'fork' works...but without graphics", "method='spawn'and ... does work". Do the 1st and 3rd se

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was forgetting that this is a Python, not CPython doc. So I agree to not tag the iterator classes as such. For all I know, PyPy might use (compiled?) generator functions. And if we were to allow use of Cython, say, for CPython, we might try that. How

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: SO user abarnert, who I presume is bpo abarnert (Andrew Barnert) claims that "Create a new dictionary. The dict object is the dictionary class." sounds a bit like dict returns the dictionary class. It is different from "Return a new set ob

[issue33111] Merely importing tkinter breaks parallel code (multiprocessing, sharedmem)

2018-07-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ronald Oussoren> I can provide a patch, but that will likely be during EuroPython as I’m currently taking a roundabout route towards Edinburgh. Can you add a test of the procedure you document for using _tkinter with multiprocess

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy components: IDLE nosy: terry.reedy priority: normal severity: normal stage: needs patch status: open title: idlelib/NEWS.txt for 3.8.0 (and backports) type: enhancement versions: Python 3.6, Python 3.7, Python 3.8

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +7880 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-19 Thread Terry J. Reedy
New submission from Terry J. Reedy : New changeset 2c5c0a367c6ca648178072240fe0a32848636da6 by Terry Jan Reedy in branch 'master': bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) https://github.com/python/cpython/commit/2c5c0a367c6ca648178072240fe0a3

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

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

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

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

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 97c079c19a83881c88b56b95c545207f9ab51f6e by Terry Jan Reedy in branch '3.7': bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8347) https://github.com/python/cpython/commit/97c079c19a83881c88b56b95c54520

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 917696242b2d1c7cf4cba660fa6a29c30667e6da by Terry Jan Reedy in branch '3.6': [3.6] bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8348) https://github.com/python/cpython/commit/917696242b2d1c7cf4cba660fa6a29

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Follow-up to #30928. First patch has to be backported by hand to adjust headers for each version. After that, 2 blanks after uniform length separator allows auto backports, except for further version-specific header changes or code patches

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

2018-07-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> idlelib/NEWS.txt for 3.8.0 (and backports) ___ Python tracker <https://bugs.python

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will write a PR only touching the collection class entries. -- ___ Python tracker <https://bugs.python.org/issue34

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party module fails on Python 3.5)

2018-07-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue25150> ___ ___ Python-bugs-list m

[issue34115] code.InteractiveConsole.interact() closes stdin

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: To investigate your claim about closing sys.stdin, I ran the following on Windows 10, mostly with 3.7.0, in both the console and IDLE, using various exit methods. import code import sys for i in range(2): try: code.InteractiveConsole().interact

[issue34127] Gramatically incorrect error message for some descriptor calls with wrong number of arguments

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes. 0 things, (1/2 thing), 1 thing, (3/2 things), 2... things is the bugaboo of formatting sentences with a number field. Raymond, will we accept a patch for this? -- nosy: +rhettinger, terry.reedy stage: -> needs patch versions: +Python

[issue34134] multiprocessing memory huge usage

2018-07-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +pitrou ___ Python tracker <https://bugs.python.org/issue34134> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34136] Del on class __annotations__ regressed, failing test

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, the test should be removed, commented out, skipped, or made to work, depending on intentions. Test first is for private branches. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue34

[issue34149] Behavior of the min/max with key=None

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 2.x, map(None, 'abc', 'zyz') == [('a', 'z'), ('b', 'y'), ('c', 'z')], but with the addition of zip, so that zip('abc', 'xyz') has the same result, we dep

[issue34149] Behavior of the min/max with key=None

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: FWIW, the nsmallest/largest key param was added Dec 2, 2004, before keyword-only parameters. https://github.com/python/cpython/commit/4901a1f267e9d632f85054ce8b21ff23bff305e1 -- ___ Python tracker <ht

[issue34154] Tkinter __init__ documentations sometimes missing valid keyword values

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: By documentation, you mean the doc string for each widget, which is the basis for the help(widget) response. I checked that there do not seem to be any other issues open for the docstrings. Go ahead. Use https://www.tcl.tk/man/tcl8.6/TkCmd/contents.htm

[issue34169] itertools.repeat does not accept None as an explicit count

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'roughly equivalent' Python code is real code that really runs, and in that sense not pseudocode. itertools is coded in C, which allows optional args with no default. To have optional args when coding in Python, either a default is nee

[issue34115] code.InteractiveConsole.interact() closes stdin

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is an important difference between a program saying 'I am done executing' and a user saying 'I am done with the interactive session'. This is especially true in an IDE where 'session' can include many editing and sh

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: We don't normally backport an exception message change unless its content, as opposed to style, is erroneous. -- type: -> enhancement versions: -Python 3.6, Python 3.7 ___ Python tracker

[issue34055] IDLE Shell: check syntax before smart indent

2018-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I did several more experiments to reproduce the reported problems and narrow down when they occur. (Where I say 3.6.3 below, I actually tested 2.7.15 and/or 3.5.4 and assume same behavior until fix for 3.6.4.) >>> a=1 >>> a 1 # no extra

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: On idledev thread "Mac IDLE 3.7.0 freezes when accessing Preferences", Walter Schnyder reported something similar. Combining two posts: "using python.org Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) [Clang 6.0 (clang-600.0.57)] on

[issue34275] IDLE: no calltips on MacOS with tk 8.6

2018-07-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : In #34055, Raymond said "tool tips no longer display on the newest mac builds". On idledev, Walter S reported the same using 64-bit python.org "Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) [Clang 6.0 (clang-600.0.57)] on darw

[issue34258] Python shell keeps restarting

2018-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: In IDLE, Run Module, F5, is a shortcut, in a sense, for saving the file to filename, switching to a terminal or console window, such as Command Prompt on Windows, and entering 'python -i filename'. The -i means 'switch it interactive mode af

[issue33204] IDLE: remove \b from colorizer string prefix

2018-07-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved ___ Python tracker <https://bugs.python.org/issue33204> ___ ___ Pyth

[issue33204] IDLE: remove \b from colorizer string prefix

2018-07-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- status: open -> closed ___ Python tracker <https://bugs.python.org/issue33204> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue34258] Python shell keeps restarting

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Again, that RESTART line is NOT an error. IDLE's prompt is not displayed until your program is completely done. It initially pauses on the second line 'check = input()', waiting for user input. Start with a one-line file: print('Hel

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two more pieces of evidence that there is a problem with tkinter/tk8.6 on Mac. On #34120, Vlad T. confirmed the misbehavior on 3.5 compiled for 8.6. #34281 reports another problem with an editor subwindow on 3.7 Mac. There are now 4 issues about some IDLE

[issue34281] IDLE: closing "Go to Line" on OS X 3.7 activates wrong window

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suspect that this results from a problem with the new tkinter/tcl/tk8.6 delivered with 3.7. See #34275. -- dependencies: +Problems with tkinter and tk8.6 on MacOS title: "Go to Line" broken on OS X -> IDLE: closing "Go to

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. This is evidence for my suspicion that this results from a problem with the new tkinter/tcl/tk8.6 delivered with 3.7. See #34275. PS: when replying by email, please delete the quote, which is redundant with the post on the web page

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re-reading, I notice this from Tal: "With Python 3.6.5 on OSX, I'm seeing all of the issues ...". 3.6.5 was released 2018 March 28, *before* we revised editor scrolling in May. What tk version? Was the new 8.6 compile even ava

[issue34281] IDLE: closing "Go to Line" on OS X 3.7 activates wrong window

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: After doing some experiments, I decided that this is the same issue with a different window. -- dependencies: -Problems with tkinter and tk8.6 on MacOS resolution: -> duplicate stage: -> resolved status: open -> closed superseder: ->

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 64 bit 3.7.0, I verified multiple problems. Calltips do not display either automatically or manually with ^B or menu selection. I closed #34281 in favor of #34120 and will report there and on #34047

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #34281 as a duplicate of this. Eric Martin said "After entering a line number, clicking OK brings to the foreground and makes active the first hidden window (in the simplest case where we have just one window for a .py file and the Shell w

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: After more experiments on Windows, the 'stuck' window -- active, no cursor, only copy works -- is a read-only window. I looked at other windows. Modal Edit > Find (Command F) Edit > Replace (Command R) When closed, neither window is activ

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.7.0 on 10.13.6: Vertical cursor sticks at both ends. Sticking at the top also is Tal's observation 1 above. I also verified dead zone under slider and always down with 2-finger swipe, and that this is not normal Mac beh

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE currently uses tooltips only for calltips describing a function's call signature. Within Lib/idlelib: calltip.py (renamed from calltips.py after the 3.7.0/3.6.6 release) has the logic for when to raise one and its content. calltip_w.py (which I i

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: As with the tooltip modules (see #34275, msg322824), the dialog modules all have run-when-main test functions. Unittests are also run, before the human-verified test. python3 -m idlelib.searchbases fails in that the driver-box is not activated (lighted

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 10.13.6 with 3.7.0, 'python3 -m idlelib.configdialog' in bash terminal runs configdialog unittests and brings up a human-verified test (htest) driver box with a ttk scrollbar whose slider does not stick. I has a dead zone beneath or above, bu

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you! Adding update worked for calltip_w. Adding update to tooltip and copying tw.lift() # work around bug in Tk 8.5.18+ (issue #24570) from calltip worked for tooltip. (It seems the bug is still present. ;-) I will either patch these files

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Moving the scrollwheel in either direction scrolls down, so I have to use the scrollbar once stuck on the bottom of the file. (The Macbook has no PageUp key.) For me, this is the most obnoxious bug. Tomorrow, I will add prints to the scroll event

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: The tkinter doc could use a section on 'OS-tk peculiarities and interactions' ;-). Anyway, thanks again. Some of the 'Windows peculiarities' I noted above, where the test behaved better on Mac, may be due to the absence of calls that

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I wrote the following justification for adding grab_release while Tal was revising his PR to make the change. I will look at the PR now and test on Windows. --- Vlad, I was wondering about modality. Properly de-modalizing a dialog requires more than just

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Removing 2.7 was unintended, from simultaneous editing. This is one of the exceptional cases where a backport is worth the risk (which seems here extremely low). I will remove it from the PR because auto backport will fail because of file renames, in

[issue34313] IDLE crashes with Tk-related error on macOS with ActiveTcl 8.6

2018-08-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume then that you tested PR8603 without opening an editor (which is certainly possible). 10.13.6 was released in the last month. PCBuild/build.bat -e downloads missing external dependency source code into externals/ and then compiles it into

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-08-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given that Steve has not found anything useful in the logs, I agree. In any case, the 3.7.0a4 installer has be superceded by multiple installers, including finally, 3.7.0. Anyone wanting 3.7 now should use that (and report problems with the same). By

[issue34313] IDLE crashes with Tk-related error on macOS with ActiveTcl 8.6

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Kevin, more tk mac issues. -- nosy: +wordtech ___ Python tracker <https://bugs.python.org/issue34313> ___ ___ Python-bug

[issue33782] VSTS Windows-PR: internal error

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: A quick follow-up commit can happen if one uses the web editor to edit more than one file. Editing a news file in Misc/News/next should not trigger any of the normal tests, only a blurb check if there is such. -- nosy: +terry.reedy

[issue34319] Clarify pathlib.Path("filepath").read_text()

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: How about if we add "The file is opened and then closed." before "The optional parameters have the same meaning as in open()." -- nosy: +terry.reedy stage: -> needs patch versions: +Python 3.6,

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified for my machine also that adding .update_idletasks(), as in calltips_2-2.diff works for my 3.7.0 installation. I will assume until someone says otherwise that this is generally sufficient. I am preparing a PR with the patch and will separately

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-08-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8143 ___ Python tracker <https://bugs.python.org/issue34275> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    72   73   74   75   76   77   78   79   80   81   >