[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: My suspicion about posix=False was wrong. >>> shlex.split(''' 1 "'a' 'b'" ''', posix=False) ['1', '"\'a\' \'b\'"'] # len(...[1]) = 9 &

[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, go ahead after reading the notes above. Use an f-string for the runcommand argument and remember that it is run within the pristine user environment. Otherwise, let's start with minimal ch

[issue35610] IDLE: replace use of EditorWindow.context_use_ps1

2019-06-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10657 ___ Python tracker <https://bugs.python.org/issue35610> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35610] IDLE: replace use of EditorWindow.context_use_ps1

2019-06-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10656 ___ Python tracker <https://bugs.python.org/issue35610> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35610] IDLE: replace use of EditorWindow.context_use_ps1

2019-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 5968 was previously linked here due to my title editing mistake, soon reversed, on the PR. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35610] IDLE: replace use of EditorWindow.context_use_ps1

2019-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't especially like 'prompt_last_line', but cannot think of anything better. Removing the duplication now will make any future change easier. -- ___ Python tracker <https://bugs.pyt

[issue35610] IDLE: replace use of EditorWindow.context_use_ps1

2019-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6bdc4dee01788599808c7858e2fe9fdd72cf6792 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307) https://github.com/python/cpyt

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-06-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue36670> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35610] IDLE: replace use of EditorWindow.context_use_ps1

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

