Terry J. Reedy added the comment:
The translations of the docs are maintained in a separate repository by a
separate group of people. The sidebar on the left of the page you linked to
has a link called 'ζδΊ€ Bug' to
https://docs.python.org/zh-cn/3/bugs.html. I am guessing that th
Terry J. Reedy added the comment:
This code derived from the blurry image
lst = ['malaysian', 'malayalam', 'a']
ip = input('word ')
li = len(ip)
miss = 0
for word in lst:
if len(word) == li:
for j in range(li-1): # skip last be
Terry J. Reedy added the comment:
For myself, I only want this for 'large' outputs. I prefer something like the
following left alone.
>>> help('continue')
The "continue" statement
continue_stmt ::= "continue"
&q
Terry J. Reedy added the comment:
New changeset 132acaba5a7f01373ca624b1a5975b190fe866f5 by Terry Jan Reedy (Tal
Einat) in branch 'master':
bpo-35771: IDLE: Fix flaky tool-tip hover delay tests (GH-15634)
https://github.com/python/cpython/commit/132acaba5a7f01373ca624b1a5975b
Terry J. Reedy added the comment:
To decide whether I agree that a live delay test is needed would take time and
energy currently better applied to other issues. Since the 2nd PR reduces net
test time, and should be at least as good in avoiding spurious failures, I am
merging it now. If I
Terry J. Reedy added the comment:
I should have said, 'who disable autosqueeze'. Anyway, an option to disable
help autoview will make me more comfortable adding it.
A similar change would be to add 'Squeeze & View
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 580bdb0ece681537eadb360f0c796123ead7a559 by Terry Jan Reedy (Tal
Einat) in branch 'master':
bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (GH-15664)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
Using -D was a temporary kludge until someone updated the html2tk writer. The
key to the fix was adding the prevtag attribute with opener? field.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -&g
Terry J. Reedy added the comment:
New changeset 2cd902585815582eb059e3b40e014ebe4e7fdee7 by Terry Jan Reedy
(GeeTransit) in branch 'master':
bpo-37902: IDLE: Add scrolling for IDLE browsers. (#15368)
https://github.com/python/cpython/commit/2cd902585815582eb059e3b40e014e
Terry J. Reedy added the comment:
Thanks for the patch. More IDLE patches would be welcome should you want to
attack something else.
Possible browser scrolling refinements:
1. Scroll by an integral number of labels. This is easy with text. For our
synthesized tree, we would have to
New submission from Terry J. Reedy :
Currently, Shell prints restart lines as
=...= RESTART filename =...=
where filename is 'Shell' or the full pathname. The code is
tag = 'RESTART: ' + (filename if filename else 'Shell')
halfbar = ((int(cons
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +15364
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/15709
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
title: IDLE Shell: Redesign minimum restart line -> Refine IDLE Shell restart
line
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
stage: patch review -> commit review
title: Refine IDLE Shell restart line -> IDLE Shell: Refine restart line
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
New changeset 38da805d563422cf1bb9cd9be24c73806840fe30 by Terry Jan Reedy in
branch 'master':
bpo-38041: Refine IDLE Shell restart lines. (GH-15709)
https://github.com/python/cpython/commit/38da805d563422cf1bb9cd9be24c73
Change by Terry J. Reedy :
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
versions: +Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
Much better. I prefer the first version with closers on the last item.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue37
Terry J. Reedy added the comment:
Bob, this issue tracker is for managing patches to the cpython repository. not
for 'help me understand' requests, The latter belong on, for instance,
python-list. Unless you have a specific proposal, other than leaving
'basestring
Terry J. Reedy added the comment:
Regardless of the intention of the _xx... author, intransitive equality is
objectionable as it violates the assumption of sets and dicts. We went through
this before with decimal.Decimal when the original implementation had 1.0 == 1
== Decimal(1) but 1.0
Terry J. Reedy added the comment:
My initial thought is similar to that of Michael Hudson in msg23757, that
Python should not be hostage to foreign code processors. I also note that the
2010 patch is by Martin Loewis, who was part of the 2006 discussion, and that
the 2010 patch was about
Terry J. Reedy added the comment:
Wiktionary and dictionary.com see 'writeable' as an alternate spelling of
'writable', while merriam-webster.com does not. Neither of the former say
anything about American versus British usage. I wonder if the first two are
rubber-stam
Change by Terry J. Reedy :
--
nosy: +benjamin.peterson
title: Incorrect "fixing" of isinstance tests for basestring -> Change 2to3 to
replace 'basestring' with '(str,bytes)'
versions: +Python 3.9 -Python 3.7
_
Terry J. Reedy added the comment:
Replacing 'basestring' with 'str' is not a bug in the behavioral sense because
it is intended and documented.
https://docs.python.org/3/library/2to3.html#2to3fixer-basestring
How the current behavior is correct: 2to3 converts syntacticall
Terry J. Reedy added the comment:
Replace 2. above with "2. Replace 'basestring' with '(unicode, bytes)'."
--
___
Python tracker
<h
New submission from Terry J. Reedy :
#38077 fixed the bug of internal runcommand code not deleting 'argv' from the
user namespace. This issue is about not running code there.
When a subprocess is running, pyshell.ModifiedInterpreter.runcommand runs
python code created by IDLE
Terry J. Reedy added the comment:
I verified that 'argv' (bound to sys.argv) appears for all three versions
after running an editor file, but not when Shell is started normally, without a
file.
The immediate culprit is the runcommand code in runscript, lines 156-168. As
part of
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +15466
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/15818
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
5 Delete use of 'extension' referring to converted features.
"If you donβt like the ACW popping up unbidden, simply make the delay longer or
disable the extension." Remove ' or ...'
--
Terry J. Reedy added the comment:
New changeset c59295a1ca304f37ca136dd7efca9e560db27d28 by Terry Jan Reedy in
branch 'master':
bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818)
https://github.com/python/cpython/commit/c59295a1ca304f37ca13
Terry J. Reedy added the comment:
The get_saved tracebacks reported in #35263 and #38128 are the same except for
line numbers. The more recent, from 3 days ago on Mac.
Exception in Tkinter callback
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Version
Terry J. Reedy added the comment:
None.get_saved (closing shell) was reported in #35263.
None.filename (closing editor) was reported in #35379.
Up-to-date reports in one page were a bit helpful.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
s
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder: -> IDLE's close fails when io.filename set to None
___
Python tracker
<https://bugs.p
Terry J. Reedy added the comment:
Raymond, I presume 1. your tracebacks are on macOS. 2. They occur with
installed, not repository Python. 3. The missing attribute depends on whether
Shell or an editor window is closed either only or last. Please verify. What
macOS version? python.org
Terry J. Reedy added the comment:
I strongly doubt that IDLE crashed, as opposed to showing a traceback generated
by Python. If Python crashes, IDLE restarts instead of crashing.
I am closing this because all the essential information is still missing a week
after it was requested. There
Terry J. Reedy added the comment:
This tracker is for issues possibly leading to patches for the CPython
repository. Translations are not part of this repository and I am pretty sure
that .po files are not either.
--
nosy: +terry.reedy
resolution: -> not a bug
stage: -> re
Terry J. Reedy added the comment:
What happens if you immediately close the Shell window? Perhaps your bug only
appears after some amount of activity. (This is not true of the one I see with
repository python.)
--
___
Python tracker
<ht
Change by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<https://bugs.python.org/issue38106>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +15802
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16198
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
>From IDLE's viewpoint, the 2.7 failures are the same. In current 3.x,
>GetUserCfgDir has
warn = ('\n Warning: unable to create user config directory\n' +
userDir + '\n Check path and permissions.\n Exiting!\n
Terry J. Reedy added the comment:
New changeset 0048afc16a7e7301d5c565237db271505e5fbed9 by Terry Jan Reedy in
branch 'master':
bpo-38183: Test_idle ignores user config directory GH-16198)
https://github.com/python/cpython/commit/0048afc16a7e7301d5c565237db271
Change by Terry J. Reedy :
--
pull_requests: +15813
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16212
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
By reading idlelib code, I determined that the error must arise from
EditorWindow.close being called twice. I confirmed this with a debug print.
EW.close is called from close_event, PyShell.close, and
filelist.close_all_callback. For the AttributeError I
Terry J. Reedy added the comment:
New changeset dfd34a9cd58e8150c324190f746de919e140abe8 by Terry Jan Reedy in
branch 'master':
bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212)
https://github.com/python/cpython/commit/dfd34a9cd58e8150c324190f746de9
Terry J. Reedy added the comment:
Except for an unrelated gui test on AMD Alpine, the revised tests pass all
buildbots. So try with the reproducing condition whenever you want.
--
stage: patch review -> commit review
___
Python tracker
<
Terry J. Reedy added the comment:
Before closing this, I want to review #17822 and if the specific fix is
superceded by this one, remove it.
--
stage: patch review -> commit review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
When I thought a simple change to one file was enough, I thought to backport to
2.7. But given that I will not backport the followup changes that will affect
users, I am not going to backport the more complicated changes.
--
resolution: -> fi
Change by Terry J. Reedy :
--
title: test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir()
fails with PermissionError -> test_idle should not access or modify user config
directory
___
Python tracker
<https://bugs.pyth
Terry J. Reedy added the comment:
In msg266115, Robert Collins suggested "add a different name and deprecate
assertCountEqual".
In msg266184, Gregory Smith said "not against adding a new name if it makes
glorious sense, but we should not remove the old names from unittest
Terry J. Reedy added the comment:
Another report today on idle-dev that pasting emoji exits IDLE.
Serhiy, I applied the _tkinter part of your...args_2.patch to a branch of
current master -- see serhiy_tkinter.patch. (Could push branch if helpful.).
After recompiling _tkinter.c, pasting π±
Terry J. Reedy added the comment:
#17822 is not what I was thinking of, nor are #17614 or #22614, so I considered
this issue done for now.
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracke
Terry J. Reedy added the comment:
AttributeErrors on closing were a separate issue. They are now caught on
closing. #35379.
Save on Close is now modal on Windows also, in that one cannot do anything with
the Window being closed.
One can try to close a second dirty window. Saying 'n
Terry J. Reedy added the comment:
fix-nested-mainloop.patch was superceded by fix-nested2.patch for #24455.
I verified that the initial test now passes. When I click 'yes' in that box
popped up by step 4, both Shell and debugger windows disappear and IDLE exists.
The only questi
Terry J. Reedy added the comment:
The input glitch mentioned above no longer exists, so closing.
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
I am closing this as a duplicate of #21359 as I believe there is at least one
more non-working shortcut and because I believe the solution is to test all and
patch the default mac keyset all at once.
--
resolution: -> duplicate
stage: needs pa
Terry J. Reedy added the comment:
Still an issue. Several shortcuts do not work right, so I am generalizing the
issue.
1. Redo command accelerator acts as Undo.
2. Cmd-M minimizes instead of open module (#35104 has long discussion).
I at least one other issue mentions a similar problem
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue31930>
___
___
Python-bug
Change by Terry J. Reedy :
--
title: Refactor PyShell's breakpoint related methods -> IDLE: Refactor
breakpoint related methods
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue11820>
___
___
Python-bug
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue29926>
___
___
Python-bug
Change by Terry J. Reedy :
--
nosy: -kbk, roger.serwy
versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue24
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue21674>
___
___
Python-bug
Change by Terry J. Reedy :
--
nosy: -kbk, roger.serwy
versions: +Python 3.9 -Python 2.7, Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue23
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue21
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue15363>
___
___
Python-bug
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue25
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue25
Terry J. Reedy added the comment:
A horizontal text bar is added to a text view as needed (recent patch) when one
is used for the font sample. The latter fits or not according to the font
size. The same could be used for editor, or better, editor windows could
inherit from text views
Terry J. Reedy added the comment:
>>> raise SystemExit does not normally cause a restart.
--
nosy: -kbk, roger.serwy
versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
IDLE Help's newish section "User Output in Shell" makes some mention of this
but a bit more is still needed.
--
stage: test needed -> needs patch
versions: +Python 3.9 -Python 2.7, Python 3.5, Pyth
Change by Terry J. Reedy :
--
nosy: -kbk, roger.serwy
versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue21
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue23218>
___
___
Python-bug
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue3559>
___
___
Python-bug
Change by Terry J. Reedy :
--
versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue25733>
___
___
Python-bug
Terry J. Reedy added the comment:
If you mean that the crash no longer occurs with current 3.8.b4+ in the
repository, then you should close as 'out-of-date.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/is
Change by Terry J. Reedy :
--
nosy: +davin, pitrou
___
Python tracker
<https://bugs.python.org/issue38195>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
But in your response, please delete the message you are responding to (except
possibly a line or two).
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue38
Terry J. Reedy added the comment:
I like using 'multiset', but I think 'assertMultisetEqual', proposed by Martin
Panter in msg266207, is better than assertMultiSetEqual, as it does not imply
the existence of a class 'MultiSet'.
Raymond's comment "dist
Terry J. Reedy added the comment:
Victor, am I correct in thinking that this should be closed as either
intermittent, lacking in sufficient information for us to do anything, or
possibly a 3rd party issue?
--
nosy: +vstinner
___
Python tracker
Change by Terry J. Reedy :
--
pull_requests: +15943
pull_request: https://github.com/python/cpython/pull/16363
___
Python tracker
<https://bugs.python.org/issue13
Change by Terry J. Reedy :
--
pull_requests: +15945
pull_request: https://github.com/python/cpython/pull/16365
___
Python tracker
<https://bugs.python.org/issue13
Terry J. Reedy added the comment:
Recap: IDLE 3.x on Windows exits with UnicodeDecodeError when pasting into
editor, grep, or shell window a non-BMP astral character such as
π’ '\U000104a2', π, π '\U0001F40D', or
π± '\U0001F431' UTF-8 b'\xf0\x9f\x9
Change by Terry J. Reedy :
--
type: -> enhancement
versions: +Python 3.9 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue38277>
___
___
Python-
Terry J. Reedy added the comment:
The PSF and the core developer group do not have the resources to do this. Pie
in the sky proposals like this should be floated on python-list or perhaps
python-ideas, where you can get more answers as to 'Why not ...?" or perhaps
'How to .
Change by Terry J. Reedy :
--
title: Feature request: Add support to compile to native binary like as golang
-> Add support to compile to native binary like as with golang
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Python 3.7 does not compile
type: -> compile error
___
Python tracker
<https://bugs.pyt
Terry J. Reedy added the comment:
This is not a duplicate because Python *did* compile enough to fail a test.
--
components: +macOS
nosy: +ronaldoussoren, terry.reedy
resolution: duplicate ->
stage: resolved -> needs patch
status: closed -> open
superseder: Python 3.7
Terry J. Reedy added the comment:
#38295 gives error reports for test_py_compile with 3.8, which implies that
Python was compiled well enough to run and fail a test.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue38
Terry J. Reedy added the comment:
A function can fail to return an expected object by either returning a wrong
object or raising an (unexpected) exception. The assertXyz methods, which
ultimately raise AssertionError or something similar, are mostly about catching
the first kind of failure
Terry J. Reedy added the comment:
You neglected to state the observation that led to the conclusion of 'not
linked'. Using 3.8 on Win10, I replaced "plt.set_cmap('x')" with "tk.Tk()".
Then, clicking the button prints 'False' even when t
Change by Terry J. Reedy :
--
versions: +Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue38279>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
A test either passes or fails. Like a not operator, the expectedFailure
decorator inverts the result.
https://docs.python.org/3/library/unittest.html#unittest.expectedFailure
@unittest.expectedFailure
Mark the test as an expected failure. If the test
Terry J. Reedy added the comment:
The revised PR appears to fix this and other issues, although the presence of
astral chars in code being edited messes up tk's cursor positioning. Assuming
that this cannot be changed, we could add the the ability to replace astral
chars with \U es
Terry J. Reedy added the comment:
Aivar, thank you for opening the issue.
I believe what I meant about tkinter bind calls would be to conditionallly bind
'' to a function that returns 'break', thus claiming that the key
combination has been handled and that tk sh
Terry J. Reedy added the comment:
A week ago, I thought that the astral solution was to always replace with the
\U escape. With this patch, we can and should send them to read-only text
windows, and let the OS and font display it or a substitute. On Windows, at
least, the emoji which
Terry J. Reedy added the comment:
What do you mean by fixed? After deleting and remaking a pr_16545 branch, I
see the same result for clipboard_get.
--
___
Python tracker
<https://bugs.python.org/issue13
Terry J. Reedy added the comment:
After remembering to recompile (sorry), the test passes and clipgoard_get
returns the rocket. Very nice, thank you.
--
___
Python tracker
<https://bugs.python.org/issue13
Terry J. Reedy added the comment:
Printing the unquoted escape representation rather than a replacement char is a
bit strange and not what I expect from the python docs. I could see it as a
bug. In any case, on Windows, it is the Python REPL that raises, but only for
sys.stdout
Terry J. Reedy added the comment:
As with #22742, the problem, without PR 16583, only occurs with *nix. On
Windows, the traceback ends with "Exception: οΏ½" and a prompt is printed.
--
versions: +Python 3.9
___
Python track
Terry J. Reedy added the comment:
As noted on #13153, files with astral chars can now be read without an
exception, but the presence of astral chars messes up editing text that follows
at least on the same line by misplacing the cursor. I will open a new issue
about replacing such with \U
1901 - 2000 of 13130 matches
Mail list logo