New submission from Terry J. Reedy :
Reported on python-list by Vincent Vande Vivre.
"""
In Python-3.7.0b5 we can find at the end of html/parser.py:
def unescape(self, s):
warnings.warn('The unescape method is deprecated and will be removed '
Terry J. Reedy added the comment:
Steve, I would like to add the SetProcessDpiAwareness(1) call to IDLE tomorrow,
for 3.7.0 and 3.6.6. Do I need to make it an avoidable option? Can it hurt
people on some machines? It seems to me that if tk is doing dpi scaling, then
it should always be
Terry J. Reedy added the comment:
New changeset 0aa17ee6a76df0946d42e7657a501f1862065a22 by Terry Jan Reedy
(Ammar Askar) in branch 'master':
bpo-33766: Document that end of file or string is a newline (GH-7383)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Terry J. Reedy :
Master issue for future IDLE entries in Doc/whatsnew/3.6.rst. This doc has a
section 'Improved Modules' with a subsection 'idlelib and IDLE' with
subsubsections 'New in 3.6.z:'. This issue starts with 3.6.6.
It will close
New submission from Terry J. Reedy :
Following #33820, master issue for future IDLE entries in Doc/whatsnew/3.7.rst.
This doc has a section 'Improved Modules' with a subsection 'idlelib and
IDLE'. The initial unlabeled subsubsection includes important enhancements
New submission from Terry J. Reedy :
Following #33821, master issue for IDLE entries in Doc/whatsnew/3.8.rst. This
doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The
initial unlabeled subsubsection includes important enhancements to IDLE since
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +7211
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33820>
___
___
Py
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +7212
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33821>
___
___
Py
Terry J. Reedy added the comment:
New changeset e226eb71575ad22a6779b02941377665831cfff2 by Terry Jan Reedy in
branch 'master':
bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)
https://github.com/python/cpython/commit/e226eb71575ad22a6779b0294
Terry J. Reedy added the comment:
New changeset 222f7f40339238b3d2c803849c75e682725449d7 by Terry Jan Reedy in
branch 'master':
bpo-33821: Update idlelib subsection of What's New 3.7 (#7590)
https://github.com/python/cpython/commit/222f7f40339238b3d2c803849
Change by Terry J. Reedy :
--
pull_requests: +7216
___
Python tracker
<https://bugs.python.org/issue33820>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 820c53ac612e9c4b3cb3e831537a15d5e953bbc0 by Terry Jan Reedy in
branch 'master':
bpo-33820: Fix IDLE What's New typo (#7594)
https://github.com/python/cpython/commit/820c53ac612e9c4b3cb3e8315
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +7219
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33610>
___
___
Py
Terry J. Reedy added the comment:
New changeset af4b0130d44bf8a1ff4f7b46195d1dc79add444a by Terry Jan Reedy in
branch 'master':
bpo-33610: Update IDLE Code Context doc entry (GH-7597)
https://github.com/python/cpython/commit/af4b0130d44bf8a1ff4f7b46195d1d
Terry J. Reedy added the comment:
General Update: We have done 1, 3, 7, 8, 9, 11, 17, 21. Very nice. A
re-organized list of the remainder (with old numbers).
Docs:
D1: idle.rst subsection on Code Context (19, see #33642).
D2: What's New in 3.6.6 and 3.7.0 (20).
Menu
M1: put Code Co
Terry J. Reedy added the comment:
AFAIK, the big new feature of tcl/tk 9.0 is intended to be full unicode
support. We can hope that 9.0 appears in time to be included in the 3.8
installers.
Until then, I think filenames, user program output, and clipboard content
should be checked for the
Terry J. Reedy added the comment:
Tal, welcome back to Python and IDLE development. 3.5 only gets security
fixes.
Please post here a draft doc paragraph. Before reading the code in detail, I
will pull it into my repository and try to test it as a 'naive user' who has
only
Terry J. Reedy added the comment:
Last fall, we converted built-in 'extensions' to regular features. I am
reluctant to add new 'extensions'. But I can review the patch as an extension
before we worry about this.
--
___
Py
Change by Terry J. Reedy :
--
pull_requests: +7257
___
Python tracker
<https://bugs.python.org/issue33656>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 800415e3df69f494afe9f95a8563ce17609fe1da by Terry Jan Reedy in
branch 'master':
bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)
https://github.com/python/cpython/commit/800415e3df69f494afe9f95a8563ce
Terry J. Reedy added the comment:
New changeset 8a05f559ce5064df68c8d4ebd7d4ed28381d9971 by Terry Jan Reedy in
branch 'master':
bpo-33656: Add entry to What's New 3.7. (GH-7638)
https://github.com/python/cpython/commit/8a05f559ce5064df68c8d4ebd
Terry J. Reedy added the comment:
Thanks everyone for the help. I think this is the right patch, but as with
many IDLE patches, it is hard to be sure until it is in use. At least there is
no question here of tk Windows-Linux-MacOS differences. I checked that the Win
7 buildbots are OK
Terry J. Reedy added the comment:
Reopening, temporarily, to add change requested by Eryk Sun after the merge.
--
status: closed -> open
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
pull_requests: +7261
stage: resolved -> patch review
___
Python tracker
<https://bugs.python.org/issue33656>
___
___
Python-
Terry J. Reedy added the comment:
New changeset fd88f319a4f40682b989b63f0b6378d69465fda4 by Terry Jan Reedy in
branch 'master':
bpo-33656: Add enum name for argument of Windows call. (GH-7642)
https://github.com/python/cpython/commit/fd88f319a4f40682b989b63f0b6378
Terry J. Reedy added the comment:
Since this is the sort of addition that I want to test and evaluate in extended
use before release, this is a good time to revive this. 3.6.6rc1 and 3.7.0rc1
are due tonight. 3.6.7 and 3.7.1 will be open for patches by tomorrow.
I opened #33839 to redoing
New submission from Terry J. Reedy :
calltip_w.py code is partly based on tooltip.py. The latter is currently
unused. But it is needed, with changes, for squeezer (#1529353). So I would
like to see if we can make an improved Tooltip class that can be used or
subclassed by both.
The
Change by Terry J. Reedy :
--
pull_requests: +7265
___
Python tracker
<https://bugs.python.org/issue33656>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Since there should be time before .rcs are cut, I changed the idlelib NEWS.txt
entry to mention color changes, based on editing with the change in place.
--
stage: patch review -> resolved
___
Python trac
Terry J. Reedy added the comment:
Cheryl, if you have time to try out PR 7626, I am curious what you think, as a
user. A short doc draft is 2 posts above.
--
nosy: +cheryl.sabella
___
Python tracker
<https://bugs.python.org/issue1529
Terry J. Reedy added the comment:
New changeset 4b704f29f5a0b6f6d7bd67468ed004bd3a96855d by Terry Jan Reedy in
branch 'master':
bpo-33656: Mention color in idlelib/NEWS.txt entry. (#7646)
https://github.com/python/cpython/commit/4b704f29f5a0b6f6d7bd67468ed004
Terry J. Reedy added the comment:
New changeset 6530577e29a9679c7e4c7ba7adf1c02393d2ad13 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-33656: Mention color in idlelib/NEWS.txt entry. (GH-7646) (GH-7647)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue33656>
___
___
Pyth
Change by Terry J. Reedy :
--
status: closed -> open
___
Python tracker
<https://bugs.python.org/issue33656>
___
___
Python-bugs-list mailing list
Unsubscrib
Terry J. Reedy added the comment:
I confirmed that IDLE did not import ctypes before this issue. Serhiy, I
presume that the new code can be skipped, you are suggesting replacing
import ctypes
with
try:
import ctypes
except ImportError:
pass # The ctypes-using fix is not
Terry J. Reedy added the comment:
I just ran the 3.7.0rc1 installer and here is no option to omit ctypes.
--
___
Python tracker
<https://bugs.python.org/issue33
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg319406
___
Python tracker
<https://bugs.python.org/issue33839>
___
___
Python-bug
Terry J. Reedy added the comment:
I just ran the 3.7.0rc1 installer and here is no option to omit ctypes.
--
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
The fix for IDLE on Windows made it into 3.6.6rc1 and 3.7.0rc1.
Changing the python.exe and pythonw.exe default dpi settings is a possible
issue for 3.8, and should have Steve.Dower nosy.
--
resolution: -> duplicate
stage: -> resolved
status
Terry J. Reedy added the comment:
I would rather leave this open for the moment as an information resource. I
wrote query.py with a base class and subclasses to standardize asking users for
input. So some of the patch may be obsolete, but it does have a catalog of
popup uses.
The patch
Terry J. Reedy added the comment:
Thanks, Cheryl, very helpful. I have since played around with the patch.
Some context first. I want to make improving Shell a major focus for a while.
Part of that is handling problematic output. One solution is to remove it.
For instance, if I enter a
Terry J. Reedy added the comment:
11. Right click should bring up a custom context menu. It can have 'cut'
(delete), 'copy' (to clipboard, eliminating middle click need), 'edit' (IDLE
editor if it seems ok), 'view' (ditto for TextView).
Is there
Terry J. Reedy added the comment:
3. It is idlelib's TextView, not tkTextView. If it is not 'good enough', we
might improve it.
5. Look at former extensions, like codecontext.py, corresponding parts of
editor.py. The key thing for immediate effect is the class reload metho
New submission from Terry J. Reedy :
For module in idlelib modules:
Create test_module from new template.py.
Add 'module' to docstring and import.
Check other minimal imports.
Create instance of each class, with requires('gui') if needed.
Add initial c
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +7303
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Real use case for after_info() (with not arg): #33855 is about minimally
testing all IDLE modules. At least import the module and create class
instances when easily possible. For test_editor, I started with
def test_init(self): # Temporary
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg319278
___
Python tracker
<https://bugs.python.org/issue33823>
___
___
Python-bug
Terry J. Reedy added the comment:
Python++, when you respond by email, rather than on the web form, delete the
message you are responding to. It is already present on the web page and
should not be repeated.
I unlinked msg319278 because it uselessly repeats the same message that it
Terry J. Reedy added the comment:
It is unclear what problem this issue is meant to serve. If the reference
manual uses 'magic method', I think it should be changed. Special method names
are obvious by their form and need not and should not be labelled. I think doc
policy iss
Terry J. Reedy added the comment:
This is definitely an oversight to be corrected. Index entries for the other
binary arithmetic operators point to the table at
https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex
But @ is not in that table since number @ number is
Terry J. Reedy added the comment:
New changeset 4fddd4e4069aad9efad999d8d9ce3cd9fb523a5c by Terry Jan Reedy
(Andrés Delfino) in branch 'master':
bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672)
https://github.com/python/cpython/commit/4fddd4e4069aad9efad9
Terry J. Reedy added the comment:
Fred, did you intend to delete people from nosy?
--
___
Python tracker
<https://bugs.python.org/issue33832>
___
___
Python-bug
Terry J. Reedy added the comment:
New changeset 184e8ed1eeda3ba869755ff37374dd86f332f30d by Terry Jan Reedy
(Andrés Delfino) in branch '2.7':
[2.7] bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672) (#7716)
https://github.com/p
Terry J. Reedy added the comment:
New changeset 695118600fecaa7b95634e168ad7cbbc561fd1ec by Terry Jan Reedy
(Andrés Delfino) in branch 'master':
bpo-33847: Add '@' operator entry to index (GH-7669)
https://github.com/python/cpython/commit/695118600fecaa7b9563
Terry J. Reedy added the comment:
Guido approved the change on the PR.
--
assignee: docs@python -> terry.reedy
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
New changeset a9d0b34a5c5d4fdc12bba4f9c1e314e6e132cc65 by Terry Jan Reedy
(Andrés Delfino) in branch 'master':
bpo-33854: Add PEP 461 title to 'See also' note (GH-7688)
https://github.com/python/cpython/commit/a9d0b34a5c5d4fdc12bb
Change by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue33856>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Doc fixes are routinely backported, when valid, at least within 3.x. If this
was not, I could either be intention or accident. If the change in master was
with a github PR, maybe someone just forgot the backport label.
Is the change in 3.7? Can either of
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 ce1bda774ee28fcdc8966e4158ed42b1246a29d0 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-33854: Add PEP 461 title to 'See also' note (GH-7688) (#7719)
https://github.com/p
Terry J. Reedy added the comment:
New changeset ae4b2af42ce908cd3872dd4442c9805beb725167 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-33854: Add PEP 461 title to 'See also' note (GH-7688) (GH-7720)
https://github.com/p
Change by Terry J. Reedy :
--
assignee: docs@python -> terry.reedy
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
debugger and debugger_r: tests are subminimal because instantiating classes is
not trivial.
dynoption: skipped because I expect it will be replaced and deleted when I
review PR to do so.
editor: I discovered, or rediscovered, a new shutdown issue, with
Terry J. Reedy added the comment:
New changeset ee5ef309c7e2daef1248730145408f700732c42e by Terry Jan Reedy in
branch 'master':
bpo-33855: Minimally test all IDLE modules. (GH-7689)
https://github.com/python/cpython/commit/ee5ef309c7e2daef1248730145408f
Change by Terry J. Reedy :
--
pull_requests: +7345
___
Python tracker
<https://bugs.python.org/issue33855>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I am going to accept Raymond's rejection of a general change. I will
reconsider the tkinter doc should I ever work on it.
For IDLE code, I have settled on 'from tkinter import Tk, Text, ..., perhaps
followed by 'from tkinter.ttk i
Terry J. Reedy added the comment:
New changeset 833b3d2dcc7043be20ac19f7821552fcb21f4365 by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-33855: Minimally test all IDLE modules. (GH-7689) (GH-7734)
https://github.com/python/cpython/commit/833b3d2dcc7043be20ac19f7821552
Terry J. Reedy added the comment:
I reran Dino's test.py on current master on Win10 and got
Traceback (most recent call last):
File "f:/dev/tem/recursion_crash.py", line 23, in
f()
File "f:/dev/tem/recursion_crash.py", line 18, in f
f()
File "
Terry J. Reedy added the comment:
c.create_text(100, 100, angle=90.0, text='test text')
is a tclerror in 8.5 and works in 8.6.
--
nosy: +serhiy.storchaka -BreamoreBoy
___
Python tracker
<https://bugs.python.o
Rick J. Pelleg added the comment:
Thanks!
On Sat, Jun 16, 2018, 18:53 Carol Willing wrote:
>
> Carol Willing added the comment:
>
> Hi Rick,
>
> I'm closing this issue as not reproducible. Thanks for filing it and using
> Turtle.
>
> --
> nosy: +w
Terry J. Reedy added the comment:
There are now several official translations: see current doc pages, the bottom
of https://devguide.python.org/experts/, and
https://www.python.org/dev/peps/pep-0545/. According to the pep, discussion is
on doc-sig. https://mail.python.org/mailman/listinfo
Terry J. Reedy added the comment:
Al did post to python-ideas, with a link to a prototype. I think a fair
summary is that core-developers had at least the same reluctance to be involve
with code translations as with doc translations. We rejected doing the latter
as part of cpython by
Terry J. Reedy added the comment:
Behavior has not changed. It is a legitimate doc issue for both tkinter and
turtle.
The turtle intro, https://docs.python.org/3/library/turtle.html#introduction,
currently 24.1.1. says nothing about the sidebar and image. I think there
should be a short
Terry J. Reedy added the comment:
I am closing and rejecting this as not worth the bother and "ain't gonna
happen" at things now stand.
The 'IDLE icons' are not IDLE icons. They are Python application icons which I
adapted for IDLE. The one on the Windows taskb
Terry J. Reedy added the comment:
I believe the following means 'No' and that you can close this.
f:\dev\27>python -m test.regrtest test___all__ test_tcl
Running Debug|Win32 interpreter...
Run tests sequentially
0:00:00 [1/2] test___all__
0:00:24 [2/2] test_tcl
A
Terry J. Reedy added the comment:
New changeset 9d49f85064c388e2dddb9f8cb4ae1f486bc8d357 by Terry Jan Reedy
(Stéphane Wirtel) in branch 'master':
bpo-33856: Add "help" to the welcome message of IDLE (GH-7755)
https://github.com/python/cpython/commit/9d49f85064c388e2dddb
Terry J. Reedy added the comment:
Thanks for the clarification.
>>> help works
but is not in the sign-on message, even though it is by far the most important
item mentioned. I just merged to master.
--
assignee: -> terry.reedy
components: +IDLE
resolution: not a b
Change by Terry J. Reedy :
--
pull_requests: +7366
___
Python tracker
<https://bugs.python.org/issue33856>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset c488558faaff4ffa44ba20e0c1f1fc8f18fe722f by Terry Jan Reedy in
branch '2.7':
[2.7] bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) (GH-7758)
https://github.com/python/cpython/commit/c488558faaff4ffa44ba
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:
There will be more IDLE entries when features are added to maintenance
releases. See What's New 3.6 for examples, and PEP 434 for further
explanation. I prefer to have one issue for all patches to that se
Change by Terry J. Reedy :
--
pull_requests: +7369
___
Python tracker
<https://bugs.python.org/issue33855>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I agree with David about replacing `x' with 'x' instead of ``x``, so please
make this change. Do you know what ``x.y = v'' is supposed to mean?
David, do you want one PR with 139+ changes, or should we start with fewer?
Patrick, a
Terry J. Reedy added the comment:
What do you think of changing 'ToolTip' to 'Tooltip'? The me, the extra 'T' is
over-aggressive camel-casing that impedes rather than aids reading.
test_tooltip.py was missing the unittest invocation at the end, so I could
Terry J. Reedy added the comment:
As I mentioned elsewhere, I can a) imagine using this with dialogs to pop up
hints about the particular entry widget, and b) would like the popups to
respond keyboard (Tab) focus changes as well as mouse movement focus changes.
Looking at the config dialog
Terry J. Reedy added the comment:
master, and maybe backport from there, unless the PR never touches master.
I wonder if we should bring this up on pydev. Without discussion and
agreement, someone might object just because there are so many changes. Or
someone might say that they want the
Terry J. Reedy added the comment:
In my last comment above, I forgot that this issue is about *docstrings*. We
do not officially process docstrings with Sphinx, so there are no warnings to
be suppressed.
PEP 8, which covers style for the stdlib, refers to
https://www.python.org/dev/peps
Terry J. Reedy added the comment:
Are you talking about the python shell, run in a text console window, or IDLE's
GUI shell? The components you mark include both.
If the former, do you mean only on linux or all systems? You and Python are
more or less at the mercy of the console yo
Terry J. Reedy added the comment:
The way to clear an editor window at least on Windows is ^A (select all) and
delete, which can be any of BS (backspace) or DEL or ^X (Cut). The latter
'moves to the clipboard. In Shell, select all selects everything, but ^X
enters '^x',
Change by Terry J. Reedy :
--
superseder: -> IDLE: Patch to make PyShell behave more like a Terminal
interface
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
These issues are not as simple as you think. But anyway, clearing the shell in
#6143.
Shell is a modified editor. Currently, the arrows move the cursor around just
as in the editor. For multiline statements, this is essential, and even for
single-line
Terry J. Reedy added the comment:
New changeset ea3dc8029ab6a0f1ee6a8a72f1612dea74892e08 by Terry Jan Reedy in
branch 'master':
bpo-33855: More edits and new minimal tests for IDLE (GH-7761)
https://github.com/python/cpython/commit/ea3dc8029ab6a0f1ee6a8a72f1612d
Terry J. Reedy added the comment:
Thanks. I have presumed that Linux consoles are also line oriented, but
hesitated to say so without really knowing so.
--
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
> AFAIK `name' is common writing of quotes in English texts
I don't remember ever seeing it before. It looks like a typo to me, and I am
sure it will to most readers. I think it should be corrected as if it
Terry J. Reedy added the comment:
RestructuredText, DocUtils, and Sphinx were developed independently, by people
other than the pydev/cpython group. (The proposal to include DocUtils in the
stdlib was rejected.) We converted to .rst for the Python documentation
sources files about a
Terry J. Reedy added the comment:
I agree with David. I would like the ugly markup changed independent of how
Sphinx treats it. I was thinking of changing the title to "Change obsolete tex
markup in stdlib docstrings". The intent of `word' was for people to see
balanced q
Terry J. Reedy added the comment:
Spinoffs:
change rstrip.RstripExtension to Rstrip
change stackviewer.StackBrowser to accept exception
--
stage: patch review -> test needed
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
pull_requests: +7389
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issue33855>
___
___
Python-
Terry J. Reedy added the comment:
Change windows.py to window.py, in line with change of menu. Should be safer
with everything imported.
--
stage: patch review -> test needed
___
Python tracker
<https://bugs.python.org/issu
7401 - 7500 of 13135 matches
Mail list logo