[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two design issues: 1. As I said 2017-06-20, msg296499, I expect to add more alternatives to the standard run to this menu option and dialog. (Cheryl, I should have pointed you to this post as well as the later ones.) I want to add just one new option to

[issue35763] IDLE calltips: make positional note less obtrusive

2019-06-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +13675 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/13791 ___ Python tracker <https://bugs.python.org/issu

[issue35763] IDLE calltips: make positional note less obtrusive

2019-06-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: enhancement -> behavior versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue35763> ___ ___ Python-

[issue35763] IDLE calltips: make positional note less obtrusive

2019-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 949fe976d5c62ae63ed505ecf729f815d0baccfc by Terry Jan Reedy in branch 'master': bpo-35763: Make IDLE calltip note about '/' less obtrusive (GH-13791) https://github.com/python/cpython/commit/949fe976d5c62ae63ed5

[issue35763] IDLE calltips: make positional note less obtrusive

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

[issue37167] Cannot build Windows python_d.exe in master branch

2019-06-05 Thread Terry J. Reedy
New submission from Terry J. Reedy : In master, pcbuild/build -e -d (the 2nd run) gave the errors in build_errors.txt. Many or most were like f:\dev\3x\externals\xz-5.2.2\src\liblzma\common\block_encoder.h(1): error C2018 : unknown character '0x2' [F:\dev\3x\PCbuild\liblzma.vcxproj

[issue37167] Cannot build Windows python_d.exe in master branch

2019-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I looked more carefully and all the errors were for files in the external xz-5.2.2 directory. I deleted it to force a fresh download and a rebuild worked fine. Sorry for the noise. -- resolution: -> not a bug stage: needs patch -> resolved

[issue24039] Idle: some modal dialogs maximize, don't minimize

2019-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dialogs attached to a particular window should be 'transient' to that window. https://www.tcl.tk/man/tcl8.6/TkCmd/wm.htm#M64 It is an oversight that the window search and replace windows are not. Modal windows, including the current Find in Files

[issue30809] IDLE parenmatch - highlighting options

2019-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. The parenmatch highlighting is so transient that it hardly matters what it is, except that it should not match a syntax color. -- dependencies: -Idle extension configuration: add option-help option resolution: -> rejected stage: pa

[issue24139] Use sqlite3 extended error codes

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

[issue24039] Idle: some modal dialogs maximize, don't minimize

2019-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 2.7 ___ Python tracker <https://bugs.python.org/issue24039> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37177] IDLE: Search dialogs can be hidden behind the main window

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Irv's steps did not work for me either, on Windows, and I do not know how else to reproduce. So I cannot test that this fixes any hiding issue. However, the patch fixes #24039. On Windows, it removes the inoperative minimize button and the unw

[issue21492] email.header.decode_header sometimes returns bytes, sometimes str

2019-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.3 ___ Python tracker <https://bugs.python.org/issue21492> ___ ___ Python-bug

[issue37129] Add os.RWF_APPEND flag for os.pwritev

2019-06-07 Thread Terry J. Reedy
New submission from Terry J. Reedy : Issues need a more complete title and at least *some* explanation. -- nosy: +terry.reedy title: Add RWF_APPEND flag -> Add os.RWF_APPEND flag for os.pwritev versions: +Python 3.9 -Python 3.8 ___ Python trac

[issue37130] pathlib.with_name() doesn't like unnamed files.

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Welcome to Python. If you end up proposing a change to code or doc, this will end up being the right place. A change to a documented behavior be called an 'enhancement' and only applied to the next version. A doc change will likely be

[issue37133] Erro "ffi.h: No such file" when build python 3.8 (branch master) on windows 10

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: In command prompt, I see the following, with comments added. f:\dev\3x>PCbuild\build.bat -e # -e should not be needed, but explicitly says to build externals Using py -3.7 (found 3.7 with py.exe) # You must have an installed python to build pyt

[issue37141] Allow multiple separators in Stream.readuntil

2019-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue37141> ___ ___ Python-

[issue37144] tarfile.open: improper handling of path-like object

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security patches. Thanks for testing with 3.7 also. -- nosy: +terry.reedy versions: +Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue37

[issue37149] link to official documentation tkinter failed !!!

2019-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg344550 ___ Python tracker <https://bugs.python.org/issue37149> ___ ___ Python-bug

[issue37161] Pre-populate user editable text in input()

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I like the idea, but doubt this can be implemented. Python assumes a least-common-denominator dumb terminal. Program output is sent on stdout/err and displayed read-only. Used input is read from stdin. It is put there either key by key or after the

[issue37172] Odd error awaiting a Future

2019-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Odd error awating a Future -> Odd error awaiting a Future versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issu

[issue37172] Odd error awaiting a Future

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dima, unless you want to make a specific doc change suggestion, I think this should be closed. The planned code changes will be on other issues. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.

[issue37173] inspect.getfile error names module instead of passed class

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The correct message would be " is a built-in class" We do not backport exception message changes unless 'buggy enough'. I asked on core-mentorship whether this fix qualifies. -- nosy: +terry.reedy __

[issue37174] sched.py: run() is caught in delayfunc even if all events are cancelled.

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security fixes. 3.7, 3.8 only get bugfixes. Something new should be a separate PR. -- nosy: +terry.reedy stage: -> test needed versions: -Python 3.6 ___ Python tracker <https://bugs.pyth

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Right, 3.8 not being released yet makes it different. -- ___ Python tracker <https://bugs.python.org/issue37173> ___ ___ Pytho

[issue37177] IDLE: Search dialogs can be hidden behind the main window

2019-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I saw the email, thanks for testing. Irv, a reminder: All reports of IDLE UI behavior (and some of internal behavior) need to be tagged with OS. Working 'cross-platform' does not mean 'the same across platforms'. In particular, tc

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'max(n, 50)' should have been 'min(n, 50)' Tal, does you comment avove about the former apply when corrected to the latter? Both get... and setrecursionlimit should be wrapped in a function, such as 'wrap_recursionlimits

[issue34850] Emit a syntax warning for "is" with a literal

2019-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: "This is bullshit." struck me as jarring and rude. I will stop there. -- ___ Python tracker <https://bugs.python.o

[issue34850] Emit a syntax warning for "is" with a literal

2019-06-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue34850> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37172] Odd error awaiting a Future

2019-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK. I am quitting here because asyncio and futures are outside my expertise. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37172] Odd error awaiting a Future

