[issue37989] documentation format error in Chinese version

2019-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The translations of the docs are maintained in a separate repository by a separate group of people. The sidebar on the left of the page you linked to has a link called '提亀 Bug' to https://docs.python.org/zh-cn/3/bugs.html. I am guessing that th

[issue37988] Issue found during language name processing in a list

2019-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This code derived from the blurry image lst = ['malaysian', 'malayalam', 'a'] ip = input('word ') li = len(ip) miss = 0 for word in lst: if len(word) == li: for j in range(li-1): # skip last be

[issue37768] IDLE: Show help(object) output in a text viewer

2019-09-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: For myself, I only want this for 'large' outputs. I prefer something like the following left alone. >>> help('continue') The "continue" statement continue_stmt ::= "continue" &q

[issue35771] IDLE: Fix tooltip Hovertiptest failure

2019-09-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 132acaba5a7f01373ca624b1a5975b190fe866f5 by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-35771: IDLE: Fix flaky tool-tip hover delay tests (GH-15634) https://github.com/python/cpython/commit/132acaba5a7f01373ca624b1a5975b

[issue35771] IDLE: Fix tooltip Hovertiptest failure

2019-09-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: To decide whether I agree that a live delay test is needed would take time and energy currently better applied to other issues. Since the 2nd PR reduces net test time, and should be at least as good in avoiding spurious failures, I am merging it now. If I

[issue37768] IDLE: Show help(object) output in a text viewer

2019-09-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should have said, 'who disable autosqueeze'. Anyway, an option to disable help autoview will make me more comfortable adding it. A similar change would be to add 'Squeeze & View&#

[issue35771] IDLE: Fix tooltip Hovertiptest failure

2019-09-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

[issue38022] IDLE: Upgrade help.html to sphinx 2

2019-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 580bdb0ece681537eadb360f0c796123ead7a559 by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (GH-15664) https://github.com/python/cpyt

[issue38022] IDLE: Upgrade help.html to sphinx 2

2019-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Using -D was a temporary kludge until someone updated the html2tk writer. The key to the fix was adding the prevtag attribute with opener? field. -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue37902] Add scrolling for IDLE browsers

