[issue30809] IDLE parenmatch - highlighting options

2017-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is another option. I want to incorporate 'builtin extensions' as regular features (#27099), and move their configuration options to other tabs, which will need some reworking. #22705 will then be less urgent. Selection from a finite set wi

[issue30791] tkinter.Tk() adds suffix to window class name when launching multiple instances

2017-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: > tkinter has added a #2 I think you yourself proved otherwise. Additional evidence is that ' #2' is not added on Windows. I have 3 windows titled 'myApp' stacked behind my installed python/IDLE icon. root.winfo_class() returns the clas

[issue30803] Truth value of sets not properly documented

2017-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. You have to go to your profile page https://bugs.python.org/user26480 and add your GitHub name in the GitHub Name box. 2. A committer has to change the labels to trigger the robot to recheck. I did that but it did not work because of 1. As I said in my

[issue27099] IDLE: turn builting extensions into regular modules

2017-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am thinking that we should maybe add an 'Editor' tab. Or we could expand the dialog box. More room on General tab can be obtained by removing the label frames, or at least the labels, which seem a bit redundant. -- versions: +

[issue30809] IDLE parenmatch - highlighting options

2017-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since configdialog code is being re-written, I would not want to write code right now. But we could start planning. -- dependencies: +IDLE: turn builting extensions into regular modules ___ Python tracker <h

[issue27099] IDLE: turn builting extensions into regular modules

2017-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This has to wait for at least some of the refactoring and increased testing of configdialog, and maybe for the switch to ttk. -- dependencies: +IDLE: configdialog - add tests for ConfigDialog GUI., IDLE: configdialog -- factor out Changes class, IDLE

[issue27425] Tests fail because of git's newline preferences on Windows

2017-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is still the problem with test_winreg freezing CommandPrompt, #30715. For me, this is the worst test bug ever. -- ___ Python tracker <http://bugs.python.org/issue27

[issue30715] Test_winreg, test_dynamic_key hangs on my Win 10

2017-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just found -x test_winreg so I can run the test suite while waiting for this to be fixed. -- ___ Python tracker <http://bugs.python.org/issue30

[issue30495] IDLE: modernize textview module

2017-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was trying to think of 2 possible future uses of ViewFrame in addition to current embedding in in ViewWindows: embedded in a tab, and tiled in a panel. With no window close [X] buttom, the button in a frame will be needed, so I left it. Since the button

[issue6691] Support for nested classes and function for pyclbr

2017-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 246ff3bd00f97658e567a7087645a6b76e056491 by terryjreedy (csabella) in branch 'master': bpo-6691: Pyclbr now reports nested classes and functions. (#2503) https://github.com/python/cpython/commit/246ff3bd00f97658e567a7087645a6

[issue6691] Support for nested classes and function for pyclbr

2017-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Test_pyclbr could improve. There are notes on the PR for a new issue for that. If I find that further change is needed after applying to IDLE's module browser, #1612262, that will be another new issue. -- resolution: -> fixed stage: tes

[issue27636] Refactor IDLE htest

2017-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Htest should extract version from __file__, and module from spec, and display both. -- versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/issue27

[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current htest issues from this and two other issues, notes, and running htests with htest.py. (Default master window placement is ok. Can move.) h1. At least one test window overlaps the test window. Others are not centered (y-position). Fix by passing

[issue30851] IDLE: configdialog -- fix tkinter Variables

2017-07-04 Thread Terry J. Reedy
New submission from Terry J. Reedy: As part of #30777, Cheryl Sabella listed Variables defined for a tab page, and the use thereof, in the docstring for the tab page. This revealed some anomalies. Duplicate: font_name is defined on font and highlight pages. The first StringVariable should

[issue30851] IDLE: configdialog -- fix tkinter Variables

2017-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +IDLE: configdialog - add tests for ConfigDialog GUI. ___ Python tracker <http://bugs.python.org/issue30851> ___ ___

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7eb5883ac59833bf63f0e1f7fb95671a1ac1ee08 by terryjreedy (csabella) in branch 'master': bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440) https://github.com/python/cpython/commit/7eb5883ac59833bf63f0e1f7fb9567

[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2645 ___ Python tracker <http://bugs.python.org/issue21624> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2000150c569941584994ec4ec59171961209bec3 by terryjreedy in branch 'master': bpo-21624: IDLE -- minor htest fixes (#2575) https://github.com/python/cpython/commit/2000150c569941584994ec4ec59171

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2646 ___ Python tracker <http://bugs.python.org/issue30777> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2647 ___ Python tracker <http://bugs.python.org/issue30777> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2648 ___ Python tracker <http://bugs.python.org/issue21624> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2649 ___ Python tracker <http://bugs.python.org/issue30777> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e5bb112ba2048cb3ea19481a7b38fe1433c5a7ef by terryjreedy in branch '3.6': [3.6] bpo-30777: IDLE: configdialog - add docstrings and improve comments (GH-2440) (#2577) https://github.com/python/cpyt

[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1278d29000794085f1d9e25f2dadbf70b9076e30 by terryjreedy in branch '3.6': [3.6] bpo-21624: IDLE -- minor htest fixes (GH-2575) (#2578) https://github.com/python/cpython/commit/1278d29000794085f1d9e25f2dadbf

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue30853] IDLE: configdialog -- factor out Variable subclass

2017-07-04 Thread Terry J. Reedy
New submission from Terry J. Reedy: configdialog.ConfigDialog creates about 20 tk Variables corresponding to configuration options. It defines a var_changed_xyz callback for each xyz variable. 6 have a common template. ConfigDialog turns tracing on in attach_var_callbacks and off in

[issue6691] Support for nested classes and function for pyclbr

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg297751 ___ Python tracker <http://bugs.python.org/issue6691> ___ ___ Python-bugs-list m

[issue6691] Support for nested classes and function for pyclbr

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unlinked bogus revert message. I checked the file and it has the new function. -- ___ Python tracker <http://bugs.python.org/issue6

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg297741 ___ Python tracker <http://bugs.python.org/issue30777> ___ ___ Python-bugs-list m

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unlinked bogus revert message. configdialog still has new docstrings. -- ___ Python tracker <http://bugs.python.org/issue30

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/issue30777> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21624] Idle: Improve htests

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg297740 ___ Python tracker <http://bugs.python.org/issue21624> ___ ___ Python-bugs-list m

[issue20042] Python Launcher, Windows, fails on scripts w/ non-latin names

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this still relevant or should it be closed? On Win10, I created a short script юникод.py using Save As from IDLE. py -2 юникод.py produces C:\Programs\Python27\python.exe: can't open file '??.py': [Errno 22] Invalid argument If the patc

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: To get moving and unblock other issues, I decided to start with the simplest not-bad change that will work. The factored out code belongs in config.py. This will separate integration with ConfigDialog into 2 steps. 1. Add code and tests to config and

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Comments on difficulties and questions. D1. I will look at test changes where there is a PR to run. I wrote what you changed, but might not have considered what you did. D2. Moot for the moment. D3. Ditto. D4. If not needed, skip for now. D5. I will be more

[issue20042] Python Launcher, Windows, fails on scripts w/ non-latin names

2017-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am working on this now. -- ___ Python tracker <http://bugs.python.org/issue30779> ___ ___ Python-bugs-list mailing list Unsub

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-07-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2673 ___ Python tracker <http://bugs.python.org/issue30780> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR to fix type in moduleTearDown. -- ___ Python tracker <http://bugs.python.org/issue30780> ___ ___ Python-bugs-list mailin

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 25a4206c243e3b1fa6f5b1c72a11b409b007694d by terryjreedy in branch 'master': bpo-30780: Fix error in idlelib.test_idle.test_configdialog (#2606) https://github.com/python/cpython/commit/25a4206c243e3b1fa6f5b1c72a11b4

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2677 ___ Python tracker <http://bugs.python.org/issue30779> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I posted PR 2612 for #30779 and expect to merge it tomorrow after sleep and final review. It includes passing revisions of existing configdialog tests. A PR dependent on 2612 could be posted before I do the merge. Follow the model of using xyzpage names in

[issue30868] IDLE: Improve configuration tests with mock Save.

2017-07-06 Thread Terry J. Reedy
New submission from Terry J. Reedy: When writing tests for config and configdialog, I blocked the user configs from hitting the filesystem by passing '' as the file name. This disables the Save function. To know that Save is called, a mock is needed. To know what would have been

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-07-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2678 ___ Python tracker <http://bugs.python.org/issue30780> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset df0f99329843c10701ffaefbd3948ac698c12220 by terryjreedy in branch '3.6': [3.6] bpo-30780: Fix error in idlelib.test_idle.test_configdialog (GH-2606) (#2613) https://github.com/python/cpython/commit/df0f99329843c10701ffaefbd3948a

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whoops, we seems to have partly overlapped (and made some of the same changes). I plan to push my PR sometime tomorrow (it also changes configdialog and revised tests) after looking as yours. Then move on to adding config tests, #30780. The tests for

[issue30869] regrtest: Add .idlerc to saved_test_environment

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would have liked the mistake in #30780 to have been noticed, but I don't think the patch would have caught it. What I failed to restore was an in memory date structure that is part of the config module. The patch seems to be concerned only wit

[issue24845] IDLE functional/integration testing

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have accepted what I think is the core idea -- testing functional pathways starting with user actions instead or in addition to pure unit tests. For instance, test_configdialog.GeneralTest (newly revised in PR 2612) invokes buttons and inserts entries

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 349abd9e37dfdc077bc21f19e6ed2292c767f0e8 by terryjreedy in branch 'master': bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test. (#2612) https://github.com/python/cpyt

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2691 ___ Python tracker <http://bugs.python.org/issue30779> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset edc034221f878b437748cef0f05c782d8190499d by terryjreedy in branch '3.6': [3.6] bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test. (GH-2612) (#2625) https://github.com/python/cpyt

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, thank you for reviewing. I am answering the question about #30868 on that issue. I did not want to immediately test user parser Save() calls in the .save_all test for two reasons. 1. I want to first reconsider the general question what to do about

[issue8231] Unable to run IDLE without write-access to home directory

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: > GetUserCfgDir() is called in three places, (buried in one of Mark's posts). > On the fact of it, this seems like something that should be fixed. -- ___ Python tracker <http://bugs.python

[issue8231] Unable to run IDLE without write-access to home directory

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: My second patch did fix that. I think I will extract that part immediately. -- ___ Python tracker <http://bugs.python.org/issue8

[issue30869] regrtest: Add .idlerc to saved_test_environment

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current tests do not write anything. But IDLE currently requires the existence of .idlerc to run, and tries to write it if not found. Changing this requirement without disabling multiple features would not be trivial. On possibility might be to replace

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue27099] IDLE: turn builting extensions into regular modules

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 30779 was merged and backported today. -- ___ Python tracker <http://bugs.python.org/issue27099> ___ ___ Python-bugs-list mailin

[issue30821] unittest.mock.Mocks with specs aren't aware of default arguments

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +michael.foord ___ Python tracker <http://bugs.python.org/issue30821> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2693 ___ Python tracker <http://bugs.python.org/issue30779> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 24f2e19d68cc6ca563d2be5944d11d5f55a46918 by terryjreedy in branch 'master': bpo-30779: News (#2627) https://github.com/python/cpython/commit/24f2e19d68cc6ca563d2be5944d11d5f55a46918 --

[issue8231] Unable to run IDLE without write-access to home directory

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2694 ___ Python tracker <http://bugs.python.org/issue8231> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13220] print function unable while multiprocessing.Process is being run

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> idle3 shell os.system swallows shell command output ___ Python tracker <http://bugs.python

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

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closed #13220 as duplicate of this. -- ___ Python tracker <http://bugs.python.org/issue11820> ___ ___ Python-bugs-list mailin

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2695 ___ Python tracker <http://bugs.python.org/issue30779> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30823] os.startfile("") craches Python 2.7, 3.4 in Windows 7 32 bit in ConEmu 161002 [32]

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue30823> ___ ___ Python-bugs-list

[issue30825] csv.Sniffer does not detect lineterminator

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed ___ Python tracker <http://bugs.python.org/issue30825> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue30779] IDLE: configdialog -- factor out Changes class

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9d8abf31c430dd83d073660cc92f1fe4ca6f2cd4 by terryjreedy in branch '3.6': [3.6] bpo-30779: News (GH-2627) (#2630) https://github.com/python/cpython/commit/9d8abf31c430dd83d073660cc92f1f

[issue8231] Unable to run IDLE without write-access to home directory

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 223c7e70e48eb6eed4aab3906fbe32b098faafe3 by terryjreedy in branch 'master': bpo-8231: Call idlelib.IdleConf.GetUserCfgDir only once. (#2629) https://github.com/python/cpython/commit/223c7e70e48eb6eed4aab3906fbe32

[issue8231] Unable to run IDLE without write-access to home directory

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2696 ___ Python tracker <http://bugs.python.org/issue8231> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30826] More details in reference 'Looping through a list in Python and modifying it'

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you looking for something like: Let it = iter(words). When next(it) returns 'defenestrate', insertion at the beginning moves the original 'defenestrate' over so that next(words) returns 'defenestrate' again. ?

[issue8231] Unable to run IDLE without write-access to home directory

2017-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 552f26680d3806df7c27dd7161fd7d57ac815f78 by terryjreedy in branch '3.6': [3.6] bpo-8231: Call idlelib.IdleConf.GetUserCfgDir only once. (GH-2629) (#2631) https://github.com/python/cpython/commit/552f26680d3806df7c27dd7161fd7d

[issue30841] A shadowing variable naming emitted for Python-ast.c

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +benjamin.peterson, brett.cannon, ncoghlan, yselivanov ___ Python tracker <http://bugs.python.org/issue30841> ___ ___ Pytho

[issue30856] unittest.TestResult.addSubTest should be called immediately after subtest finishes

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker <http://bugs.python.org/issue30856> ___ ___ Python-bugs-list mailin

[issue30859] Can't install Python for Windows 3.6.1 on multiple profiles

2017-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue30859> ___ ___

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review type: -> enhancement versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue30870> ___ __

[issue30868] IDLE: Improve configuration tests with mock Save.

2017-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Very helpful. Is there a git equivalent to hg annotate, or did you have to trudge through the commit log? -- ___ Python tracker <http://bugs.python.org/issue30

[issue8231] Unable to run IDLE without write-access to home directory

2017-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: #27534 is about reducing the imports into the user runcode process. Without rechecking the reason for each import, I think it possible that this might result in config not being indirectly imported. -- dependencies: +IDLE: Reduce number and time for

[issue30868] IDLE: Improve configuration tests with mock Save.

2017-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue began with #27173 which added test_config with CurrentColorKeysTest to test the new IdleConf.current_colors_and_keys. Those tests never called any user parser.Save, but I knew I had to remove the possibility that any future test would touch

[issue30869] regrtest: Add .idlerc to saved_test_environment

2017-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: #27534 is about reducing run's imports. I believe that the current patch may remove one path by which config is indirectly imported. While writing msg297983 of #30868, I remembered that config files are not the only files put in .idlerc. So a soluti

[issue24845] IDLE functional/integration testing

2017-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: A different take on the proposal: A functional integration test for IDLE should open IDLE, rename .idlerc, open a new file, insert some text, and, for instance, at some point open the options dialog for testing. As part this, the font face change would

[issue24845] IDLE functional/integration testing

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: To clarify the 'tk introspection' I did not like was asking a widget for its children, getting a list of tk ids, and then testing the widgets by id. I prefer keeping and and directly using a python reference. I was not referring querying a widg

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset bb2bae84d6b29f991b757b46430c3c15c60059e9 by terryjreedy (Louie Lu) in branch 'master': bpo-30870: IDLE: Change sample font when select by key-up/down (#2617) https://github.com/python/cpython/commit/bb2bae84d6b29f991b757b46430c3c

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: If one scrolls with the mousewheel or scrollbar, the selection does not change and the example should not change, and I presume it will not with the patch. If one presses up or down, the selection does change, just as if one clicked, and the example should

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2705 ___ Python tracker <http://bugs.python.org/issue30870> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7ab334233394070a25344d481c8de1402fa12b29 by terryjreedy in branch '3.6': [3.6] bpo-30870: IDLE: Change sample font when select by key-up/down (GH-2617) (#2640) https://github.com/python/cpython/commit/7ab334233394070a25344d481c8de1

[issue24845] IDLE functional/integration testing

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem with this proposal, and with writing complete unittests, is that event_generate seems to be badly broken. I have spent hours doing experiments that mostly fail. I have read Stackoverflow questions and there seems to be no dependable rule for

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: We already know that setting StringVar font_name triggers a change to changes. We also know that manually clicking or Up or Down triggers <>, which sets font_name and redraws the box. The challenge is to do something that will trigger the virtual

[issue30851] IDLE: configdialog -- fix tkinter Variables

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: After wresting with a test for #30870, I am not sure we will ever have the full tests I would like. Anyway, I concluded that the replacement of font_name is a bug. It did not matter because all pages are created before configuration is read. If any of

[issue30851] IDLE: configdialog -- fix tkinter Variables

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset aa8d0a24694bea05061f1920ec3f944a9e6799d5 by terryjreedy (csabella) in branch 'master': bpo-30851: IDLE: Remove unused tk variables in configdialog. (#2626) https://github.com/python/cpython/commit/aa8d0a24694bea05061f1920ec3f94

[issue30851] IDLE: configdialog -- fix tkinter Variables

2017-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2714 ___ Python tracker <http://bugs.python.org/issue30851> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, I tried tkinter.test.support.simulate_mouse_click to test this patch but it seems not to work. Code at end of previous message. Any idea on how to fix? -- nosy: +serhiy.storchaka stage: patch review -> test nee

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +IDLE: configdialog/fonts: change font when select by key up/down ___ Python tracker <http://bugs.python.org/issue30

[issue30851] IDLE: configdialog -- fix tkinter Variables

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8e3f73e5499a5bc575a5e7ad4ee0f16b1aaae829 by terryjreedy in branch '3.6': [3.6] bpo-30851: IDLE: Remove unused tk variables in configdialog. (GH-2626) (#2648) https://github.com/python/cpython/commit/8e3f73e5499a5bc575a5e7ad4ee0f1

[issue30851] IDLE: configdialog -- fix tkinter Variables

2017-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: -IDLE: configdialog - add tests for ConfigDialog GUI. resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue20917] Idle: Enhance font change notification system

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe I saw somewhere that the 'somehow' in the opening post is looping through the windows listed under the Window tab. This issue was inspired by #17642, which allows hotkeys (^-, ^+) and wheel to change font size in editor window. If the s

[issue27755] Retire DynOptionMenu with a ttk Combobox

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I did more experiments with DOM (DynamicOptionMenu) and Combobox (CB). This was partly to evaluate CB as replacement for DOM for font size; partly to consider CB for the font list. At least by default, both start closed. Font list should start open. CB

[issue24776] IDLE: Improve config dialog font change user interface

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Make this the master issue for improving the font tab user interface by improving components and rearranging them. With basic tests done, I am moving this up in priority. Related issues currently open. #30870 (dependency) made Up/Down change font selection

[issue30803] Truth value of sets not properly documented

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Responding here to Peter's PR comment. Peter opened this issue with the claim that the doc failed a specific test case-- document the truth value of set(). Since mappings are (or can be viewed as) a specialized type of set, I always considered tha

[issue30890] Comment error in Korean language

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you actually test on 3.7? If you did, and got different results, then this is not an IDLE issue, as it is unchanged in 3.7. This might be a tcl/tk issue rather than IDLE issue. -- ___ Python tracker <h

[issue30890] Comment error in Korean language

2017-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I can seen that the last char is not colored correctly, but not that it is small. The white pixels seems to comprise a character that is about as big as the others. But I don't know Hangul chars. What version of Tk (see Help => About IDLE), and

<    48   49   50   51   52   53   54   55   56   57   >