2019-06-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue37172> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: [Initially written before you posted the PR] Serhiy's result suggests that 25 might not always be enough and he suggested 50. Plus IDLE sometimes makes more calls internally. Lets go with at least 30. I agree that "get...(set...(n)) == n&q

[issue37220] test_idle crash on Windows when run with -R:

2019-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: The #37177 patch touched SearchDialogBase.py and test_searchdialogbase.py. I reproduced a premature stop if the full IDLE suite is run, but don't understand all of the results. After fresh update and rebuild: python -m test -ugui test_idle 3.9 runs

[issue37220] test_idle crash on Windows when run with -R:

2019-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +13824 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/13957 ___ Python tracker <https://bugs.python.org/issu

[issue37220] test_idle crash on Windows when run with -R:

2019-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +13826 pull_request: https://github.com/python/cpython/pull/13958 ___ Python tracker <https://bugs.python.org/issue37

[issue37220] test_idle crash on Windows 2.7 when run with -R:

2019-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: -patch title: test_idle crash on Windows when run with -R: -> test_idle crash on Windows 2.7 when run with -R: type: -> crash versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue37038] Make idlelib/run.py runnable.

2019-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, thank you. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue26180] multiprocessing.util._afterfork_registry leak in threaded environment

2019-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: With master and Windows 10, the output looks like (0, 61333912, ): (1, 63524512, . at 0x03CA2940>): (2, 60787504, . at 0x03CA2760>): ProcessLocalSet() (5, 63524512, . at 0x03CA2C60>): ... <8 more lines like the two with ForkAwareLocal.__in

[issue37286] Pasting emoji crashes IDLE

2019-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the absence of evidence otherwise (the string that you pasted and the full traceback), I assume that you pasted a non-BMP codepoint, making this a duplicate of #13153. If you think otherwise, please supply more info. -- resolution: -> duplic

[issue32846] Deletion of large sets of strings is extra slow

2019-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reran the code in msg312188. Ints as before, string deletion +- linear up to 100 million, much better than before. millions old stringsnew strings of items create delete create delete 4 1.55.36 1.7.38 8 3.18.76

[issue37298] IDLE: Revise html to tkinker converter for help.html

2019-06-15 Thread Terry J. Reedy
New submission from Terry J. Reedy : Sphinx 2.? generates different html than 1.8 such that the display of Help ==> IDLE Help has extra blank lines. Among possibly other things, the contents of ... is wrapped in ... and blank lines appear between the bullet and text. -coded in 100% p

[issue34796] Tkinter scrollbar issues on Mac.

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, is the version of tcl/tk on Mac the same in 3.8.0b1 and upcoming 3.7.4 as it was last September? (8.6.8 in 3.7.3, not sure in Sept.) -- ___ Python tracker <https://bugs.python.org/issue34

[issue36429] Fix starting IDLE with pyshell

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

[issue36429] Fix starting IDLE with pyshell

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yep. I changes the headers but must have neglected to hit [Submit Changes]. -- ___ Python tracker <https://bugs.python.org/issue36

[issue34796] Tkinter scrollbar issues on Mac.

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This should probably be closed as 3rd party, but someone needs to verify that the bug is in tk. In the meanwhile, let it sit. Vlad's test works perfectly on Windows with 8.6.9. In multiple tries, mouse at (x, Y <= 16) is top arrow, (x, y >= 17

[issue34796] Tkinter scrollbar issues on Mac.

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Christopher, I submitted before seeing your message. Thank you for the additional info, which verifies that this is an upstream issue. Apparently, the current ttk.Scrollbar on the 8.6.8 we currently deliver should sort of work. -- resolution

[issue34796] Tkinter scrollbar issues on Mac.

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE currently uses whatever 'ttk.Scrollbar' is. Unlike Windows, there are no top and bottom arrows, but this is also true with Safari, so I presume normal. "Clicking trough near slider has no effect". True for large file and small sl

