[issue25588] Run test suite from IDLE idlelib.run subprocess

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: The README patch will finish this issue. Fixing individual failures and investigating the crash will be new issues. -- ___ Python tracker <https://bugs.python.org/issue25

[issue25588] Run test suite from IDLE idlelib.run subprocess

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 620f70eed615efde35517d7ae86354de3b2a0d03 by Terry Jan Reedy in branch 'master': bpo-25588: Document autotest in idle_test/README.txt. (#4000) https://github.com/python/cpython/commit/620f70eed615efde35517d7ae86354

[issue25588] Run test suite from IDLE idlelib.run subprocess

2017-10-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +3974 stage: commit review -> patch review ___ Python tracker <https://bugs.python.org/issue25588> ___ ___ Python-

[issue25588] Run test suite from IDLE idlelib.run subprocess

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0fee56c86344386bde8486ab803f564cb8a5203b by Terry Jan Reedy in branch '3.6': [3.6] bpo-25588: Document autotest in idle_test/README.txt. (GH-4000) (#4001) https://github.com/python/cpython/commit/0fee56c86344386bde8486ab803f56

[issue25588] Run test suite from IDLE idlelib.run subprocess

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running the file containing 'import test.autotest' directly with python gives the test_aifc failure and the same bizarre behavior after test_concurrent_futures. Testing restarts apparently in 5 parallel threads or processes. The lines of outp

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 28773ca7a7aa58a28e42a9eb0066acf71b5a8dc4 by Terry Jan Reedy (Dargor) in branch 'master': bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002) https://github.com/python/cpython/commit/

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 59b5c139d2ae95b1d1da63f81c3d777932215533 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (GH-4002) (#4004)

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 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

[issue28603] traceback module can't format/print unhashable exceptions

2017-10-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I understand it, the patch amounts to ignoring any custom __eq__ and __hash__ on an Exception class when printing tracebacks and, in effect, using the default id-based versions inherited from object, as is being assumed. This seems right to me in this

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

2017-10-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4000 ___ Python tracker <https://bugs.python.org/issue30928> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13802] IDLE font settings: use multiple character sets in examples

2017-10-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e2e42274ee5db1acedf57b63943e1f536d7a25bc by Terry Jan Reedy in branch 'master': bpo-13802: Use non-Latin characters in IDLE's Font settings sample. (#3960) https://github.com/python/cpython/commit/e2e42274ee5db1acedf57b639

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

2017-10-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 27288de0856c6fbe56354adb312ae706ce8bc7de by Terry Jan Reedy in branch 'master': bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (#4025) https://github.com/python/cpython/commit/27288de0856c6fbe56354adb312ae7

[issue13802] IDLE font settings: use multiple character sets in examples

2017-10-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ecacbb4f22ae86d29a73a5f715bce07d091da10d by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': [3.6] bpo-13802: Use non-Latin characters in IDLE's Font settings sample. (GH-3960) (#4027) https://github.com/python

[issue13802] IDLE font settings: use multiple character sets in examples

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

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

2017-10-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 98e0f26f2e4cbf5c2ca27b39f43c1cb0114c6e3c by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': [3.6] bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (GH-4025) (#4028) https://github.com/python/cpyt

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Correct. Fixed. -- ___ Python tracker <https://bugs.python.org/issue31780> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31761] Failures and crashes when running tests by import.

2017-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am re-opening because there is a bug, a conflict between doc and code comment and actual behavior, and one which has nothing to do with IDLE. The question is whether to fix it or to delete the invitation to invoke the bug. The reason the devguide gives an

[issue31782] Add a timeout to multiprocessing's Pool.join

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou versions: +Python 3.7 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue31782> ___ ___ Python-bug

[issue31783] Race condition in ThreadPoolExecutor when scheduling new jobs while the interpreter shuts down

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +bquinlan ___ Python tracker <https://bugs.python.org/issue31783> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31790] double free or corruption (while using smem)

2017-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The error log is not present. Try uploading again. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue31

[issue31793] Allow to specialize smart quotes in documentation translations

2017-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch is trivial two lines but needs review and merge from someone familiar with Sphinx stuff. [Éric, https://docs.python.org/devguide/experts.html contains the invalid Eric.Araujo] -- nosy: +ezio.melotti, merwok, terry.reedy, willingc

[issue31798] `site.abs__file__` fails for modules where `__file__` cannot be modified

2017-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.7 site module has def abs__file__(): """Set all module' __file__ attribute to an absolute path""" for m in sys.modules.values(): if hasattr(m, '__loader__'): continue # don't

[issue31804] multiprocessing calls flush on sys.stdout at exit even if it is None (pythonw)

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou, terry.reedy ___ Python tracker <https://bugs.python.org/issue31804> ___ ___ Python-bugs-list mailing list Unsub

[issue31804] multiprocessing calls flush on sys.stdout at exit even if it is None (pythonw)

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 2.7, Python 3.6, Python 3.7 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue31804> ___ ___ Python-bug

[issue31807] unitest.mock: Using autospec=True conflicts with 'wraps'

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ezio.melotti, rbcollins ___ Python tracker <https://bugs.python.org/issue31807> ___ ___ Python-bugs-list mailing list Unsub

[issue31807] unitest.mock: Using autospec=True conflicts with 'wraps'

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +michael.foord ___ Python tracker <https://bugs.python.org/issue31807> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31811] async and await missing from keyword list in lexical analysis doc

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov ___ Python tracker <https://bugs.python.org/issue31811> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31813] python -m ensurepip hangs

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: python -m enshure pip stucks -> python -m ensurepip hangs ___ Python tracker <https://bugs.python.org/issue31813> ___ _

[issue31826] Misleading __version__ attribute of modules in standard library

2017-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +barry, serhiy.storchaka versions: +Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue31

[issue31794] Issues with test.autotest

2017-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I reported on #31761, the exact result of 'import test.autotest' depends on exactly how it is run and with what. I suspect that OS might have an effect. -- nosy: +terry.reedy ___ Python track

[issue31761] Failures and crashes when running tests by import

2017-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, why do you persist in the nearly irrelevant focus on IDLE? As I reported above, failures and crashes happen ***without*** involving IDLE. Serhiy appears to report the same in #31794. -- title: Failures and crashes when running tests by

[issue31836] test_code_module fails after test_idle

2017-10-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +4041 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31836> ___ ___ Py

[issue31836] test_code_module fails after test_idle

2017-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running test_code_module afte test_idle, which somewhere executes idle code that sets sys.ps1, exposed a deficiency in test_code_module. TestInteractiveConsole.test_ps1 is intended to test this code in InteractiveConsole.interact. try

[issue31836] test_code_module fails after test_idle

2017-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: On the PR, Serhiy asks "Wouldn't be better to restore sys.ps1 in test_idle if it is changed here?" Aside from the fact that, as far as I know, it is not sanely possible to do so, I think it a bug for a test to be unnecessarily fragile. Both

[issue2651] Strings passed to KeyError do not round trip

2017-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: A new Stackoverflow question gives a better illustration of how special-casing KeyError can be a nuisance. https://stackoverflow.com/questions/46892261/new-line-on-error-message-in-idle-python-3-3/46899120#46899120 >From a current repository build instead

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : This issue is about cleaning up IDLE's use of sys.ps1 for its prompt (sys.ps2 is not used). A. This will make for cleaner code and fix some bugs. B. This will be better for testing. (Some possible changes to pyshell might make sys.ps1 irrelevant

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2017-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: #31858 fixes pyshell and editor so that a user setting of sys.ps1 in a startup file continues to be used after turning debugger on, instead of erased. I consider this to be an IDLE documentation issue, to add something in the introduction. Discussing IDLE

[issue15335] IDLE - debugger steps into print and over rpc.py code

2017-10-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The debugger also steps into importlib, if one steps 'into' an import statement. Most of the time, this is a nuisance. If one is importing from one's own module, stepping over 'import mymod' is not a satisfactory way to avoid thi

[issue17942] IDLE Debugger: Improve GUI

2017-10-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE now uses ttk unconditionally by requiring tk 8.5. The patch can therefore be simplified accordingly. -- ___ Python tracker <https://bugs.python.org/issue17

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: If one starts IDLE from a command-line console (python -m idlelib) or Python console (import idlelib.idle), sys.__stdout__ is the TextIOWraper for that console and .fileno() returns 1. .get_terminal_size() will then return the console size. The exception

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: If one starts IDLE from a command-line console (python -m idlelib) or Python console (import idlelib.idle), sys.__stdout__ is the TextIOWraper for that console and .fileno() returns 1. .get_terminal_size() will then return the console size. The exception

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am preparing a PR for shutil.get_window_size. Pyplot should probably call that instead of the os version. -- ___ Python tracker <https://bugs.python.org/issue24

[issue24920] shutil.get_terminal_size throws AttributeError

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Uh, sorry for the noise. I see now that shutil was already patched by Victor and you in #26801, so that it already works with IDLE started from an icon. So now I don't understand your last comment, "Patching shutil will help f

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +4107 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch pull_requests: +4107, 4108 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I put the new shell variables into PyShell itself. There is usually only one instance created in a session. I tested the patch manually in both shell and editor with both the default prompt and with sys.ps1 set before importing idlelib.idle. Beginning to

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4109 stage: commit review -> patch review ___ Python tracker <https://bugs.python.org/issue31858> ___ ___ Python-

[issue31860] IDLE: Make font sample editable

2017-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the patch. Adding the feature is somehow easier than I expected. After moving the sample text to module level, which I considered doing before, saving edits for the duration of an IDLE session turned out to also be easy. With 11 point Lucida

[issue31860] IDLE: Make font sample editable

2017-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, thanks for explaining, in part, why I don't want to do this ;-). Using the the current .def, .cfg system would mean that the default sample would be frozen. I want to be able to change it. -- ___ P

[issue31860] IDLE: Make font sample editable

2017-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ed6554c487fb2403bc88be6deee611c7a4171d33 by Terry Jan Reedy (Serhiy Storchaka) in branch 'master': bpo-31860: Make the font sample in the IDLE font configuration dialog editable. (#4106) https://github.com/python/cpyt

[issue31860] IDLE: Make font sample editable

2017-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6a2957de08e0c2d73f3124d12874b408cda4633d by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': bpo-31860: Make the font sample in the IDLE font configuration dialog editable. (GH-4106) (#4154) https://github.com/python/cpyt

[issue31860] IDLE: Make font sample editable

2017-10-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -4123 ___ Python tracker <https://bugs.python.org/issue31860> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31860] IDLE: Make font sample editable

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

[issue13657] IDLE doesn't recognize resetting sys.ps1.

2017-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The part about startup files in my last message is probably wrong. If one starts IDLE by 'import idlelib.idle' after setting 'sys.ps1 = 'me ', then the setting is recognized. However, a startup file that runs in the user process w

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -4108 ___ Python tracker <https://bugs.python.org/issue31858> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

2017-10-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -4109 ___ Python tracker <https://bugs.python.org/issue31858> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31858] IDLE: cleanup use of sys.ps1 and never set it.

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

[issue31836] test_code_module fails after test_idle

2017-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5a4bbcd479ce86f68bbe12bc8c16e3447f32e13a by Terry Jan Reedy in branch 'master': bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (#4070) https://github.com/python/cpython/commit/5a4bbcd479ce86f68bbe12bc8c16e3

[issue31836] test_code_module fails after test_idle

2017-10-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8ed5644f78e57cd59813097b35906ad6f1775f95 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (GH-4070) (#4156) https://github.com/python/cpyt

[issue31836] test_code_module fails after test_idle

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

[issue31860] IDLE: Make font sample editable

2017-10-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -4125 ___ Python tracker <https://bugs.python.org/issue31860> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20047] bytearray partition bug

2017-10-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: To answer Mark, even though no longer nosy: In general, sequence methods .count, .index, and .__contains__ take sequence members and only members as arguments. Unicode sequences are exceptional because codepoints are not Python objects, so string

[issue23551] IDLE to provide menu link to PIP gui.

2017-10-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: For this idea to be revived, someone should write a PEP and open a new issue. -- ___ Python tracker <https://bugs.python.org/issue23

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

2017-11-02 Thread Terry J. Reedy
New submission from Terry J. Reedy : If one enters text in Shell after a '>>> ' prompt, Home should initially send the cursor between the prompt and entered text and then to the beginning of the line, and so on as a toggle. On all current releases (and the final 3.5.4), o

[issue3851] IDLE: Pressing "Home" on Windows places cursor before ">>>" instead of after. Solution offered.

2017-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem is back, at least on Windows, in 2.7.14, 3.5.4, 3.6.3, and 3.7.0. Numlock has no effect. I open #31930 for this. -- resolution: accepted -> fixed stage: -> resolved ___ Python tracker

[issue31889] difflib SequenceMatcher ratio() still have unpredictable behavior

2017-11-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +tim.peters versions: +Python 3.7 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue31889> ___ ___ Python-bug

[issue31895] Native hijri calendar support

2017-11-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Haneef, thank you for the explanation. Any such addition would need a PEP. But I agree with Marc-Andre that supporting the multitude of calendars is out of scope for the stdlib. So I suspect such a PEP would be rejected, with the suggestion already given

[issue31896] In function define class inherit ctypes.structure, and using ctypes.pointer leak memory

2017-11-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The tracker is for patching CPython. Please consider closing this and asking your question on python-list. When you post code, do so only once, and without line numbers, so it can be copied and run as is. Do include data on the ref leaks. -- nosy

[issue31904] Python should support VxWorks RTOS

2017-11-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The following might be relevant to this issue: https://www.python.org/dev/peps/pep-0011/#supporting-platforms -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue31

[issue31415] Add -X option to show import time

2017-11-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: > `PYTHONPROFILEIMPORTTIME=x python` isn’t *too* onerous It does not work on Windows. C:\Users\Terry>PYTHONPROFILEIMPORTTIME=x python 'PYTHONPROFILEIMPORTTIME' is not recognized as an internal or external command, operable program or batch fi

[issue31415] Add -X option to show import time

2017-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: > with environment variable you get more information. For timing package import time, such as for idlelib.pyshell, rather than bare python startup time, the extra information is just a bit more noise to ignore. The importtime output is sent to std

[issue31974] Cursor misbahavior with Tkinter 3.6.1/tk 8.5 Text on Mac Sierra

2017-11-07 Thread Terry J. Reedy
New submission from Terry J. Reedy : MacOS Sierra 10.12.6, Python 3.6.1, tk 8.5.15 or .18. Consider this code with arbitrary compound statements and therefore indented lines. for i in range(10): if i%2: print(f(i)) Irv Kalb on idle-dev thread 'Bug in cursor placement in

[issue31971] idle_test: failures on x86 Windows7 3.x

2017-11-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +4286 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31971> ___ ___ Py

[issue31971] idle_test: failures on x86 Windows7 3.x

2017-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The failure in tearDownClass is a side-effect of the failure in test_set_keys causing 'p.set_keys_type = Func' being skipped. That could be prevented with 'try:finally: p.set_keys_type = Func'. I am completely puzzled at the sudden fa

[issue31971] idle_test: failures on x86 Windows7 3.x

2017-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: In build 129, which finished perhaps 3 hours ago, test_idle passed again. I think we should merge the fix anyway in case 'hover' appears again on some machine. A similar try:except is needed

[issue31974] Cursor misbahavior with Tkinter 3.6.1/tk 8.5 Text on Mac Sierra

2017-11-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.7.0a2 is out now. There will be an .0a3, .0a4, then .0b1 in January. Ned is saying that at least the last of these will be compiled to work with 8.6. Once that occurs, I would switch as most of the remaining changes before the .0 release will be fixes

[issue32022] Python crashes with mutually recursive code

2017-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The RESTART line means that you ran this in IDLE and that your program crashed the separate (sub)process that was running your code. When IDLE notices this, it starts a new subprocess. To test whether this is an IDLE-only problem, I ran your code without

[issue32022] Python crashes with mutually recursive code

2017-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is possible that this is a duplicate of an existing crash report, but I am not familiar with such at all. With only the standard, non-specific error message, it is hard to search ;-). What OS are you using

[issue32022] Python crashes with mutually recursive code

2017-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe I used the 2nd version of kakuru.py. -- ___ Python tracker <https://bugs.python.org/issue32022> ___ ___ Python-bug

[issue32050] Deprecated python3 -x option

2017-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: So the hack is not specific to DOS but is still needed for Windows .bat files. They run in Command Prompt, which was once called the DOS box. (I don't know if they work unaltered in PowerShell.) It seems that the doc should be updated. --

[issue32022] Python crashes with mutually recursive code

2017-11-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: PS. When you respond by EMail, please delete the quoted message, as it is redundant, on the web page, with the original copy above. -- ___ Python tracker <https://bugs.python.org/issue32

[issue32050] Fix -x option documentation

2017-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't know either. Once of the Windows experts should review and revise. -- ___ Python tracker <https://bugs.python.org/is

[issue32099] Use range in itertools roundrobin recipe

2017-11-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : The itertools roundrobin recipe has an outer loop executed a preset number of times. It is currently implemented with two assignments and a while loop. https://docs.python.org/3/library/itertools.html#itertools-recipes These can be replaced with a for loop

[issue32100] IDLE: PathBrowser isn't working

2017-11-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Error is printed in console window if IDLE started from one. >>> import idlelib.idle # Select pathbrowser in File menu Exception in Tkinter callback Traceback (most recent call last): File "F:\dev\3x\lib\tkinter\__init__.py", line 1699, in

[issue32100] IDLE: PathBrowser isn't working

2017-11-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The issue is this: 1. PathBrowser subclasses ModuleBrowser. 2. ModuleBrowser.init() has the common code for initializing both. 3. #31460 changed the signature of ModuleBrowser.__init__ *and* .init. 4. I must not have tested pathbrowser after the .init change

[issue32022] Python crashes with mutually recursive code

2017-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I confirmed that increasing the recursion limit can change recursion behavior on Windows. >>> def f(): g() ... >>> def g(): f() ... >>> f() With the default limit or 1000 or increase to 3000, I get a recursion error. With th

[issue32100] IDLE: PathBrowser isn't working

2017-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: The reason double-clicking got worse from 3.6.3 to now is this. Previously, browser.ModuleBrowserTreeItem.OnDoubleClick ignored the file_open global (set to pyshell.flist.open in .__init__) and called pyshell.flist.open. The Class and Method OnDoubleClick

[issue32100] IDLE: PathBrowser isn't working

2017-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 20d48a44a54ed5e4a6df00e89ae27e3983128265 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-32100: IDLE: Fix pathbrowser errors; improve tests. (#4484) https://github.com/python/cpython/commit/20d48a44a54ed5e4a6df00e89ae27e

[issue32100] IDLE: PathBrowser isn't working

2017-11-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4449 ___ Python tracker <https://bugs.python.org/issue32100> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32100] IDLE: PathBrowser isn't working

2017-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ae3c5c7b9e5e5ba53213e12cc100e32415d5762c by Terry Jan Reedy in branch '3.6': [3.6] bpo-32100: IDLE: Fix pathbrowser errors; improve tests. (GH-4484) (#4512) https://github.com/python/cpython/commit/ae3c5c7b9e5e5ba53213e12cc100e3

[issue32100] IDLE: PathBrowser isn't working

2017-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for catching and fixing this. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32080] Re locale test fails after installing Python 3.6.3 on ubuntu 16.04

2017-11-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Installation, Library (Lib) -2to3 (2.x to 3.x conversion tool) nosy: +serhiy.storchaka title: Error Installing Python 3.6.3 on ubuntu 16.04 -> Re locale test fails after installing Python 3.6.3 on ubuntu 16.04 type: resource usage -> be

[issue32097] doctest does not consider \r\n a

2017-11-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.4, Python 3.5, Python 3.8 ___ Python tracker <https://bugs.python.org/issue32097> ___ ___ Python-bugs-list m

[issue32123] Make the API of argparse.HelpFormatter public

2017-11-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suggest that you open a thread on python-ideas list: something like 'Make argparse.HelpFormatter public'. Explain what you would like to have happen and why. -- nosy: +terry.reedy ___ Python track

[issue32129] Icon on macOS

2017-11-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here is the current code in idlelib.pyshell.main. # set application icon icondir = os.path.join(os.path.dirname(__file__), 'Icons') if system() == 'Windows': iconfile = os.path.join(icondir, 'idle.ico')

[issue32129] Icon on macOS

2017-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, do you agree that simply changing 'else' to 'elif not macosx.isAquaTk()' is the best resolution? Backporting such a change to 3.6 would be trivial; to 2.7, not. Is there any need for the latter? Kevin, thanks

[issue32134] Crash on OSX

2017-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a duplicate of previous reports. The problem, visible in the crash report, is that you are using the buggy Apple installed tcl/tk 8.5.9 and missed the upgrade instructions on https://www.python.org/download/mac/tcltk/ Ned, the web page implies that

[issue32118] Doc for comparison of sequences with non-orderable elements

2017-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Raymond, I wrote this before reading your message, but I believe it provides what you requested. There is nothing special about None that is relevant to sequence comparison. Nans just happen to be the only built-in non-reflexive objects (that I know of

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2017-11-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue13

[issue32140] IDLE debugger fails with non-trivial __new__ super call

2017-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not a crash because IDLE does not crash. It does not even exit with a traceback. Some crash and freeze bugs have been fixed since 3.4.2. I verified with 3.7.0a2 on Win10. The failing example can be simplified to the first two lines. Step over the

<    67   68   69   70   71   72   73   74   75   76   >