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
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
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
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: +
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
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
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
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
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
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
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
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
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
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
Changes by Terry J. Reedy :
--
dependencies: +IDLE: configdialog - add tests for ConfigDialog GUI.
___
Python tracker
<http://bugs.python.org/issue30851>
___
___
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
Changes by Terry J. Reedy :
--
pull_requests: +2645
___
Python tracker
<http://bugs.python.org/issue21624>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Changes by Terry J. Reedy :
--
pull_requests: +2646
___
Python tracker
<http://bugs.python.org/issue30777>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
pull_requests: +2647
___
Python tracker
<http://bugs.python.org/issue30777>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
pull_requests: +2648
___
Python tracker
<http://bugs.python.org/issue21624>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
pull_requests: +2649
___
Python tracker
<http://bugs.python.org/issue30777>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
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
Changes by Terry J. Reedy :
--
Removed message: http://bugs.python.org/msg297751
___
Python tracker
<http://bugs.python.org/issue6691>
___
___
Python-bugs-list m
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
Changes by Terry J. Reedy :
--
Removed message: http://bugs.python.org/msg297741
___
Python tracker
<http://bugs.python.org/issue30777>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
Unlinked bogus revert message. configdialog still has new docstrings.
--
___
Python tracker
<http://bugs.python.org/issue30
Changes by Terry J. Reedy :
--
versions: +Python 3.7
___
Python tracker
<http://bugs.python.org/issue30777>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
Removed message: http://bugs.python.org/msg297740
___
Python tracker
<http://bugs.python.org/issue21624>
___
___
Python-bugs-list m
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
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
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
Changes by Terry J. Reedy :
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
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
Changes by Terry J. Reedy :
--
pull_requests: +2673
___
Python tracker
<http://bugs.python.org/issue30780>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
PR to fix type in moduleTearDown.
--
___
Python tracker
<http://bugs.python.org/issue30780>
___
___
Python-bugs-list mailin
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
Changes by Terry J. Reedy :
--
pull_requests: +2677
___
Python tracker
<http://bugs.python.org/issue30779>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Terry J. Reedy :
--
pull_requests: +2678
___
Python tracker
<http://bugs.python.org/issue30780>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
Changes by Terry J. Reedy :
--
pull_requests: +2691
___
Python tracker
<http://bugs.python.org/issue30779>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: test needed -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Terry J. Reedy added the comment:
30779 was merged and backported today.
--
___
Python tracker
<http://bugs.python.org/issue27099>
___
___
Python-bugs-list mailin
Changes by Terry J. Reedy :
--
nosy: +michael.foord
___
Python tracker
<http://bugs.python.org/issue30821>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
pull_requests: +2693
___
Python tracker
<http://bugs.python.org/issue30779>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
--
Changes by Terry J. Reedy :
--
pull_requests: +2694
___
Python tracker
<http://bugs.python.org/issue8231>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Terry J. Reedy added the comment:
Closed #13220 as duplicate of this.
--
___
Python tracker
<http://bugs.python.org/issue11820>
___
___
Python-bugs-list mailin
Changes by Terry J. Reedy :
--
pull_requests: +2695
___
Python tracker
<http://bugs.python.org/issue30779>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue30823>
___
___
Python-bugs-list
Changes by Terry J. Reedy :
--
stage: -> test needed
___
Python tracker
<http://bugs.python.org/issue30825>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
Changes by Terry J. Reedy :
--
pull_requests: +2696
___
Python tracker
<http://bugs.python.org/issue8231>
___
___
Python-bugs-list mailing list
Unsubscribe:
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.
?
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
Changes by Terry J. Reedy :
--
nosy: +benjamin.peterson, brett.cannon, ncoghlan, yselivanov
___
Python tracker
<http://bugs.python.org/issue30841>
___
___
Pytho
Changes by Terry J. Reedy :
--
nosy: +ezio.melotti, michael.foord, rbcollins
___
Python tracker
<http://bugs.python.org/issue30856>
___
___
Python-bugs-list mailin
Changes by Terry J. Reedy :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue30859>
___
___
Changes by Terry J. Reedy :
--
stage: -> patch review
type: -> enhancement
versions: +Python 3.6
___
Python tracker
<http://bugs.python.org/issue30870>
___
__
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
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
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
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
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
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
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
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
Changes by Terry J. Reedy :
--
pull_requests: +2705
___
Python tracker
<http://bugs.python.org/issue30870>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
Changes by Terry J. Reedy :
--
pull_requests: +2714
___
Python tracker
<http://bugs.python.org/issue30851>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Changes by Terry J. Reedy :
--
dependencies: +IDLE: configdialog/fonts: change font when select by key up/down
___
Python tracker
<http://bugs.python.org/issue30
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
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
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
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
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
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
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
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
5201 - 5300 of 13135 matches
Mail list logo