[issue37220] test_idle crash on Windows 2.7 when run with -R:

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 66d47da86aff15be34adbec02596bb3188684c0d by Terry Jan Reedy in branch 'master': bpo-37220: Fix 2.7 test -R crash on Windows. (GH-13957) https://github.com/python/cpython/commit/66d47da86aff15be34adbec02596bb

[issue37220] test_idle crash on Windows 2.7 when run with -R:

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

[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue37039> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-06-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : Master is 3.9.0a0 as of 2019 June 4. -- assignee: terry.reedy components: IDLE messages: 345785 nosy: terry.reedy priority: normal severity: normal stage: commit review status: open title: idlelib/NEWS.txt for 3.9.0 and backports type: enhancement

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

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Master became 3.9.0a0 as of 2019 June 4. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> idlelib/NEWS.txt for 3.9.0 and backports ___ Python tra

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

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: However, this starts with first merge that does not go in 3.8.0, which will be after 3.8.0c1. -- ___ Python tracker <https://bugs.python.org/issue37

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

2019-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closed prematurely. This continues until last IDLE addition to 3.8.0 -- resolution: fixed -> stage: resolved -> commit review status: closed -> open ___ Python tracker <https://bugs.python.or

[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5bff3c86ab77e9d831b3cd19b45654c7eef22931 by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678) https://github.com/python/cpython/commit/5bff3c86ab77e9d831b3

[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : A Subprocess Connection Error (new consistent name) can be displayed by either the user or IDLE process (run and pyshell modules). The latter is much more common. Only the former was updated to refer to the newish doc section. Update the latter also

[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4b68a8eb0df7317d6c57b021d40cc0b31e3f1cd3 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.8': bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678) (GH-14168) https://github.com/p

[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Andre for the reports and followup and Tal for the research. I can start using this now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14012 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14170 ___ Python tracker <https://bugs.python.org/issu

[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8fac1221097aaf6ac37ed9ea727ee7892085e183 by Terry Jan Reedy in branch 'master': bpo-37321: Edit IDLE subprocess connection error messages. (#14170) https://github.com/python/cpython/commit/8fac1221097aaf6ac37ed9ea727ee7

[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New code tested by copying into a temporary test fixture. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : query.Query creates a popup with entry and ok/cancel buttons, in that order. Tabbing moves from the entry in that order. Currently, subclasses that add widgets add them after the 3 above, so they follow Cancel in the tab order. They do this by

[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 201bc2d18b60adb05810d2a6ab396047bc527088 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-5680: IDLE: Customize running a module (GH-13763) https://github.com/python/cpython/commit/201bc2d18b60adb05810d2a6ab3960

[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: A more than minimal patch has been merged. Further work will be on new issues. Remaining problems not previously discussed: 1. Tab focus traversal is wrong. This is generic to Query subclasses that add widgets. See #37325. 2. When the customize box is

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14047 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/14209 ___ Python tracker <https://bugs.python.org/issu

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 54cf2e0780ca137dd9abea5d3d974578ce0c18a9 by Terry Jan Reedy in branch 'master': bpo-37325: Fix focus traversal for 2 IDLE dialogs (#14209) https://github.com/python/cpython/commit/54cf2e0780ca137dd9abea5d3d9745

[issue37325] IDLE: fix Query subclass tab focus traversal order

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

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2019-06-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue37205> ___ ___ Python-bugs-list mailin

[issue37298] IDLE: Revise html to tkinker converter for help.html

2019-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the research, including the crucial commit! What I understand from the quotes: 1. Sphinx 2 writes HTML5 by default. The html5 writers always writes paragraphs because they are required by the xhtml used by html5. 2. Firefox, for instance

[issue37307] isinstance/issubclass doc isn't clear on whether it's an AND or an OR.

2019-06-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue37307> ___ ___ Python-bugs-list mailin

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: For future reference: an exception is not a crash. A crash is a core dump or the Mac equivalent. Anyway, I also cannot reproduce with Python.org python on my Macbook. python 3.7.3(v3.7.3:ef4e...) Mar 25, 2019 16:52:21 Clang 6.0 (...) on Darwin Where did

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: It seems that the current warning WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information. is not visible or strong enough to prevent spurious issues like this. I would like to

[issue36738] Add 'array_hook' for json module

2019-06-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue36738> ___ ___ Python-bugs-list mailin

[issue37430] range is not a built-in function

2019-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you are referring to 8.3 of the language reference https://docs.python.org/3/reference/compound_stmts.html#the-for-statement which has "the built-in function range()". Types/classes *are* functions, which is why dist, list, range, etc are

[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals says, for \ooo, "In a bytes literal, hexadecimal and octal escapes denote the byte with the given value. In a string literal, these escapes denote a Unicode character

[issue37422] Documentation on the change of __path__ in Python 3

2019-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue37422> ___ ___ Python-bug

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: If anything, this seems to be a getpass doc issue. -- assignee: -> docs@python components: +Documentation -Library (Lib), Windows nosy: +docs@python, terry.reedy ___ Python tracker <https://bugs.pyth

[issue37427] sorted, list.sort reject non-boolean objects with __bool__() as `reverse` parameter

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Not a bug. Both function docs say "reverse is a boolean value." https://docs.python.org/3/library/stdtypes.html#boolean-values says "Boolean values are the two constant objects False and True." These should be used in new code. For co

[issue32912] Raise non-silent warning for invalid escape sequences

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'filled my terminal with spaces' bug mentioned in msg344764 was independently reported in #37433, with a PR. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.o

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows 10 with current 3.8 I see correct output, so the bug seems OS specific, even though the simple fix (see PR) is not. C:\Users\Terry>py f:/python/a/tem4.py File "f:/python/a/tem4.py", line 1 f'''{} ^ SyntaxError

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg346872 ___ Python tracker <https://bugs.python.org/issue37433> ___ ___ Python-bug

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, very obnoxious. Fix restores behavior above. -- ___ Python tracker <https://bugs.python.org/issue37433> ___ ___ Python-bug

[issue37430] range is not a built-in function

2019-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Then it appears the indexing could also be improved. -- ___ Python tracker <https://bugs.python.org/issue37430> ___ ___ Pytho

[issue36390] IDLE: Refactor formatting methods from editor

2019-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think get_indent(line) is much clearer than classifyws(s)???. I propose to merge PR 12481 first, after review, with tests, and then include name change with rewrite in PR 14500. Proposed docstring: "Return line indent as # chars and effective # of s

[issue36390] IDLE: Refactor formatting methods from editor

2019-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tabwidth for the Text widget is currently fixed at 8 based on claim in editor.py that nothing else works correctly. It would be nice to verify if this is still correct. If it is, then there would seem to be no need to pass it around

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2019-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, I will be delighted to see this finally land. Please continue. Some immediate comments to update the years-ago discussion. 1a. IDLE now explicitly requires tk 8.5. AFAIK, it is only tested on 8.6. 1b. Feature are no longer extensions. 2a. The code

[issue37476] Adding a unit test of unicode in test_unicode.py

2019-07-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue37476> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37478] Docs: Method os.chdir() does not mention errors that can be raised

2019-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: > what exactly is the standard for mentioning errors My impression is that there is none, or that it is inconsistent, but that the trend is to say more. If you want to followup, check the documentation chapters of the devguide, and if there is nothing cl

[issue37487] PyList_GetItem() document regarding index

2019-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Good catch. (In the future, try to include the url, as below.) The full sentence in question, at https://docs.python.org/3/c-api/list.html#c.PyList_GetItem, is "The position must be positive, indexing from the end of the list is not supported."

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

2019-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Tim. Detect SyntaxErrors in dead code if you can, but don't change the current code deletion, at least not without proper discussion (which Pablo just started on pydev). The latter is what I consider to be a release blocker needing re

[issue37149] link to official documentation tkinter failed !!!

2019-07-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14430 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14616 ___ Python tracker <https://bugs.python.org/issu

<    42   43   44   45   46   47   48   49   50   51   >