2019-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2cd902585815582eb059e3b40e014ebe4e7fdee7 by Terry Jan Reedy (GeeTransit) in branch 'master': bpo-37902: IDLE: Add scrolling for IDLE browsers. (#15368) https://github.com/python/cpython/commit/2cd902585815582eb059e3b40e014e

[issue37902] Add scrolling for IDLE browsers

2019-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the patch. More IDLE patches would be welcome should you want to attack something else. Possible browser scrolling refinements: 1. Scroll by an integral number of labels. This is easy with text. For our synthesized tree, we would have to

[issue38041] IDLE Shell: Redesign minimum restart line

2019-09-05 Thread Terry J. Reedy
New submission from Terry J. Reedy : Currently, Shell prints restart lines as =...= RESTART filename =...= where filename is 'Shell' or the full pathname. The code is tag = 'RESTART: ' + (filename if filename else 'Shell') halfbar = ((int(cons

[issue38041] IDLE Shell: Redesign minimum restart line

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

[issue38041] Refine IDLE Shell restart line

2019-09-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE Shell: Redesign minimum restart line -> Refine IDLE Shell restart line ___ Python tracker <https://bugs.python.org/issu

[issue38041] IDLE Shell: Refine restart line

2019-09-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> commit review title: Refine IDLE Shell restart line -> IDLE Shell: Refine restart line ___ Python tracker <https://bugs.python.org/i

[issue38041] IDLE Shell: Refine restart line

2019-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 38da805d563422cf1bb9cd9be24c73806840fe30 by Terry Jan Reedy in branch 'master': bpo-38041: Refine IDLE Shell restart lines. (GH-15709) https://github.com/python/cpython/commit/38da805d563422cf1bb9cd9be24c73

[issue37992] Change datetime.MINYEAR to allow for negative years

2019-09-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected stage: -> resolved status: open -> closed versions: +Python 3.9 -Python 3.7 ___ Python tracker <https://bugs.python.or

[issue37995] Multiline ast.dump()

2019-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Much better. I prefer the first version with closers on the last item. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue37

[issue38003] Incorrect "fixing" of isinstance tests for basestring

2019-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bob, this issue tracker is for managing patches to the cpython repository. not for 'help me understand' requests, The latter belong on, for instance, python-list. Unless you have a specific proposal, other than leaving 'basestring

[issue38005] Coercing strings and non-integer numbers to interpreter ID and channel ID

2019-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Regardless of the intention of the _xx... author, intransitive equality is objectionable as it violates the assumption of sets and dicts. We went through this before with decimal.Decimal when the original implementation had 1.0 == 1 == Decimal(1) but 1.0

[issue38007] Regression: name of PyType_Spec::slots conflicts with Qt macro

2019-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: My initial thought is similar to that of Michael Hudson in msg23757, that Python should not be hostage to foreign code processors. I also note that the 2010 patch is by Martin Loewis, who was part of the 2006 discussion, and that the 2010 patch was about

[issue38040] Typo: "Writeable" Should be "Writable" in IO Library Documentation

2019-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Wiktionary and dictionary.com see 'writeable' as an alternate spelling of 'writable', while merriam-webster.com does not. Neither of the former say anything about American versus British usage. I wonder if the first two are rubber-stam

[issue38003] Change 2to3 to replace 'basestring' with '(str,bytes)'

2019-09-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson title: Incorrect "fixing" of isinstance tests for basestring -> Change 2to3 to replace 'basestring' with '(str,bytes)' versions: +Python 3.9 -Python 3.7 _

[issue38003] Change 2to3 to replace 'basestring' with '(str,bytes)'

2019-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Replacing 'basestring' with 'str' is not a bug in the behavioral sense because it is intended and documented. https://docs.python.org/3/library/2to3.html#2to3fixer-basestring How the current behavior is correct: 2to3 converts syntacticall

[issue38003] Change 2to3 to replace 'basestring' with '(str,bytes)'

2019-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Replace 2. above with "2. Replace 'basestring' with '(unicode, bytes)'." -- ___ Python tracker <h

[issue38078] IDLE: Don't run internal code in user namespace.

2019-09-09 Thread Terry J. Reedy
New submission from Terry J. Reedy : #38077 fixed the bug of internal runcommand code not deleting 'argv' from the user namespace. This issue is about not running code there. When a subprocess is running, pyshell.ModifiedInterpreter.runcommand runs python code created by IDLE

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that 'argv' (bound to sys.argv) appears for all three versions after running an editor file, but not when Shell is started normally, without a file. The immediate culprit is the runcommand code in runscript, lines 156-168. As part of

[issue38077] IDLE leaking ARGV into globals() namespace

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

[issue37825] IDLE doc improvements

2019-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 5 Delete use of 'extension' referring to converted features. "If you don’t like the ACW popping up unbidden, simply make the delay longer or disable the extension." Remove ' or ...' --

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c59295a1ca304f37ca136dd7efca9e560db27d28 by Terry Jan Reedy in branch 'master': bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) https://github.com/python/cpython/commit/c59295a1ca304f37ca13

[issue35379] IDLE's close fails when io.filename set to None

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The get_saved tracebacks reported in #35263 and #38128 are the same except for line numbers. The more recent, from 3 days ago on Mac. Exception in Tkinter callback Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Version

[issue38128] IDLE undo calls get_saved() when set to None

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: None.get_saved (closing shell) was reported in #35263. None.filename (closing editor) was reported in #35379. Up-to-date reports in one page were a bit helpful. -- resolution: -> duplicate stage: -> resolved status: open -> closed s

[issue35263] Add None handling for get_saved() in IDLE

2019-09-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> IDLE's close fails when io.filename set to None ___ Python tracker <https://bugs.p

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, I presume 1. your tracebacks are on macOS. 2. They occur with installed, not repository Python. 3. The missing attribute depends on whether Shell or an editor window is closed either only or last. Please verify. What macOS version? python.org

[issue38050] open('file.txt') path not found

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I strongly doubt that IDLE crashed, as opposed to showing a traceback generated by Python. If Python crashes, IDLE restarts instead of crashing. I am closing this because all the essential information is still missing a week after it was requested. There

[issue38057] Docs: source code don't can be translate

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for issues possibly leading to patches for the CPython repository. Translations are not part of this repository and I am pretty sure that .po files are not either. -- nosy: +terry.reedy resolution: -> not a bug stage: -> re

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: What happens if you immediately close the Shell window? Perhaps your bug only appears after some amount of activity. (This is not true of the one I see with repository python.) -- ___ Python tracker <ht

[issue38106] [2.7] Race in PyThread_release_lock on macOS - can lead to memory corruption and deadlock

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

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

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

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From IDLE's viewpoint, the 2.7 failures are the same. In current 3.x, >GetUserCfgDir has warn = ('\n Warning: unable to create user config directory\n' + userDir + '\n Check path and permissions.\n Exiting!\n&#x

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0048afc16a7e7301d5c565237db271505e5fbed9 by Terry Jan Reedy in branch 'master': bpo-38183: Test_idle ignores user config directory GH-16198) https://github.com/python/cpython/commit/0048afc16a7e7301d5c565237db271

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +15813 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16212 ___ Python tracker <https://bugs.python.org/issu

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: By reading idlelib code, I determined that the error must arise from EditorWindow.close being called twice. I confirmed this with a debug print. EW.close is called from close_event, PyShell.close, and filelist.close_all_callback. For the AttributeError I

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset dfd34a9cd58e8150c324190f746de919e140abe8 by Terry Jan Reedy in branch 'master': bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) https://github.com/python/cpython/commit/dfd34a9cd58e8150c324190f746de9

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Except for an unrelated gui test on AMD Alpine, the revised tests pass all buildbots. So try with the reproducing condition whenever you want. -- stage: patch review -> commit review ___ Python tracker <

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Before closing this, I want to review #17822 and if the specific fix is superceded by this one, remove it. -- stage: patch review -> commit review ___ Python tracker <https://bugs.python.org/issu

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I thought a simple change to one file was enough, I thought to backport to 2.7. But given that I will not backport the followup changes that will affect users, I am not going to backport the more complicated changes. -- resolution: -> fi

[issue38183] test_idle should not access or modify user config directory

2019-09-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError -> test_idle should not access or modify user config directory ___ Python tracker <https://bugs.pyth

[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: In msg266115, Robert Collins suggested "add a different name and deprecate assertCountEqual". In msg266184, Gregory Smith said "not against adding a new name if it makes glorious sense, but we should not remove the old names from unittest

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

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another report today on idle-dev that pasting emoji exits IDLE. Serhiy, I applied the _tkinter part of your...args_2.patch to a branch of current master -- see serhiy_tkinter.patch. (Could push branch if helpful.). After recompiling _tkinter.c, pasting 🐱

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: #17822 is not what I was thinking of, nor are #17614 or #22614, so I considered this issue done for now. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracke

[issue17822] Save on Close windows (IDLE)

2019-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: AttributeErrors on closing were a separate issue. They are now caught on closing. #35379. Save on Close is now modal on Windows also, in that one cannot do anything with the Window being closed. One can try to close a second dirty window. Saying 'n

[issue15347] IDLE - remove debugger 'interacting'

2019-09-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: fix-nested-mainloop.patch was superceded by fix-nested2.patch for #24455. I verified that the initial test now passes. When I click 'yes' in that box popped up by step 4, both Shell and debugger windows disappear and IDLE exists. The only questi

[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.

2019-09-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The input glitch mentioned above no longer exists, so closing. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2019-09-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this as a duplicate of #21359 as I believe there is at least one more non-working shortcut and because I believe the solution is to test all and patch the default mac keyset all at once. -- resolution: -> duplicate stage: needs pa

[issue21359] IDLE macOS: Some Command shortcuts do not work correctly

2019-09-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Still an issue. Several shortcuts do not work right, so I am generalizing the issue. 1. Redo command accelerator acts as Undo. 2. Cmd-M minimizes instead of open module (#35104 has long discussion). I at least one other issue mentions a similar problem

[issue31930] IDLE: Pressing "Home" on Windows places cursor before ">>>"

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue31930> ___ ___ Python-bug

[issue22083] IDLE: Refactor breakpoint related methods

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Refactor PyShell's breakpoint related methods -> IDLE: Refactor breakpoint related methods versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org

[issue11820] idle3 shell os.system swallows shell command output

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue11820> ___ ___ Python-bug

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue29926> ___ ___ Python-bug

[issue24812] All standard keystrokes not recognized in IDLE dialogs on Mac

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -kbk, roger.serwy versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue24

[issue21674] Idle: Add 'find all' in current file

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue21674> ___ ___ Python-bug

[issue23544] IDLE hangs when selecting Stack View with debug active

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -kbk, roger.serwy versions: +Python 3.9 -Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue23

[issue21937] IDLE interactive window doesn't display unsaved-indicator

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue21

[issue15363] Idle/tkinter ~x.py 'save as' fails. closes idle

2019-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue15363> ___ ___ Python-bug

[issue25244] Idle: refine right-click behavior

2019-09-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue25

[issue25488] IDLE: Remove '', user_dir, and idlelib from sys.path when added

2019-09-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue25

[issue1207613] Idle Editor: Bottom Scroll Bar

2019-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: A horizontal text bar is added to a text view as needed (recent patch) when one is used for the font sample. The latter fits or not according to the font size. The same could be used for editor, or better, editor windows could inherit from text views

[issue26949] IDLE restarts when one debugs code raising SystemExit

2019-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: >>> raise SystemExit does not normally cause a restart. -- nosy: -kbk, roger.serwy versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.or

[issue28840] IDLE: Document tk's long line display limitation

2019-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE Help's newish section "User Output in Shell" makes some mention of this but a bit more is still needed. -- stage: test needed -> needs patch versions: +Python 3.9 -Python 2.7, Python 3.5, Pyth

[issue21973] IDLE: catch user cfg file error, better error message, continue

2019-09-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -kbk, roger.serwy versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue21

[issue23218] Modernize the IDLE Find/Replace/Find in Files dialogs

2019-09-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue23218> ___ ___ Python-bug

[issue3559] IDLE: Pasted newline doesn't trigger execution when typed newline would

2019-09-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue3559> ___ ___ Python-bug

[issue25733] Code and IDLE should catch all compile errors.

2019-09-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue25733> ___ ___ Python-bug

[issue38172] Python 3.8 Segfult with Bandersnatch pytest Suite

2019-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you mean that the crash no longer occurs with current 3.8.b4+ in the repository, then you should close as 'out-of-date. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/is

[issue38195] A bug in the multiprocessing module

2019-09-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou ___ Python tracker <https://bugs.python.org/issue38195> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38231] Documentation search results focus on tutorials and not language specifications

2019-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: But in your response, please delete the message you are responding to (except possibly a line or two). -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue38

[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2019-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I like using 'multiset', but I think 'assertMultisetEqual', proposed by Martin Panter in msg266207, is better than assertMultiSetEqual, as it does not imply the existence of a class 'MultiSet'. Raymond's comment "dist

[issue38172] Python 3.8 Segfult with Bandersnatch pytest Suite

2019-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, am I correct in thinking that this should be closed as either intermittent, lacking in sufficient information for us to do anything, or possibly a 3rd party issue? -- nosy: +vstinner ___ Python tracker

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

2019-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +15943 pull_request: https://github.com/python/cpython/pull/16363 ___ Python tracker <https://bugs.python.org/issue13

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

2019-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +15945 pull_request: https://github.com/python/cpython/pull/16365 ___ Python tracker <https://bugs.python.org/issue13

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

2019-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Recap: IDLE 3.x on Windows exits with UnicodeDecodeError when pasting into editor, grep, or shell window a non-BMP astral character such as 𐒒 '\U000104a2', 𝐇, 🐍 '\U0001F40D', or 🐱 '\U0001F431' UTF-8 b'\xf0\x9f\x9

[issue38277] Allowing conditions with assignment expressions in comprehensions without parantheses

2019-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: -> enhancement versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue38277> ___ ___ Python-

[issue38280] Feature request: Add support to compile to native binary like as golang

2019-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The PSF and the core developer group do not have the resources to do this. Pie in the sky proposals like this should be floated on python-list or perhaps python-ideas, where you can get more answers as to 'Why not ...?" or perhaps 'How to .

[issue38280] Add support to compile to native binary like as with golang

2019-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Feature request: Add support to compile to native binary like as golang -> Add support to compile to native binary like as with golang ___ Python tracker <https://bugs.python.org/issu

[issue38295] macOS Catalina test failures

2019-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Python 3.7 does not compile type: -> compile error ___ Python tracker <https://bugs.pyt

[issue38295] macOS Catalina test failures

2019-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not a duplicate because Python *did* compile enough to fail a test. -- components: +macOS nosy: +ronaldoussoren, terry.reedy resolution: duplicate -> stage: resolved -> needs patch status: closed -> open superseder: Python 3.7

[issue38014] Python 3.7 does not compile

2019-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: #38295 gives error reports for test_py_compile with 3.8, which implies that Python was compiled well enough to run and fail a test. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue38

[issue38296] unittest expectedFailure does not differentiate errors from failures

2019-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: A function can fail to return an expected object by either returning a wrong object or raising an (unexpected) exception. The assertXyz methods, which ultimately raise AssertionError or something similar, are mostly about catching the first kind of failure

[issue38292] tkinter variable classes don't link to widget if matplotlib's set_cmap() function is called before the tkinter GUI is instantiated

2019-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: You neglected to state the observation that led to the conclusion of 'not linked'. Using 3.8 on Win10, I replaced "plt.set_cmap('x')" with "tk.Tk()". Then, clicking the button prints 'False' even when t

[issue38279] multiprocessing example enhancement

2019-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue38279> ___ ___ Python-bugs-list mailin

[issue38296] unittest expectedFailure does not differentiate errors from failures

2019-09-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: A test either passes or fails. Like a not operator, the expectedFailure decorator inverts the result. https://docs.python.org/3/library/unittest.html#unittest.expectedFailure @unittest.expectedFailure Mark the test as an expected failure. If the test

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

2019-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The revised PR appears to fix this and other issues, although the presence of astral chars in code being edited messes up tk's cursor positioning. Assuming that this cannot be changed, we could add the the ability to replace astral chars with \U es

[issue34455] Tkinter crashing when pressing Command + ^ (OSX)

2019-10-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Aivar, thank you for opening the issue. I believe what I meant about tkinter bind calls would be to conditionallly bind '' to a function that returns 'break', thus claiming that the key combination has been handled and that tk sh

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

2019-10-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: A week ago, I thought that the astral solution was to always replace with the \U escape. With this patch, we can and should send them to read-only text windows, and let the OS and font display it or a substitute. On Windows, at least, the emoji which

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

2019-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: What do you mean by fixed? After deleting and remaking a pr_16545 branch, I see the same result for clipboard_get. -- ___ Python tracker <https://bugs.python.org/issue13

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

2019-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: After remembering to recompile (sorry), the test passes and clipgoard_get returns the rocket. Very nice, thank you. -- ___ Python tracker <https://bugs.python.org/issue13

[issue22742] IDLE shows traceback when printing non-BMP character

2019-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Printing the unquoted escape representation rather than a replacement char is a bit strange and not what I expect from the python docs. I could see it as a bug. In any case, on Windows, it is the Python REPL that raises, but only for sys.stdout

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: As with #22742, the problem, without PR 16583, only occurs with *nix. On Windows, the traceback ends with "Exception: οΏ½" and a prompt is printed. -- versions: +Python 3.9 ___ Python track

[issue21084] IDLE can't deal with characters above the range (U+0000-U+FFFF)

2019-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: As noted on #13153, files with astral chars can now be read without an exception, but the presence of astral chars messes up editing text that follows at least on the same line by misplacing the cursor. I will open a new issue about replacing such with \U

<    15   16   17   18   19   20   21   22   23   24   >