Terry J. Reedy added the comment:
This affects the popup tool tip in IDLE also. Raymond, am I correct in
thinking that the labels appearing in dialogs (Preferences, Search) still work?
A IDLE tool tip is a Toplevel. Its parent is a Text widget. It contains a
non-blank Label widget. It is
Terry J. Reedy added the comment:
#33429, now closed, is Raymond's report about IDLE tooltips not working in
2.7.15, released earlier this week, after working in 2.7.14.
--
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
When I closed the main thread by clicking [x], thus destroying root, both event
threads raised instead of hanging. So my experiment involved calling
root.destroy instead of setting running to False. The better result when
running under IDLE might be due to
Terry J. Reedy added the comment:
This issue was effectively reopened by #33257, with altered versions of
TkinterCrash2-2. Serhiy's original thereof fails for me on 2.7.15. I will put
details on the new issue.
--
___
Python tracker
&
Terry J. Reedy added the comment:
This issue is effectively a re-opening and continuation of #11077.
TkinterCrash2(3)-2.py are altered versions of Serhiy's file of the same name on
the old issue. (Ivan, you really should have said all this at the beginning of
this issue.)
Serhiy
Terry J. Reedy added the comment:
Without thread support, event generation from multiple threads fails
immediately. I tried an experiment with callback scheduling. It seems to work
-- almost.
thread_event.py runs on 2.7 with non-t tcl. It modifies TkinterHandlres32.py
by replacing
Terry J. Reedy added the comment:
In re-verifying #27675, the color bug seems to be gone. The completion bug is
still here, at least on Windows.
It would be good to sort the issues by whether they appear to affect
autocomplete.py or autocomplete_w.py or both.
--
nosy: +csabella
Terry J. Reedy added the comment:
I believe the report in August 2016 was about the time of the preliminary.0a4
release, months before the final 3.6.0 release. Something could have easily
changed after.
I should have been more detailed and accurate is what I wrote. In paragraph 2,
I said
Terry J. Reedy added the comment:
Testing undocumented issue.message reference I remember seeing somewhere:
#11077.msg183774, #11077.183774
--
___
Python tracker
<https://bugs.python.org/issue30
Terry J. Reedy added the comment:
I was looking for a way to link to a message in the context of an issue rather
that on a page by itself. Neither worked.
--
___
Python tracker
<https://bugs.python.org/issue30
New submission from Terry J. Reedy :
(Proposed patch below)
Library Reference Chapter 25, Graphical User Interfaces with Tk, covers tinter,
some of its subpackages, and IDLE. The introduction,
https://docs.python.org/3/library/tk.html states "the internal module _tkinter
provi
Terry J. Reedy added the comment:
In the message above, I asked "why this code runs in 3.x but eventually fails
in 2.x?". The answer is almost certainly that I used 3.5 with tk 8.6 compiled
*with* thread support and 2.7 with tk 8.5 compiled without thread support.
Serhiy, if
Terry J. Reedy added the comment:
The information missing from this issue is that tcl and tk can be compiled
without and with thread support, and that the latter became default in 8.6,
which is included with recent 3.x versions. Hence the launch example, as
posted on #33257, works for me in
Terry J. Reedy added the comment:
The information about the compile option comes from Ivan Pozdeev, #33257. I
meant to add somewhere that thread support became default only with tk 8.6.
--
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
I opened #33479 Document tkinter and threads, as a spinoff of both this issue
and #11077, msg183774.
--
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
I changes the import to theading instead of thread and the start line to
threading.Thread(target=example)
On 3.7 with tcl/tk 8.6 with thread support, I see the gui when mainloop is
called in the thread, and then the >>> prompt appears. On 2.
Change by Terry J. Reedy :
--
resolution: -> duplicate
___
Python tracker
<https://bugs.python.org/issue16823>
___
___
Python-bugs-list mailing list
Unsubscrib
Terry J. Reedy added the comment:
Does IDLE now work on your HiDPI screen without the patch? or does it not work
even with the patch?
I just got a 2.7 worktree working with Python built. 2.7.15+ comes with 8.5.19
instead of 8.5.15. IDLE runs as I expect and windows look normal, as with 3
New submission from Terry J. Reedy :
I added a new 2.7 worktree, with 2.7 checked out to track origin (my github
fork). I built Python with tcl/tk 8.5.15. Whoops, my fork had 2.7 at 2.7.13+.
Fetch upstream, merge upstream/2.7, and rebuild. I noticed that tcl/tk 8.5.19
was downloaded. But
Terry J. Reedy added the comment:
My inclination, then, is to close this issue and PR until there is a
demonstrated need for change and a test machine to verify the fix for 2.7 and
8.5.19.
--
___
Python tracker
<https://bugs.python.org/issue31
Terry J. Reedy added the comment:
The official line is the claim in the docs that tkinter *is* threadsafe,
repeated by Martin on at least one issue. See the first paragraph above.
Therein lies the problem.
A reason to not just reverse the claim is that it is, at least for practical
Terry J. Reedy added the comment:
This is out-of-date for 3.5 and almost so for 3.6 and not an issue for 3.7.
The PR has been closed. And I agree with Raymond that keywords.py should not
anticipate the future. All this is aside from the auto-generation issue.
--
nosy: +terry.reedy
Change by Terry J. Reedy :
--
pull_requests: +6526
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issue29706>
___
___
Python-
Terry J. Reedy added the comment:
PR 6846 adds the htest line to all versions (no news). When merged, I will
augment the keyword list and add a news blurb for 3.6.
--
stage: patch review -> needs patch
versions: -Python 3.7
___
Python trac
Terry J. Reedy added the comment:
Mark, would you review or at least comment on PR 6444? Your comments in
msg316669 on #33479 suggest that you have the requisite knowledge.
--
nosy: +markroseman
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
New changeset 389a48ede92bf7965889d554d2cd17b50d6e3d86 by Terry Jan Reedy in
branch 'master':
bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846)
https://github.com/python/cpython/commit/389a48ede92bf7965889d554d2cd17
Change by Terry J. Reedy :
--
pull_requests: +6547
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
pull_requests: +6551
___
Python tracker
<https://bugs.python.org/issue29706>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 038b21f2caaed0f02fee524277cc61e2c6ae0e9a by Terry Jan Reedy in
branch 'master':
bpo-30928: Update idlelib/NEWS.txt to 2018-05-14. (#6873)
https://github.com/python/cpython/commit/038b21f2caaed0f02fee524277cc61
Terry J. Reedy added the comment:
New changeset 1b0d65fa102fae087254009f6d9903b1d4257d78 by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-29706: IDLE now colors async and await as keywords in 3.6. (#6879)
https://github.com/python/cpython/commit/1b0d65fa102fae087254009f6d9903
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
pull_requests: +6561
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 8fa36b6be47356f8e42a8bd0b3dba24a8fbd6c35 by Terry Jan Reedy in
branch '3.6':
bpo-30928: update idlelib/NEWS.txt for 3.6. (#6888)
https://github.com/python/cpython/commit/8fa36b6be47356f8e42a8bd0b3dba2
Terry J. Reedy added the comment:
New changeset 5b9299d8c72aeadccadd77e4b8132094ba9a1f96 by Terry Jan Reedy
(Sanket Dasgupta) in branch 'master':
bpo-30085: Improve documentation for operator (#1171)
https://github.com/python/cpython/commit/5b9299d8c72aeadccadd77e4b81320
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
I agree that the tutorial For section needs be updated to include
non-sequences. A dict example will help with that.
I agree that the unrealistic insert mis-directs attention and like Raymond's
replacement. ['users.copy()' should be
Terry J. Reedy added the comment:
New changeset d38caf68bb417232fb0ccecb5558d7d0ca4a9507 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
[3.6] bpo-30085: Improve documentation for operator (GH-1171) (#3736)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
Having fixed the nested functions and classes issue, and thought some more, I
have two other concerns with adding signatures in the browser, and a different
solution.
1. Time: When requested, the browser window comes up immediately with the
module node
Terry J. Reedy added the comment:
A year or so ago, I asked people on python-list who could to run the gui tests
on their linux boxes and report. About 6 did and with one possible exception,
and not that reported here, everyone reported success. So, unless someone can
report otherwise, I
Terry J. Reedy added the comment:
As with removing icons (#25090), moving 'highlight line in editor' from double
click to single click is not trivial. Single click behavior is baked into
tree. TreeNode. TreeItems can only override or augment double-click behavior.
I am deferrin
Terry J. Reedy added the comment:
Two concrete reasons to make the conversion: two issues are stymied by current
tree.TreeNode.
1. #25090 tree.TreeNode requires an icon for every line. Hence functions and
classes get python file and director icons and they are difficult to remove.
By
Terry J. Reedy added the comment:
The main issue for conversion is expanding nodes. tree.py does not define a
widget class. Rather, is uses a used a canvas and places images and text
thereupon. The latter is done with instances of TreeNode. Each instance
thereof is initialized with an
Terry J. Reedy added the comment:
jcr: 3.5 only gets security fixes. If this issue does not apply to 3.6 or 3.7,
this should be closed. When core developers (snake after name) change the
headers, you should assume that they know what they are doing and not change
them back
Change by Terry J. Reedy :
--
versions: -Python 3.5
___
Python tracker
<https://bugs.python.org/issue31422>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This issue is more likely to get attention if there is a difference in 3.6, or
even better, 3.7.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue31
Change by Terry J. Reedy :
--
nosy: +lars.gustaebel
___
Python tracker
<https://bugs.python.org/issue31557>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
An option for deferred imports would be to leave a comment at the top where the
import would otherwise be. Example:
# import types, weakref # Deferred to single_dispatch()
This accomplishes the PEP8 purpose of making all dependencies of the module
visible
Change by Terry J. Reedy :
--
nosy: +benjamin.peterson
___
Python tracker
<https://bugs.python.org/issue31583>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
reidfaiv: bpo issues are for patching cypthon, including the stdlib and docs.
Debugging help should be requested on other forums, such as python-list or
stackoverflow.
On the other hand, segfaults in pure python code that uses *current* python and
does not
Terry J. Reedy added the comment:
In closing #15927, R. David Murray said "Although this is clearly a bug fix, it
also represents a behavior change that could cause a working program to fail.
I have therefore only applied it to 3.4, but I'm open to arguments that it
should be
Terry J. Reedy added the comment:
Consistency between bytes and strings is not much of a concern here, or the
change would have been make for bytes when it was made for strings. I would
not approve the request without knowing who chose not to and why.
I think an example like
t
Change by Terry J. Reedy :
--
components: +macOS
nosy: +ned.deily, ronaldoussoren
title: Availability of utimensat and futimens not checked correctly on macOS ->
Availability of utimensat,futimens not checked correctly on macOS
___
Python trac
Terry J. Reedy added the comment:
Tkinter wraps the tcl/tk gui framework. The file dialogs and messageboxes are
provided by tk. When possible, the file dialogs utilize the native OS file
dialogs. The localization is done the by the OS. If the messageboxes are
localized, then I presume the
Terry J. Reedy added the comment:
I would make such new paremeters keyword-only.
--
___
Python tracker
<https://bugs.python.org/issue31613>
___
___
Python-bug
Change by Terry J. Reedy :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue31
Terry J. Reedy added the comment:
This issue was 'reopened' by #31590.
I can understand inconsistency as a 'design bug', but design bugs are not code
bugs, and fixing a design bugs is an enhancement issue, not a behavior issue.
It is not clear to me why, with t
Terry J. Reedy added the comment:
I explained on #15927 why I currently see it as an enhancement issue, and
therefore not appropriate to be backported. In fact, based on the doc, I am
puzzled why the line terminator was being escaped
Terry J. Reedy added the comment:
Menu item 'Module Browser' invokes '<>', which calls
Editor_Window.open_module_browser. If the window is an actual editor, its path
is used; otherwise open_module is called. In either case, ModuleBrowser is
called with flist and
Change by Terry J. Reedy :
--
assignee: terry.reedy
components: IDLE
nosy: terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE: Make _htest, _utest parameters keyword-only.
type: enhancement
versions: Python 3.6, Python 3.7
New submission from Terry J. Reedy :
All calls in tests should pass as keyword. Get better error message if pass
wrong number of other arguments positionally.
--
___
Python tracker
<https://bugs.python.org/issue31
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +3820
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset bfebfd81de21b7906df386fce845f2b1f5ffd212 by Terry Jan Reedy in
branch 'master':
bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (#3839)
https://github.com/python/cpython/commit/bfebfd81de21b7906df386fce
Change by Terry J. Reedy :
--
pull_requests: +3822
___
Python tracker
<https://bugs.python.org/issue31649>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 40c54d5e1aaab91cb7df71f735112d20b5e5b755 by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (GH-3839)
(#3841)
https://github.com/python
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +3823
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset d6bb65f378e34fe0c11fdb39588357ecf22964eb by Terry Jan Reedy in
branch 'master':
bpo-31460: Simplify the API of IDLE's Module Browser. (#3842)
https://github.com/python/cpython/commit/d6bb65f378e34fe0c11fdb395
Change by Terry J. Reedy :
--
pull_requests: +3824
___
Python tracker
<https://bugs.python.org/issue31460>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset c8198c92320bc35b1e3de5ff0118bd8e20e8d68a by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-31460: Simplify the API of IDLE's Module Browser. (GH-3842) (#3843)
https://github.com/python/cpython/commit/c8198c92320bc35b1e3de5ff0
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
This tracker is for issues about improving future cpython releases on
python.org. Questions about using current python go to other forums, such as
python-list. You can also use python-list via the news.gmane.org newsgroup
mirror gmane.comp.python.general
New submission from Terry J. Reedy :
Python Setup and Usage, 3.3.1. Excursus: Setting environment variables
https://docs.python.org/3/using/windows.html#excursus-setting-environment-variables
The word 'excursus' is so rare and archaic that this is my first encounter with
it. Could
Terry J. Reedy added the comment:
This is pretty useless on Windows because you are using a clock with 15-16
milli (not micro) second resolution on Windows. Before Victor introduced
time.perf_counter, with decent behavior on all systems, timeit used different
time module functions on
Terry J. Reedy added the comment:
Abdullah, in the future, please upload or post runnable Python code, not an
image. Output can be copied into a message. If you think IDLE is doing
something wrong, test by running the code directly with Python. If your file
is test.py, enter the following
Terry J. Reedy added the comment:
After reading the doc entry for SimpleNamespace, I see running
'SimpleNamespace(**{0:0})' as a bug because doing so results in an object than
contradicts the doc.
1. "A simple object subclass that provides attribute access to its namespace
Terry J. Reedy added the comment:
pythoninfo seems like the right place. It is publicly readable. We just
reserved the right to change it in any release as needed. (This actually is
useful to other users also as long as they know.) #15037 was originally filed
for 3.4 and is currently
New submission from Rick J. Pelleg :
On Windows 10 Education, ran:
ipython
Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)]
Type 'copyright', 'credits' or 'license' for more information
IPython 6.2.1 -- An enhanced Interactive Python.
Rick J. Pelleg added the comment:
Mmm... right now I cannot reproduce at all, both in iPython and in python.
Will continue to try.
--
___
Python tracker
<https://bugs.python.org/issue31
Change by Terry J. Reedy :
--
pull_requests: +3937
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue13802>
___
___
Python-
Terry J. Reedy added the comment:
I decided to do the needed rearrangement of frames in this issue, leaving
revision of widgets other than the sample to #24776.
PR3960 initially puts the following in the sample box. I believe it should
cover most Python users.
AaBbCcDdEeFfGgHhIiJj
New submission from Terry J. Reedy :
Config dialog Font tab has a sample box. It currently only contains Ascii
chars. #13802 will add characters from extended latin1 and several other
character sets. But we cannot show everything. Hence a spinoff proposal: let
users augment the sample
Terry J. Reedy added the comment:
I pushed new commits to the PR that changed the Korean, Japanese, and Indian
samples and the help message.
Korea: The line is now the first 10 chars of Dong-hee Na's suggestion. Thank
you for helping (and Louie for the cc).
Japan: The line is no
Terry J. Reedy added the comment:
Victor, what is your opinion of running 'from test import autotest' in a
standard python shell window, opened from an icon, as opposed to IDLE's shell?
> many tests fail just because of IDLE.
We cannot know what to blame on IDLE withou
Terry J. Reedy added the comment:
0:00:28 [ 25/407] test_asyncio
F:\dev\3x\lib\asyncio\sslproto.py:330: ResourceWarning: unclosed transport
source=self)
test_code_module - multiple errors
test test_importlib failed -- Traceback (most recent call last):
File "F:\dev\3x\lib
Terry J. Reedy added the comment:
The Python console exits because test.libregrtest.main.Regrtest._main calls
sys.exit. test.autotest consists of
from test.libregrtest import main
main()
The main call should be wrapped with try:...except sys.exit: pass
The output also has this variance
Terry J. Reedy added the comment:
When I import autotest in IDLE's shell, test_code_module fails, test_importlib
and test_warnings fail, as without IDLE, and test_gc and test_logging are new
failures. (Results are easy to see because SystemExit is caught and ignored.)
test test_gc f
Terry J. Reedy added the comment:
After starting Python from a command line instead of an icon, importing/running
autotest results in the same three failures.
--
___
Python tracker
<https://bugs.python.org/issue31
Change by Terry J. Reedy :
--
stage: -> test needed
title: FTP_TLS errors when -> FTP_TLS errors when use certain subcommands
type: -> behavior
versions: +Python 3.7
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
On Win10, installed 3.5.4, 3.6.3, 3.7.1a1 all raise SystemError.
3.6 and 3.7 repository debug builds raise AssertionError and Windows crash box.
After the patch, a silent crash.
--
nosy: +terry.reedy
___
Python
Terry J. Reedy added the comment:
On win10, installed 3.7.0a1, speedup is 7-8% (It is 'only' 5% on repository
debug build that takes 5-6 times longer.)
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
I agree that we should be consistent -- with the current standard definition --
with the changes suggested above. Heinrich, can you, and do you want to,
submit a patch? If so, please also sign the contributor agreement. See
https://www.python.org/psf
Terry J. Reedy added the comment:
Nikhil, I am closing this for now because I am at least 85% sure David is
right. To get any help, you need to reduce your code to the minimum needed to
produce the symptoms and then include that with any question. You would be
told the same on
Terry J. Reedy added the comment:
It has been some time since literal_eval literally only evaluated literals.
'constant_eval' might be a better name now, with the proviso of 'safely, in
reasonable time'.
>>> from ast import literal_eval as le
>>> le(&
Terry J. Reedy added the comment:
The formatting part of PEP 515 was implemented in #27080. Chris Angelico's
initial patch https://bugs.python.org/file44152/underscores_decimal_only.patch
was, as the name says, for decimal only, and added "or '_' " to the error
Rick J. Pelleg added the comment:
Sorry, all reproduction attempts failed, both in plain Python and in
iPython.
I guess you can close this for now.
--
___
Python tracker
<https://bugs.python.org/issue31
Rick J. Pelleg added the comment:
Just one more issue: since it happened before I found out that the "turtle"
package already has the pre-defined short version of commands, such as
"fd()", "lt()", etc., the crashed session included four function
definitions, for
Terry J. Reedy added the comment:
In the last few months, configdialog has been refactored to have a class for
each settings tab. This makes it easier to revise and add new options, such as
'menu language'.
With this done, the IDLE features implemented as (optional) extensions we
Terry J. Reedy added the comment:
Ned> IDLE uses some Tk-supplied default menus and menu items
On Windows and *nix, the visible menu labels all come from IDLE. I don't yet
understand what is going on with Mac menus. Some menu items call the tk file
dialog, and the config highl
Change by Terry J. Reedy :
--
pull_requests: +3973
___
Python tracker
<https://bugs.python.org/issue25588>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
As I reported on related #31761, importing autotest on Windows 10 has 3 errors
with Python's shell and 4 with IDLE's, with two of those the same as the python
shell failures.
IDLE can be detected in at least two ways.
>>> import sy
7001 - 7100 of 13135 matches
Mail list logo