New submission from Terry J. Reedy :
Briefly explain opening a file, running code, and the title and status bars.
--
assignee: terry.reedy
components: IDLE
messages: 328771
nosy: terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE add doc
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +9524
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset ea9c8bd44365ae8b0accc5286c7b52862528c0ec by Terry Jan Reedy in
branch 'master':
bpo-35097: Add IDLE doc subsection explaining editor windows. (#10206)
https://github.com/python/cpython/commit/ea9c8bd44365ae8b0accc5286c7b52
New submission from Terry J. Reedy :
Differences added in initial PR:
* threading.activeCount()`` returns 2 instead of 1;
* run user code in separate process;
* user-created subprocesses do not inherit sys.stdxxx objects;
must run IDLE from console for such to have i/o connection;
* Shell
Change by Terry J. Reedy :
--
title: IDLE: say more about Shell - console differences -> IDLE: say more about
IDLE - console differences
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
By 'console' I mean the text-interface window that Python normally runs in,
whether in batch or interactive mode, whether started directly from an icon or
menu or file listing or indirectly by entering 'python' in a shell program
ru
Terry J. Reedy added the comment:
I thought of 'IDLE versus standard Python', or 'default Python', but the
contrast is not correct, as IDLE uses the same Python. The intended contrast
is between the result of different methods of running Python code with a
particular
Change by Terry J. Reedy :
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue35099>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
As part of revising the IDLE Docs, I want to add a section for running on MacOS
(issue in preparation, section title undecided). I already planned on
mentioning this setting. It seems it should be dis-recommended, at least at
present
Terry J. Reedy added the comment:
What I see in the .gif is that Open Module is open on top of Shell (not
minimized, traffic lights gray) and that clicking Cancel closes Open Module and
temporarily minimizes Shell, before it pops back up with traffic lights. It is
hard to imagine that how
Terry J. Reedy added the comment:
While editing 'IDLE-console differences' (added in the patch above) for #35099,
I decided that it should be renamed (to, say, 'Executing user code') and
limited to the effect of executing user code in IDLE's execution process
ins
Terry J. Reedy added the comment:
It seems to me a bug that if '\n' is not present, tokenize adds both NL and
NEWLINE tokens, instead of just one of them. Moreover, both tuples of the
double correction look wrong.
If '\n' is present,
TokenInfo(type=56 (NL), string=
Terry J. Reedy added the comment:
At the moment, the dependent issues are closed and there is just one open PR on
this issue.
Julian, I am nosying you here because you merged #34962, which is properly a
dependency of this.
--
dependencies: +make doctest does not pass :/
nosy: +mdk
Terry J. Reedy added the comment:
Roger, John may have run IDLE rather than IDLEX. This issue is about
documenting the fact that tk Texts do not throw away lines, and will accept
text until there are memory problems. (Command Prompt, for instance, only
keeps the last N lines, where N
Terry J. Reedy added the comment:
I routinely use Alt-M to open modules on Windows, so I would want a shortcut on
Mac also. I just made a 'Mac-module' custom keyset with Control-Key-M for
open-module, and it works. It that acceptable?
We do not usually change default keysets
Terry J. Reedy added the comment:
TestUser, please re-read and follow Serhiy's request.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
It is an implementation detail that some people need to know, and that is very
unlikely to change. In the pydev thread, Guido said
"
My feeling is that limiting it to strings is fine, but checking those
strings for resembling identifiers is pointles
Change by Terry J. Reedy :
--
title: TemporaryDirectory can't be cleaned up if there are unsearchable
directories -> TemporaryDirectory clean-up fails with unsearchable directories
___
Python tracker
<https://bugs.python.org
Terry J. Reedy added the comment:
I like the idea, but for me, Shift-Command-o does the same as Command-o -- open
file, and setting open-module to shift-command-key-o does not override this.
--
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
Documenting something as an 'implementation detail' denies that it is a
language feature and does not offer stability guarantees.
--
___
Python tracker
<https://bugs.python.o
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +9650
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 5e7909032491cef17754a3208872655fe350e9be by Terry Jan Reedy in
branch 'master':
bpo-35099: Improve the doc about IDLE running user code. (#10350)
https://github.com/python/cpython/commit/5e7909032491cef17754a320887265
Terry J. Reedy added the comment:
I either removed or augmented occurrences of 'console' in the renamed section.
--
dependencies: -IDLE Doc: Text consumes unlimited RAM, consoles likely not,
IDLE: Document how Shell displays user code output
resolution: -> fixed
stage:
Change by Terry J. Reedy :
--
pull_requests: +9653
___
Python tracker
<https://bugs.python.org/issue35099>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset f1d3efc2fba704692d539acc3cb0376a1dd9d98f by Terry Jan Reedy in
branch 'master':
bpo-35099: Update idlelib/help.html (#10353)
https://github.com/python/cpython/commit/f1d3efc2fba704692d539acc3cb037
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +9656
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 75d9d59ab3a372d3d78e6a1f5e9f256e29d0a9a6 by Terry Jan Reedy in
branch 'master':
bpo-23220: Explain how IDLE's Shell displays output (GH-10356)
https://github.com/python/cpython/commit/75d9d59ab3a372d3d78e6a1f5
Terry J. Reedy added the comment:
New changeset 7476fefb65075161d57435c8dd7e92437578d3c1 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-23220: Explain how IDLE's Shell displays output (GH-10356) (#10369)
https://github.com/python
Terry J. Reedy added the comment:
I merged a first edition of the new section. It does not include Mac behavior,
so will need revision. But I want to do some experiments with tk/inter on
various systems before doing so.
--
dependencies: +IDLE Doc: Text consumes unlimited RAM
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +9674
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 76cd0c30d60961d1a10e2673834a455d2b51f695 by Terry Jan Reedy in
branch 'master':
bpo-33000: Document that IDLE's shell has no line limit. (#10373)
https://github.com/python/cpython/commit/76cd0c30d60961d1a10e26738
Change by Terry J. Reedy :
--
nosy: -miss-islington
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
[I wrote the following after Tal's first response, before reading Raymond's
second post in response to Tal.]
The October releases were deficient in only documenting Squeezer in the IDLE
section of "What's New in Python X.Y" and a N
Terry J. Reedy added the comment:
On my machine, 2.7.15 (without squeezing) and 3.7.1 (with squeezing) IDLE
results (average seconds).
from timeit import timeit
timeit("print('nnn '*500)", number=10) # Exp1: .0357, .0355
timeit("for i in range(500): print(i)",
Terry J. Reedy added the comment:
New changeset 43a74abb3a87092a7fd6c71042eafb977d70d8e0 by Terry Jan Reedy
(Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)) in branch 'master':
bpo-35202: Remove unused imports in idlelib (GH-10438)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
Srinivas, if you thing the issue is finished, please close it. Otherwise say
something about what is left to do.
--
___
Python tracker
<https://bugs.python.org/issue35
Terry J. Reedy added the comment:
In the patch for #33000, to cover MacOS behavior, I changed the comment about
control chars from 'replaced' to 'replaced or deleted' Users can fill in the
details by comparing IDLE on their system to a particular console or terminal.
-
Terry J. Reedy added the comment:
#21359, reported by Ned in 4/2018, is about "Cmd-Shift-Z, has the same effect
as the Undo accelerator, Cmd-Z" So there may be a general problem with
Cmd-Shift == Cmd.
--
___
Python track
Terry J. Reedy added the comment:
I should have mentioned before, but forgot, that Windows, by default, hides
file name extensions in File Explorer. (The 'type' column supposedly makes
them redundant.) If they are hidden, they are also hidden in the Save As name
box, as des
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +9731
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34864>
___
___
Py
Terry J. Reedy added the comment:
New changeset 50ff02b43145f33f8e28ffbfcc6a9d15c4749a64 by Terry Jan Reedy in
branch 'master':
bpo-34864: Document two IDLE on MacOS issues. (GH-10456)
https://github.com/python/cpython/commit/50ff02b43145f33f8e28ffbfcc6a9d
Terry J. Reedy added the comment:
OK, I will change doc references in the next doc patch, or maybe in a patch
that also changes module macosx to macos. (I want to keep it all lowercase.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type:
Terry J. Reedy added the comment:
I will leave macosx alone at least until after 3.6.8. But I plan to merge some
modules and want to be able to rename others. #33906 changed windows.py to
window.py for 3.7.1 (and 3.6.7). The 3.7.1 Windows installer deleted
windows.py; the macOS installer
New submission from Terry J. Reedy :
'maxOS' is Apple's current name for the Mac operating system. See
https://en.wikipedia.org/wiki/MacOS, Contents, Release History.
The module name macosx.py is currently left as is. Within that, 'Mac OS X' is
Terry J. Reedy added the comment:
See #35213 for 'macOS' changes.
--
___
Python tracker
<https://bugs.python.org/issue34864>
___
___
Python-bugs-l
Terry J. Reedy added the comment:
This issue is a spinoff of #34864.
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue35213>
___
___
Pytho
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +9745
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Changing only master could make backports difficult to impractical. (Pure
module name changes would be an exception if gits keep track of them and
reverses them for a backport.)
If a module is touched, user changes to that module get wiped out when the
Terry J. Reedy added the comment:
Whoops, 'macOS', as in the title and PR.
--
stage: patch review -> needs patch
___
Python tracker
<https://bugs.pytho
Terry J. Reedy added the comment:
The history of names for 10.X, from the reference above (which also has
nicknames, like 'Mavericks' and 'Mohave', which I believe we do not use).
10.0 to 10.7: Mac OS X (space or spaces sometime left out, as in macosx)
10.8 to 10.13: OS X
Terry J. Reedy added the comment:
The 4th line above should include 'macOS'.
10.14 to current 10.16: macOS (2016)
--
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
New changeset b65413b497a07f521d835b799be7dd0afcedbd65 by Terry Jan Reedy in
branch 'master':
bpo-35213: Where appropriate, use 'macOS' in idlelib. (#10478)
https://github.com/python/cpython/commit/b65413b497a07f521d83
Terry J. Reedy added the comment:
This is partially a duplicate of #22121, but that focused most on the default
startup directory on Windows.
--
___
Python tracker
<https://bugs.python.org/issue28
Terry J. Reedy added the comment:
#28775 is about a user configuration setting.
I need to try out %HOMEDRIVE%%HOMEPATH%.
I am not sure what a 'post-installation script' means in practice. What
language, when run, by whom?
--
versions: +Python 3.7, Python 3.8 -Python 2
Terry J. Reedy added the comment:
On Windows 10, Start Menu entries are no longer shortcuts, but are titles of
shortcuts. On the 'most recent' and alphabetical listings, one must right
click, select 'more', and then 'open file location'. One then gets a dire
Terry J. Reedy added the comment:
Thank you for the cleanup.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
Eryk: If one wants a shortcut on the desktop, I believe the one in a directory
has to be copied. I was also trying to cover the case where IDLE is installed
for all users and a particular user wants a customized shortcut.
Steve: Microsoft's effort to
Phillip J. Eby added the comment:
Please expose this as an attribute of the class or module, not as a function.
A function is orders of magnitude slower than attribute access, and the entire
point of exposing this is to allow caches to be invalidated.
In order to be useful for cache
Phillip J. Eby added the comment:
Antoine Pitrou added the comment:
> -1. Exposing a function allows to modify the underlying implementation
> without breaking any API.
This doesn't make any sense. Once you've exposed an API that gives
out a value for this, you can't chan
Phillip J. Eby added the comment:
All that being said, I took out some time to get actual numbers, and
found my original guesstimate of overhead was incorrect; it's only 3
times slower, not "orders of magnitude". ;-)
And even on a relatively old machine, that 3 times slower amou
New submission from Terry J. Reedy:
The point of File / Open Module is to look at the source for a module that has
been, could be, or will be imported. The problem is that open_module is
executed in the idle process while imports are executed in the user process,
with the current directory
Changes by Terry J. Reedy :
--
dependencies: +Stop using imp in IDLE
___
Python tracker
<http://bugs.python.org/issue18064>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
(Roger, please see Bretts opening message.)
Brett, thanks for asking. We prefer to keep active codebases in sync as much as
possible. Since new import stuff is not in 2.7, we will have to skip that.
In EditorWindow.py, the patch deletes the _find_module
Terry J. Reedy added the comment:
Brett, you misunderstood somethings. I want to apply now to 3.3 and 3.4. This
is the right time now that 3.2 final maintenance is out. (In any case, we are
no longer patching it. 2.7 gets improvements on a 'reasonable best effort'
basis.) It is al
Terry J. Reedy added the comment:
Code also suggests that this function should be elsewhere, such as in
iobinding. This should be in the same place as regular open, wherever that is,
since it is an alternative open.
Document should be upgraded a bit: "Load module opens Python-coded modul
Terry J. Reedy added the comment:
Roger, sorry, I did not read your message completely. When I open from the
console intepreter, I also get the traceback; same behavior.
--
___
Python tracker
<http://bugs.python.org/issue18
Terry J. Reedy added the comment:
On Win7, I get the replacement behavior. I get the same in Notepad and Firefox,
so this may be standard Windows behavior. What is standard in other linex and
mac apps? If the tk difference is a standard platform difference, I might think
we should leave it
Terry J. Reedy added the comment:
Also #3532
--
nosy: +terry.reedy
versions: +Python 3.4 -Python 3.3
___
Python tracker
<http://bugs.python.org/issue9951>
___
___
Terry J. Reedy added the comment:
Restarting Windows solves the issue. If nothing else, the installer could end
with 'Restart Windows for Idle icons to work correctly'.
--
___
Python tracker
<http://bugs.python.o
Changes by Terry J. Reedy :
--
versions: +Python 3.3, Python 3.4 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue1693050>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
I agree that the paste replace should be added as an option on linux, but
without a broader survey of Linux Idle users to convince me otherwise, I have
to agree that the default should stay as it is. I do not see any call to make
the x11 behavior an option on
Terry J. Reedy added the comment:
Before committing, I experimented with disabling test/test_idle. The simple and
safe method is to comment out the 'load_tests' line. With no tests discovered,
all pass ;-). Without verbosity, there is no indication that there were none. A
little h
Terry J. Reedy added the comment:
Last I checked, test_idle passes on the stable buildbots.
But it fails on a machine without threads, such as
http://buildbot.python.org/all/builders
/AMD64%20Fedora%20without%20threads%203.3/builds/752/steps/test/logs/stdio
On this machine, thread-related
Terry J. Reedy added the comment:
This appears fixed for not, even if not the way we would like. Thanks.
If a future tk changes, a new patch will be version-dependent and that will be
a new issue.
--
resolution: later -> fixed
status: pending ->
Terry J. Reedy added the comment:
I closed #14146. Same comment will apply here once this is committed. I would
like to try the latest patch here before that, and will try to do so tomorrow.
I agree with trying to be consistent across platforms. I am pretty sure that
use of multiple personal
Terry J. Reedy added the comment:
All I did was install (standard, all users) and start Idle without rebooting.
Problem goes away after reboot. This happened on previous versions with
different hardware.
--
___
Python tracker
<h
New submission from Terry J. Reedy:
This is a follow-up to #15392, which created the Idle test framework. The
similar endpoint for this issue will be a framework for tests that require a
gui resource, at least one prototype test file, and documentation of Idle
practice. At the moment
Terry J. Reedy added the comment:
Test has been committed on all three branches as part of #15392
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue16
Terry J. Reedy added the comment:
#12520 deleted _find_constructor in 3.x as it works with, but only with
old-style classes (gone in 3.x) and just uses getattr(ob, '__init__', None). I
believe the tests in this patch duplicate existing tests at the bottom of
CallTips.py (increased
Changes by Terry J. Reedy :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue15392>
___
___
Python-bugs-list mailing list
Unsubscri
Terry J. Reedy added the comment:
Biggest change is no support module in 2.7, so in test_idle.py import inside
try:except to skip if dependencies not present. Minor changes in CallTips.py
and test_calltips.py. Buildbots are fine. This meets my initial goal; issue
done.
I opened #18103 for
Changes by Terry J. Reedy :
--
stage: commit review -> committed/rejected
___
Python tracker
<http://bugs.python.org/issue15392>
___
___
Python-bugs-list mai
New submission from Terry J. Reedy:
23 of the 62 idlelib/*.py files have an 'if __name__ ...' test that brings up a
tkinter gui widget and waits for the human tester to do ... something. Problems:
0. They are a bit of a nuisance to run individually: either type
Terry J. Reedy added the comment:
I opened #18104 for the human-required gui tests described in the last
paragraph above.
--
___
Python tracker
<http://bugs.python.org/issue18
Terry J. Reedy added the comment:
Guido, do you still believe in using 'register' in C code in general or in
particular, for function arguments. Many of the uses in dictobject.c go back to
your rev1256 and rev5396. The one that caught Larry's eye for dict_contains
appears
Terry J. Reedy added the comment:
What I want is for the tests to be discovered when they should be and not when
they should not ;-) -- without jumping through too many hoops. I probably once
read 'recursing into subdirectories' but forgot. I like 'h_test...' for 'hu
Terry J. Reedy added the comment:
While improving the self-test for confixSectionNameDialog.py after fixing the
error that stopped it from running, I discovered an error in the NameOk method:
names were not really stripped before being tested. so duplicate section names
were erroneously
Terry J. Reedy added the comment:
To me, there are two independent improvements: using i and hence msg to
identify the erroneous dup, and using .subTest to test all dups. I would
combine ideas from both the first two patches to do both.
1. a fancy formatted message would be more useful with
Terry J. Reedy added the comment:
> becouse we have no a string which determine a test.
The original loop could be have been written as (or be changed to)
for label, dup in [
('odcopy', od.copy()),
('copycopy', copy.copy(words)),
Terry J. Reedy added the comment:
The patch does two things.
1. It replaces the existing direct rebinding of messagebox functions as
methods, such as
self.showerror = tkMessageBox.showerror
with binding of a double wrapping of the functions. The middle layer is useless
and only serves to
Terry J. Reedy added the comment:
The latter link redirects to the current online searchable html version,
http://help.apple.com/asg/mac/2013/
and presumably always will. I think this is better than the 200 page pdf.
--
nosy: +terry.reedy
stage: needs patch -> patch rev
New submission from Terry J. Reedy:
The patch to configSectionNameDialog.py fixes the human test (adds required
arg) so it runs, adds instructions to the test, fixes a bug in name_ok, removes
redundant code, adds needed spaces, de-camelcases internal names, and changes
the master for the two
Changes by Terry J. Reedy :
Added file: http://bugs.python.org/file30460/config_name27.diff
___
Python tracker
<http://bugs.python.org/issue18130>
___
___
Python-bug
Changes by Terry J. Reedy :
Removed file: http://bugs.python.org/file30439/configSectionNameDialog.py
___
Python tracker
<http://bugs.python.org/issue18104>
___
___
Pytho
Terry J. Reedy added the comment:
I opened #18130 for an updated configSectionNameDialog.py patch. It also adds
to idle_tests two files, mock_tk.py and test_config_name.py. The latter uses
the former for gui-free automated tests of some of the dialog methods. I plan
to commit in a couple of
New submission from Terry J. Reedy:
The signature for tkinter class Variable and its subclasses StringVar, IntVar,
DoubleVar, BooleanVar is
def __init__(self, master=None, value=None, name=None):
However, the None default is invalid because of
self._tk = master.tk
The preceding lines
Terry J. Reedy added the comment:
My experiments and some web postings indicate that if a tkinter class has a
master or parent option, it may not really be an option, regardless of what our
docs imply. If tkinter.Tk is called either directly or indirectly, the graphics
system is initiated and
Terry J. Reedy added the comment:
I am still confused about the master/parent business and why required args are
documented as optional. (Besides #18131, I also discovered that messageboxes
usually, but not always, require parent=something passed, to be collected into
**options. I need to
Terry J. Reedy added the comment:
After searching through tkinter.py for '_default_root', the patch looks better.
The point I missed before is that Tk().__init__(self,...) normally calls
_loadtk(self) which installs self as _default_tk if it was None before. So the
new function w
Terry J. Reedy added the comment:
Thanks Ned. I commented on the issue. The code in the proposed function will
fix one of the two problems with tkinter.Variable that I noted in #18131. I can
imagine there might be situations in which it would also be useful for testing,
as GP claims
7901 - 8000 of 13135 matches
Mail list logo