Terry J. Reedy added the comment:
It stopped at 1309 for me too, running with IDLE, then added 4999 and the quit
button, which did not work. If you can, try to make the code simpler. Here is
one guide.
https://stackoverflow.com/help/minimal-reproducible-example
However, limitations in tcl
New submission from Terry J. Reedy :
The 'console' highlight is described as Shell Normal Text. It is the 'normal'
text for non-error output *from the shell* (prompt and debug status), but not
the 'normal' text, which is used for code.
Aside from this, th
Terry J. Reedy added the comment:
New changeset 3221a63c69268a9362802371a616f49d522a5c4f by Terry Jan Reedy (Tal
Einat) in branch 'master':
bpo-37628: Fix IDLE config sample sizes (#14958)
https://github.com/python/cpython/commit/3221a63c69268a9362802371a616f4
Terry J. Reedy added the comment:
This is definitely not an IDLE issue. To open files, IDLE calls
tkinter.filedialog.Open(parent, filetypes).show(initial_dir, initial_file).
Open is a subclass of filedialog._Dialog(commondialog.Dialog). It sets command
= "tk_getOpenFile". D
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +14750
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/14983
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +14752
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/14983
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
gpolo should be removed or marked inactive as he has not responded in several
years. I'm closing for now. Serhiy can say something if he wants, but has
other issues to attend to.
Running from IDLE, the dialog opened in idlelib. codecontext.py
Change by Terry J. Reedy :
--
pull_requests: -14750
___
Python tracker
<https://bugs.python.org/issue37693>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
pull_requests: +14752
pull_request: https://github.com/python/cpython/pull/14983
___
Python tracker
<https://bugs.python.org/issue37
Change by Terry J. Reedy :
--
pull_requests: -14752
___
Python tracker
<https://bugs.python.org/issue37692>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset b222955355c8077a3ceca79195731663d7c3dd5f by Terry Jan Reedy in
branch 'master':
bpo-37692: Improve highlight config sample (#14983)
https://github.com/python/cpython/commit/b222955355c8077a3ceca791957316
Terry J. Reedy added the comment:
A comment on the PR discussed the label changes made.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +14773
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15010
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
IDLE tests passed the Azure macOS test (when it does not timeout) before and
since #17535 was merged. So this failure report initially surprised me. But
then I checked Display Build Info on
https://dev.azure.com/Python/cpython/_build/results?buildId=47634
Change by Terry J. Reedy :
--
pull_requests: +14774
stage: commit review -> patch review
pull_request: https://github.com/python/cpython/pull/15011
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset e8874b85b4e3bbb735467b0beaa933dcef362004 by Terry Jan Reedy in
branch 'master':
bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (#15010)
https://github.com/python/cpython/commit/e8874b85b4e3bbb735467b0beaa933
Terry J. Reedy added the comment:
Release peps -- needed for proposed and actual release dates.
3.7 PEP 537 https://www.python.org/dev/peps/pep-0537/
3.8 PEP 569 https://www.python.org/dev/peps/pep-0569/
3.9 PEP 596 https://www.python.org/dev/peps/pep-0596
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
superseder: -> IDLE subsection of What's New 3.7
___
Python tracker
<https://bugs.p
Terry J. Reedy added the comment:
New changeset f35c51d2eadd297bcf06d4f7c536bd1d8682b724 by Terry Jan Reedy in
branch 'master':
bpo-34162: Update idlelib/news.txt. (#15011)
https://github.com/python/cpython/commit/f35c51d2eadd297bcf06d4f7c536bd
Terry J. Reedy added the comment:
Tests disabled, leaving open for live behavior report.
--
nosy: -miss-islington
stage: patch review -> needs patch
title: IDLE test_sidebar testcases test_click_selection and test_drag_selection
can fail on macOS -> IDLE test_sidebar test_
Change by Terry J. Reedy :
--
pull_requests: +14779
pull_request: https://github.com/python/cpython/pull/15016
___
Python tracker
<https://bugs.python.org/issue34
Terry J. Reedy added the comment:
New changeset e941cbcf8c2fce59a9afa8043948f9a147e09177 by Terry Jan Reedy in
branch '3.7':
bpo-34162: Update idlelib/news.txt for 3.7.5 (GH-15016)
https://github.com/python/cpython/commit/e941cbcf8c2fce59a9afa8043948f9
Terry J. Reedy added the comment:
Is this issue open for some specific action in a repository covered by this
tracker, or should it be closed?
--
___
Python tracker
<https://bugs.python.org/issue34
Change by Terry J. Reedy :
--
pull_requests: +14791
pull_request: https://github.com/python/cpython/pull/15034
___
Python tracker
<https://bugs.python.org/issue34
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +14792
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/15035
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
pull_requests: +14793
pull_request: https://github.com/python/cpython/pull/15036
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
New changeset fff5cb21ae270d8572741e18030765580c7ae361 by Terry Jan Reedy in
branch 'master':
bpo-34162: Add missing items to idlelib/NEWS.txt. (GH-15034)
https://github.com/python/cpython/commit/fff5cb21ae270d8572741e18030765
Terry J. Reedy added the comment:
New changeset a72ca90eb9f13ee2abc7e19b669974d2d0b3d63e by Terry Jan Reedy in
branch 'master':
bpo-33822: Add IDLE section of What's New 3.8 (#15035)
https://github.com/python/cpython/commit/a72ca90eb9f13ee2abc7e19b6
Terry J. Reedy added the comment:
New changeset 5982b7201b84bfd24a1c2b2836401afee1cad8a7 by Terry Jan Reedy in
branch 'master':
bpo-33821: Update IDLE section of What's New 3.7 (#15036)
https://github.com/python/cpython/commit/5982b7201b84bfd24a1c2b283
New submission from Terry J. Reedy :
With the addition of Run Customized, the run menu looks like
Python Shell
Check Module
Run Module
Run... Customized
This order resulted from Check and Run Module originally being implemented as
extensions, which forced them to be below Python Shell. The
Terry J. Reedy added the comment:
This issues fixed item 2 above. Re-ordering the Run menu is #37748
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
superseder: -> IDLE: Re-order run menu
title: Minor improvements to IDLE's "R
Terry J. Reedy added the comment:
Run Module and Run Customized both run Check Module first. All three involve
the code in the particular editor. Restarting Shell is not editor specific, so
I see *it* as the oddball.
The proposed Run Checker #21880, would involve the editor code, might or
Terry J. Reedy added the comment:
New changeset 86f1a18abfee5939452f468d80de998918e2afd2 by Terry Jan Reedy (Tal
Einat) in branch 'master':
bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)
https://github.com/python/cpython/commit/86f1a18abfee5939452f468d80de99
Terry J. Reedy added the comment:
Tal, thanks for the fix. Ned, thanks for the quick confirmation. Closing.
Ned, I don't understand you last comment. The only CI testing on macOS is done
by Azure. My understanding is that Azure runs a virtual console on Mac as well
as linux, so i
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +14856
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15115
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 14070299cdc0faf36975f0cc2d51824a9abf3db0 by Terry Jan Reedy in
branch 'master':
bpo-37748: Re-order the Run menu. (GH-15115)
https://github.com/python/cpython/commit/14070299cdc0faf36975f0cc2d5182
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +14861
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/15121
___
Python tracker
<https://bugs.python.org/issu
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:
New changeset 1213123005d9f94bb5027c0a5256ea4d3e97b61d by Terry Jan Reedy in
branch 'master':
bpo-36419: IDLE - Refactor autocompete and improve testing. (#15121)
https://github.com/python/cpython/commit/1213123005d9f94bb5027c0a5256ea
Terry J. Reedy added the comment:
All three goals done. Most or all of the 7% not covered is the part of the
file I did not touch.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.9
_
Terry J. Reedy added the comment:
A4: Autosqueeze long lines output in chunks. tensorflow.keras appears to do
this. See #37762. Easy reproducer:
for i in range(1):
print('%6s'
Terry J. Reedy added the comment:
One may copy and paste small chunks of code and output into a message. By 'demo
script', I presume you mean the following.
import tensorflow as tf
mnist = tf.keras.datasets.mnist
(x_train, y_train),(x_test, y_test) = mnist.load_data()
x_tra
Terry J. Reedy added the comment:
If keywords are included when the REPL has tab completions (which Windows
doesn't), then it is plausible that IDLE should. It could be considered part
of 'Shell should (mostly) imitate REPL'. But I can see Tal's point, though the
r
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +14876
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/15138
___
Python tracker
<https://bugs.python.org/issu
New submission from Terry J. Reedy :
#36419 did not cover fetch_ completions. Most of the remaining 7% of
autocomplete not covered by tests is in that function. I want to rename smalll
to small and bigl to big (and in test file); they are awkward to read and
write. I may want to revise
Terry J. Reedy added the comment:
#37765 Include keywords in ''(__main__) list.
## Annotate completion list, at least as an option, with 'keyword' or
class, possibly prefixed with 'built-in', so 'built-in function', 'function',
and
Terry J. Reedy added the comment:
I presume you are proposing to wrap the site-added help with a function that
would check object outputs and put them either in the shell unsqueezed or
directly into a viewer. Seems plausible.
--
___
Python
Terry J. Reedy added the comment:
I remembered this morning that we need to check test_tkk_guionly or (easier,
but less obviously also all gui) test_tk either in test suite output, or run by
itself with
python -m test.test_tk # or test -ugui test_tk
because idle it has non-gui tests that
Terry J. Reedy added the comment:
The history is confusing. bpo user Louie Lu (louielu), as github user 'noname
louisom', open PR 1511 for this existing issue on 2017 May 9. On May 12, he
opened #30348 and PR 1512 with the tests for fetch_completions and get_entity
that were
Terry J. Reedy added the comment:
For the general issue of interpreting control chars, see #23220 (and duplicate
#24572). IDLE is a development environment, not a production environment.
If Tal's hypothesis is correct, a solution for Bernard would be a new addition
I want for Run Custo
Terry J. Reedy added the comment:
I agree with Paul about the wording. Note that the proposed platform-specific
catch and raise are for crypt.py, not test_crypt.py.
If a test module should be skipped entirely, import_module is correct. For
more refinement, test_idle has, for example,
tk
Terry J. Reedy added the comment:
New changeset 1a3a40c1cb582e436d568009fae2b06c0b1978ed by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.8':
bpo-37004: Documented asymmetry of string arguments in difflib.SequenceMatcher
for ratio method (GH-13482) (#15157)
https://github.
Terry J. Reedy added the comment:
New changeset 7dafbe81bd0afb8bd67bc3a4c851a6c728fd87fe by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-37004: Documented asymmetry of string arguments in difflib.SequenceMatcher
for ratio method (GH-13482) (#15158)
https://github.
Terry J. Reedy added the comment:
A dirty editor must be saved before running, or discarded before closing.
Neither is true for Shell, Making these at least an option in Shell should be
the first change. If the user has specified a savefile name, that should be
used, and the user is
Terry J. Reedy added the comment:
The error comes from Windows and it indicates a problem with your computer.
Questions about Windows errors should be initially directed to python-list or
elsewhere.
Searching for 0x80070643 returns multiple hits, including this 'official'
Terry J. Reedy added the comment:
After more research, I am more inclined to add the keywords to the global
identifiers list. The IDLE doc says that they should be present.
"Show Completions
Open a scrollable list allowing selection of keywords and attributes."
If this issue wer
Terry J. Reedy added the comment:
I seems to me that Python Setup and Usage, Using Python on Windows should have
a section for install failure and MS 0x8XXX install errors. Then I and
others on python-list could tell people to start with that
Terry J. Reedy added the comment:
Raymond, since there is no proposal to 'add __main__', I don't understand your
response. For the case in question, the completion list continues to be based
on the keys in __main__.__builtins__.__dict__, and main__.__dict__, as it
New submission from Terry J. Reedy :
1. Headings: Sections should be titlecased, subsections not. This is
especially needed now that they are not numbered.
2. Python Shell subsection. Revise 'paste', maybe move. SyntaxWarnings are
SyntaxErrors. Explain Restart.
3. Any oth
Terry J. Reedy added the comment:
Because the scope of SyntaxWarnings has been expanded to code that must be run,
they should no longer be turned into errors, so this should not be added to the
doc. See #34857.
--
___
Python tracker
<ht
Change by Terry J. Reedy :
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/issue34857>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Treating a SyntaxWarning as an error is intentional, since 2001 in a Kurt
Kaiser patch. IDLE's ModifiedInterpreter subclasses
code.InteractiveInterpreter. The subclass .runsource turns a SyntaxWarning
into an error, before calling the superclass m
Terry J. Reedy added the comment:
IDLE's Shell has treated SyntaxWarnings as errors since 2001. I don't know if
any other IDE's do the same. Raymond's example did not concern me, as I think
not calling known non-callables is preferable.
But not executing literal-with
Terry J. Reedy added the comment:
The import-on-demand would be executed in the Shell's execution process
namespace, so it works with the current implementation. I said above that this
puts names 'where they don't belong', but I feel a little differently now. A
vari
Terry J. Reedy added the comment:
4. Completions subsection: fix this garbled sentence. "Names in an Editor
window which are not via __main__ and sys.modules will not be found." Check
2.6 help.txt from whence it likely came.
--
Terry J. Reedy added the comment:
The garble was in help.txt as copied into idle.rst in #5066. I will have to
figure out the meaning.
--
___
Python tracker
<https://bugs.python.org/issue37
Terry J. Reedy added the comment:
I think the current behavior is intended. The IDLE doc Completions subsection,
written by Kurt Kaiser in help.text and copied to idle.rst in #5066, has this
paragraph
Completions are currently limited to those in the namespaces. Names in an
Editor window
Terry J. Reedy added the comment:
The conclusion of this discussion was that we should insert control chars, in
particular \b and \r, as are into tk.Text and document the (variable) result.
Please describe your proposed new behavior, how it differs from the current
behavior, and why you
Terry J. Reedy added the comment:
I suspect that this is related to #35379, where I added some preliminary
analysis.
--
___
Python tracker
<https://bugs.python.org/issue35
Terry J. Reedy added the comment:
None.get_saved is #35623. I believe it is related to #35379, where I requested
your comment on what I found so far.
---
1. Compiler warnings for shell input go to sys.__stderr, which only exists when
IDLE is started from a console. This will include
Terry J. Reedy added the comment:
3.6 no longer compiles for me on Windows. A repeat of pcbuild\build.bat -d
gives the same error report as below.
My previous build was 25 hours ago. atexitmodule.c is the only C file in the
3.6 merge update, so the backport might be to blame. Git status
Terry J. Reedy added the comment:
Since I fetch, merge, and build with a .bat file that has worked fine at least
10 times, with pushes in between, the glitch is a puzzle. Next time I will
just revert, as I did, or reclone and rebuild the 3.6 worktree
New submission from Terry J. Reedy:
When Louie Lu posted a link to
https://blog.louie.lu/2017/06/12/diagnosing-and-fixing-reference-leaks-in-cpython/
on core-mentorship list, I tested idlelib.
python -m test -ugui test_idle # SUCCESS, no extraneous output
python -m test -R: test_idle # SUCCESS
Terry J. Reedy added the comment:
New changeset b070fd275b68df5c5ba9f6f43197b8d7066f0b18 by terryjreedy
(mlouielu) in branch 'master':
bpo-30642: IDLE: Fix test_query refleak (#2147)
https://github.com/python/cpython/commit/b070fd275b68df5c5ba9f6f43197b8
Changes by Terry J. Reedy :
--
pull_requests: +2212
___
Python tracker
<http://bugs.python.org/issue30642>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 2bfb45d447c445b3c3afc19d16b4cd4773975993 by terryjreedy in branch
'3.6':
bpo-30642: IDLE: Fix test_query refleak (#2147) (#2161)
https://github.com/python/cpython/commit/2bfb45d447c445b3c3afc19d16b4cd
Changes by Terry J. Reedy :
--
pull_requests: +2214
___
Python tracker
<http://bugs.python.org/issue30642>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The macosx leak came from repeated calls to
root.createcommand("::tk::mac::OpenDocument", doOpenFile)
in macosx.addOpenEventSupport(root, flist), which is called from
macosx.setupApp, which is called in test_macosx.SetupTest.test_setupapp.
Atta
Changes by Terry J. Reedy :
--
pull_requests: +2216
___
Python tracker
<http://bugs.python.org/issue30642>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset b0efd493b6af24a6ae744e7e02f4b69c70e88f3d by terryjreedy in branch
'3.6':
[3.6]bpo-30642: Fix ref leak in idle_test.test_macosx (#2163) (#2165)
https://github.com/python/cpython/commit/b0efd493b6af24a6ae744e7e02f4b6
Terry J. Reedy added the comment:
Using findleak.py, attached to #30642, modified to always print the filename, I
discovered that test_parenmatch also flashes (along with test_searchbase). The
leak test runs each test_xyz module 9 times, so is a good way to see flashing.
Adding
Changes by Terry J. Reedy :
--
pull_requests: +2223
___
Python tracker
<http://bugs.python.org/issue27922>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 049cf2bb44038351e1b2eed4fc7b1b522329e550 by terryjreedy in branch
'master':
bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171)
https://github.com/python/cpython/commit/049cf2bb44038351e1b2eed4fc7b1b
Changes by Terry J. Reedy :
--
pull_requests: +2224
___
Python tracker
<http://bugs.python.org/issue27922>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Thanks for the reminder to get busy on this ;-). My short notes are
insufficient for anyone else to write this.
--
assignee: docs@python -> terry.reedy
___
Python tracker
<http://bugs.python.org/issu
Changes by Terry J. Reedy :
Removed file: http://bugs.python.org/file40915/dia2.py
___
Python tracker
<http://bugs.python.org/issue25514>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
New changeset d92ee3ea622b6eee5846681bad5595cfedcf20b6 by terryjreedy in branch
'3.6':
[3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172)
https://github.com/python/cpython/commit/d92ee3ea622b6eee5846681bad5595
Terry J. Reedy added the comment:
Using findleak.py, attached to #30642, modified to always print the filename, I
discovered that test_parenmatch also flashes (along with test_searchbase). The
leak test runs each test_xyz module 9 times, so is a good way to see flashing.
Adding
Changes by Terry J. Reedy :
--
pull_requests: +2230
___
Python tracker
<http://bugs.python.org/issue25514>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I tested (and tweaked) the visible box with this:
from idlelib.run import show_socket_error
show_socket_error(OSError(61, 'connection refused'), ('port', ))
URL was tested with cut-and-paste from run.py.
This should be turned into an ht
Terry J. Reedy added the comment:
New changeset 188aedf8bb623d41302e10503268b0852ea91134 by terryjreedy in branch
'master':
bpo-25514: Improve IDLE's connection refused message (#2177)
https://github.com/python/cpython/commit/188aedf8bb623d41302e10503
Changes by Terry J. Reedy :
--
pull_requests: +2231
___
Python tracker
<http://bugs.python.org/issue25514>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 22d909f8c24bd7768df1a5bf0e52c597ea947cfb by terryjreedy in branch
'3.6':
[3.6]bpo-25514: Improve IDLE's connection refused message (#2177) (#2178)
https://github.com/python/cpython/commit/22d909f8c24bd7768df1a5bf0
Terry J. Reedy added the comment:
Now that I know how to backport with confidence, and have cleared the backlog,
and synched 3.6 with 3.7, I want to review this next. I would like to get it
in 6.2, but 6.2 was due yesterday, but delayed, and there is no info on how
long the delay is. This
Terry J. Reedy added the comment:
f:\dev\36>python -m test -R: -ugui test_idle
gives about 40 invoke event messages, but the test passes. So the messages and
leaks are not connected.
--
___
Python tracker
<http://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 778b484145edfd0d9b65129322d3295bed8eb71a by terryjreedy
(mlouielu) in branch 'master':
bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811)
https://github.com/python/cpython/commit/778b484145edfd0d9b65129322d329
Changes by Terry J. Reedy :
--
pull_requests: +2236
___
Python tracker
<http://bugs.python.org/issue15786>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 3280579450e3ee94e4916e2543b4dd8898d51b02 by terryjreedy in branch
'3.6':
bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811) (#2187)
https://github.com/python/cpython/commit/3280579450e3ee94e4916e2543b4dd
Terry J. Reedy added the comment:
After hand-testing everything I could think of, including clicking outside the
box after clicking inside, I applied the click (and Mac crash) fix to 3.7 and
3.6. As far as I know, it should appear in 3.6.2rc whenever that appears. If
so, I hope people who
New submission from Terry J. Reedy:
1. Test_autocomplete.AutoCompleteTest has a test_method for each method of
autocomplete.AutoComplete. The last 5 test methods are empty ('pass'). Finish
them. A couple of the methods might be usefully split into smaller methods.
Get_entity is
4801 - 4900 of 13135 matches
Mail list logo