Terry J. Reedy added the comment:
Christian: IDLE and test_idle require threading. I once tested for threading in
test_idle (not sure about IDLE itself) but removed the test when threading was
made supposedly non-optional. Test_idle still tests for tkinter and idlelib.
For PR 32352. did
Change by Terry J. Reedy :
--
components: +Tests -IDLE
title: IDLE UI crashes on Chromebook Linux/Bullseye -> Python tests fail on
Chromebook Linux/Bullseye
type: crash -> behavior
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
"Thonny GUI uses the same as IDLE": I presume this means that Thonny also uses
tkinter and both fail, which means that tkinter is not working right. Your
test run indicates that python is not running correctly either. It only tried
to run
Terry J. Reedy added the comment:
I posted look_tk3, I believe, as an answer to an SO question.
https://stackoverflow.com/questions/47895765/use-asyncio-and-tkinter-or-another-gui-lib-together-without-freezing-the-gui/47896365#47896365
Change by Terry J. Reedy :
--
title: IDLE / Thonny UI crashes on Chromebook Linux/Bullseye -> IDLE crashes on
Chromebook Linux/Bullseye
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
This issue tracker is for improving the CPython distribution. It is not a
tracker for other software, or for general help with running Python. For the
latter, try
https://mail.python.org/mailman/listinfo/python-list
Thonny is 3rd party software with its
Change by Terry J. Reedy :
--
nosy: -paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue47226>
___
___
Terry J. Reedy added the comment:
" keys = pygame.key.get_pressed() is showing error called unexpected indent"
The problem is that the keys line in indented one less space than the line
above. A shorter example below.
if True:
a = 1
b = 2
SyntaxError: unindent does not
Terry J. Reedy added the comment:
That issue has my previous experiments. Thank you Serhiy for finding it ;-).
--
resolution: -> duplicate
superseder: -> Integrate tkinter and asyncio (and async)
___
Python tracker
<https://bugs.p
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> enhancement
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
New changeset 281f980d354d1709018a2dc77f79388faf3e56c0 by Michał D in branch
'main':
bpo-46033: Clarify for-statement execution (GH-30025)
https://github.com/python/cpython/commit/281f980d354d1709018a2dc77f79388faf3e56c0
--
nosy: +t
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 01be5d6446abbdd95d0c18bd19a58a62b05568d8 by Terry Jan Reedy in
branch 'main':
bpo-24563: Link encoding names to encoding declarations (GH-32274)
https://github.com/python/cpython/commit/01be5d6446abbdd95d0c18bd19a58a
Change by Terry J. Reedy :
--
pull_requests: +30337
pull_request: https://github.com/python/cpython/pull/32274
___
Python tracker
<https://bugs.python.org/issue24
Terry J. Reedy added the comment:
I am writing a PR with an internal link. I decided that linking to Standard
Encodings is sufficient. The Python Text Encodings section follows that.
Anyone wanting to use any of those can experiment to see which work
Terry J. Reedy added the comment:
I did some somewhat similar experiments a few years ago. I will try to find
the code sometime.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue47
Terry J. Reedy added the comment:
I think that this should be closed as rejected, and that Patrick should remove
the 'return's that are in front of 'yield from ...'. Then 'yield from x' will
be a statement, not an expression, and the ()s will not b
New submission from Terry J. Reedy :
In 3.10 and 3.11:
>>> while s := input.read(MAXBINSIZE):
... while len(s) < MAXBINSIZE and ns := input.read(MAXBINSIZE-len(s)):
File "", line 2
while len(s) < MAXBINSIZE and ns := in
Terry J. Reedy added the comment:
Raymond and Serhiy, you were the last two active devs to touch numbers.py.
--
nosy: +rhettinger, serhiy.storchaka, terry.reedy
___
Python tracker
<https://bugs.python.org/issue47
Terry J. Reedy added the comment:
3.8 only gets security patches. If you can, please test with a newer version.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue47
J Y added the comment:
Do you think it's worth changing it to just activate and adding a footnote
mentioning the variations as I've been a dev for a few years now and it stumped
me for a minute as I work in a few different envs.
Mainly thinking of making setting up venv
Stephen J. Turnbull added the comment:
I'm not going to have time to look at the PR for a couple days.
I don't understand what the use case is for writing or appending with filenames
in a non-UTF-8 encoding. At least in my experience, reading such files is
rare, but I have never
Terry J. Reedy added the comment:
In the IDLE Help menu, 'Python Docs', default hotkey 'F1', invokes
'<>', which is handled by EditorWindow.help_docs. For Windows,
line 599, is 'os.startfile(self.help_url)'. (Otherwise, webbrowser is
New submission from J Y :
https://docs.python.org/3/tutorial/venv.html
For windows, tutorial-env\Scripts\activate.bat doesn't appear to set up venv
successfully.
Instead, tutorial-env\Scripts\activate (without .bat) works. This may confuse
new users if this is not rect
Terry J. Reedy added the comment:
ttk.Treeview also has problems, at least on some systems and versions.
https://mail.python.org/pipermail/tkinter-discuss/2022-March/004226.html
HiDPI displays and tkinter [cont]
https://mail.python.org/pipermail/tkinter-discuss/attachments/20220316/843e7076
Terry J. Reedy added the comment:
On Win10, running 3.11.0a5+ from command line, upper ABC and boxes flicker when
strings are displayed. (When run with from IDLE editor, there is no flicker
except sometimes when moving mouse over or off title bar buttons.) (3.8 only
gets security fixes
Change by Terry J. Reedy :
--
title: "SyntaxError: non-default argument follows default argument" should be
"parameter" -> "SyntaxError: non-default argument follows default argument"
confuses
___
Python
Terry J. Reedy added the comment:
Current message same in 3.11 and 3.9, but I am not sure about backporting to
old parser. However merges a change, if any, can decide.
--
nosy: +pablogsal, terry.reedy
stage: -> needs patch
type: -> behavior
versions: +Python 3.11 -Pyth
Terry J. Reedy added the comment:
We started using ttk widgets in 3.6. As I said above, the real solution should
be to use ttk.Treeview. This is issue 31552.
--
resolution: -> fixed
status: open -> closed
superseder: -> IDLE: Convert browswers to use ttk
Terry J. Reedy added the comment:
3. continued. As noted in #22628, idlelib.tree has line spacing and other stuff
hardcoded so it will not work properly on all monitors.
--
___
Python tracker
<https://bugs.python.org/issue31
Terry J. Reedy added the comment:
I recompiled, retested, and all tests are ok, with no unexpected box. Thank
you all.
The vcruntime warnings are also gone, so I will chalk them up to a onetime
glitch.
--
___
Python tracker
<ht
Terry J. Reedy added the comment:
tk release availability is a bit confusing.
https://wiki.tcl-lang.org/page/Changes+in+Tcl%2FTk+8%2E6
appears to lists things 'new' in 3.6.1, but that seems to mean new since 8.5.1,
as it includes thing introduced in 8.5.n, where n > 1. For
Terry J. Reedy added the comment:
Ronald: According to a page (which I cannot find, E. Paine should know) Centos
7 has the oldest tcl among current *nix distributions.
https://centos.pkgs.org/7/centos-x86_64/tcl-8.5.13-8.el7.x86_64.rpm.html
says it is 8.5.13, which is what I remember from
Terry J. Reedy added the comment:
Re the 3.9/3.10 warnings: I have not intentionally touched my C install in
years. I don't know what Windows' updates do (most recently yesterday) . I
presume vcruntime140.dll is on my C: ssd, which has shown no problems. Debug
runs w/o -j0 nor
New submission from Terry J. Reedy :
3.11 apparently builds without error, and 'python' and 'python -m idlelib'
appears to start normally, but there is a new problem.
python -m test
raises OS box with 'Debug Assertion Failed!', program python_d.exe,
Fil
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 cedd2473a9bebe07f3ced4f341cf58a2fef07b03 by slateny in branch
'main':
bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631)
https://github.com/python/cpython/commit/cedd2473a9bebe07f3ced4f341cf58
Terry J. Reedy added the comment:
https://stackoverflow.com/questions/71290382/how-do-i-adjust-python-idle-shell-settings-so-that-the-next-line-of-code-i-type
is from someone who, for whatever reason, likes having blank space in the shell
below the input prompt. It is not clear whether
Terry J. Reedy added the comment:
"IOBase" is a public name and IOBase has an __init__ method. It definitely has
a public constructor. However, like other abstract base classes, it is not
meant to be directly instantiated by users other than writers of other classes.
Ditto
Change by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<https://bugs.python.org/issue46849>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Posting a thousand line message makes following a discussion extremely
difficult. Move it into an attachment, if you did not do that already, and
delete the message by 'editing' it. As I said, I cannot otherwise respon
Change by Terry J. Reedy :
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue46854>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
It is possible that some core developer may get regular valgrind reports, but I
would not know who. I am pretty sure that you should run it at least on the
latest release of the 'main' branch, 3.11.0a5, and perhaps even better, the
current t
Terry J. Reedy added the comment:
CPython, at least, allows users to insert non-string keys in namespace dicts
that are conceptually string-key only.
>>> globals()[0] = 'zero'
>>> globals()[0]
'zero'
>>> vars()
{'__name__': '__mai
Terry J. Reedy added the comment:
With two exceptions, nice suggestions if feasible.
>>> def foo(*args=None): pass
SyntaxError: * argument cannot have default value
>>> def foo(**kwargs=None): pass
SyntaxError: ** argument cannot have default value
Good.
>>>
Change by Terry J. Reedy :
--
title: Installer Wizard is unclear and has redundant settings -> Windows
installer is unclear and has redundant settings
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue46816>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
nosy: +davin, pitrou
title: multiprocessing.connection.Client doesn't support ipv6 -> Make
multiprocessing.connection.Client support ipv6
___
Python tracker
<https://bugs.python.org
Change by Terry J. Reedy :
--
nosy: -terry.reedy
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issue37426>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
Also, which of the two patches.
Irit, you just patched Temp file doc, can you look at the PR code?
--
nosy: +iritkatriel
___
Python tracker
<https://bugs.python.org/issue26
Terry J. Reedy added the comment:
Éric, you might use git log or git blame to see who that is active has patched
the relevant file in the last few years.
--
___
Python tracker
<https://bugs.python.org/issue26
Change by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<https://bugs.python.org/issue34429>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
#46830 is a duplicate request.
--
versions: +Python 3.11 -Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue36
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> IDLE: Add search to textview.ViewWindow
___
Python tracker
<https://bugs.python
Change by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<https://bugs.python.org/issue40358>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
pull_requests: -29607
___
Python tracker
<https://bugs.python.org/issue45641>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
For whatever reason, all builtins with a __bool__ method appear to share the
same docstring. For example,
>>> range.__bool__.__doc__
'self != 0'
>>> bool(range(0))
False
>>> bool(range(1))
True
The concrete collect
Terry J. Reedy added the comment:
The conversions from 0o777 to 511 in 3.10 and 3.11 but not in 3.9 are these:
https://docs.python.org/3/library/pathlib.html#pathlib.Path.mkdir
Path.mkdir(mode=511, parents=False, exist_ok=False)
https://docs.python.org/3/library/os.html#os.mkdir
os.mkdir
Terry J. Reedy added the comment:
With IDLE, I have issues with trying to test IDLE code without retesting
tkinter, as well as deciding on the proper units of behavior to test.
Some suggestions:
1. Add a docstring to the module with guidelines, after review from a couple of
others.
For
Terry J. Reedy added the comment:
Even if deprecated, it will be around for at least 2 versions. A patch now
might be worthwhile, but I don't know who would review it.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
As 'crash', as used here, is when python exits abnormally *without* an
exception traceback. The traceback in the linked report is:
Traceback (most recent call last):
File "video2x.py", line 53, in
from upscaler import AVAILABLE_D
Terry J. Reedy added the comment:
I think pathlib should be raising TypeError, ValueError, or something else as
appropriate. Or not raising in situations Eryk indicated. x/0 *could* be +-
float('inf'), but we don't raise NotImplementedError for it.
--
nos
Terry J. Reedy added the comment:
There is no object.__bool__. None.__bool__.__doc__ appears to be an accidental
copy of bool/int/float/complex.__bool__.__doc__. It should just be 'False'.
--
nosy: +terry.reedy
title: object.__bool__ docstring is wrong -> None.__bool__
Terry J. Reedy added the comment:
Allowing no parentheses is also consistent with the following:
for x in 1,2,3: print(x)
--
nosy: +terry.reedy -jwilk
___
Python tracker
<https://bugs.python.org/issue46
Change by Michael J. Sullivan :
--
keywords: +patch
pull_requests: +29517
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31367
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael J. Sullivan :
class A:
def foo(self, cls): return 1
class B: pass
class B:
bar = classmethod(A().foo)
B.bar()
In Python 3.8 and prior, this worked. Since Python 3.9, it produces "TypeError:
A.foo() missing 1 required positional argument:
Terry J. Reedy added the comment:
Issue 46746 is the followup for browsers (currently restricted to .py files)
and anything else.
--
title: Make IDLE recognize .pyi stub files (and .pyw) as python source -> Make
IDLE recognize .pyi stub files as source for open, save, and e
New submission from Terry J. Reedy :
Python will attempt to execute any file it can decode to unicode text as a
startup script. It will only import .py files as a module. #45447 turned on
syntax coloring for .pyi stub files. (.pyw files and files starting with
"!#.*python" we
Terry J. Reedy added the comment:
New changeset 6331c08d1c3248ff47a7b8e0045c9023c9af672c by Terry Jan Reedy in
branch 'main':
bpo-45447: Fix entry in What's New 3.11 (GH-31307)
https://github.com/python/cpython/commit/6331c08d1c3248ff47a7b8e00
Terry J. Reedy added the comment:
New changeset cef91ca80c41749824eca1d4b2c99731e3d5f64c by Terry Jan Reedy in
branch 'main':
bpo-45447: Add entry to What's new 3.9 (GH-31305)
https://github.com/python/cpython/commit/cef91ca80c41749824eca1d4b
Terry J. Reedy added the comment:
New changeset 2d98433549be358d1c192e30e51b8d345d618cc7 by Terry Jan Reedy in
branch 'main':
bpo-45447: Add entry to What's new 3.10 (GH-31304)
https://github.com/python/cpython/commit/2d98433549be358d1c192e30e
Change by Terry J. Reedy :
--
pull_requests: +29468
pull_request: https://github.com/python/cpython/pull/31307
___
Python tracker
<https://bugs.python.org/issue45
Terry J. Reedy added the comment:
New changeset 9fabcfbe68ff81ef5f17f86a93daf9cce9d83876 by Terry Jan Reedy in
branch '3.10':
bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)
https://github.com/python/cpython/commit/9fabcfbe68ff81ef5f17f86a93daf9
Change by Terry J. Reedy :
--
pull_requests: +29466
pull_request: https://github.com/python/cpython/pull/31305
___
Python tracker
<https://bugs.python.org/issue45
Change by Terry J. Reedy :
--
pull_requests: +29465
pull_request: https://github.com/python/cpython/pull/31304
___
Python tracker
<https://bugs.python.org/issue45
Change by Terry J. Reedy :
--
pull_requests: +29464
pull_request: https://github.com/python/cpython/pull/31303
___
Python tracker
<https://bugs.python.org/issue45
Terry J. Reedy added the comment:
New changeset 50cf4991c49e19f917305dd7b9c71085c11edddb by Alex Waygood in
branch 'main':
bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)
https://github.com/python/cpython/commit/50cf4991c49e19f917305dd7b9c710
Terry J. Reedy added the comment:
I am guessing that N++ or its GUI framework uses a transparent overlay. For
tkinter, that would mean a transparent Canvas on which one could draw vertical
dotted gray lines 1-pixel wide. However, Serhiy Storchaka in msg213643 of
#20920 said: "Tk sup
Terry J. Reedy added the comment:
'│' is a bit taller that ascii bar '|'; hex(ord('│')) = '0x2502'. It is a bit
heavy. In this Windows Firefox box it is slightly lighter than | but in IDLE
with Source Code Pro, it is slightly darder. Worse is bei
Terry J. Reedy added the comment:
I loaded a .py file into N++ and see them. Under 3 x, there are clearly
separate minidots. Under 10x, the dots are hardly visible. They are not
characters in the text (cannot be copied) but a special manipulation of the
column of pixels 'between
Terry J. Reedy added the comment:
[Please just select the current development version. Others can be marked if
and when backported. 3.8 and before only get security fixes. Same for 3.9
after about next May 31.]
Please explain exactly what you want and rewrite something like the following
Terry J. Reedy added the comment:
I wish it were otherwise, but configuration defaults cannot be changed as some
people would not like it and it would badly interact with custom
configurations. We can add new themes and keysets, but that should be very
rare. We can consider adding
Terry J. Reedy added the comment:
I broaden the issue title scope and will correspondingly restrict the PR scope.
'Recognition' applies to open and save dialogs, syntax marking, and module
browsing. (The latter needs fixing for .pyw also.)
Improving the handling of no extens
Terry J. Reedy added the comment:
For the open dialog, we only need the expanded extension list. People with
no-extension python code file must select 'all files'. Once the file is open,
we need the issource function to decide whether to turn on the colorizer. I
intend to
Change by Terry J. Reedy :
--
nosy: -miss-islington
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
title: Generator-based coroutines in Python 3.10 docs -> Generator-based
coroutines in Python 3.
Terry J. Reedy added the comment:
New changeset 459e26f0987a12a19238baba422e13a8f7fcfca3 by Miss Islington (bot)
in branch '3.9':
[3.9] bpo-46609: Update asyncio-task coroutine doc (GH-31132)
https://github.com/python/cpython/commit/459e26f0987a12a19238baba422e13
Terry J. Reedy added the comment:
I think the incorrect qualification should be dropped, if sanely feasible.
More misleading are hidden positional-only args. Doc:
min(iterable, *[, key, default])
min(arg1, arg2, *args[, key])
>>> min(iterator=(1,3))
Traceback (most recent
Terry J. Reedy added the comment:
New changeset 5603db43ba7ba5568b7516d0e28730a2bc1e1f26 by Terry Jan Reedy in
branch '3.10':
[3.10] bpo-46609: Update asyncio-task coroutine doc (GH-31132)
https://github.com/python/cpython/commit/5603db43ba7ba5568b7516d0e28730
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +29311
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/31132
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Looking at the doc answered the question. Further down the 3.10 version,
'3.10' was revised to '3.11', and indeed, the decorator and the entire section
are gone. There was no change in 3.9 doc, but should be. I will submit a PR
Terry J. Reedy added the comment:
Yuri or Andrew: either of you know the fix for "Support for generator-based
coroutines is deprecated and is scheduled for removal in Python 3.10."?
--
nosy: +asvetlov, terry.reedy, yselivanov
___
Pyth
Change by Terry J. Reedy :
--
assignee: -> terry.reedy
components: +IDLE
title: fix typo in test_calltip.py -> IDLE fix typo in test_calltip.py
type: enhancement -> behavior
versions: +Python 3.10, Python 3.9
___
Python tracke
New submission from Terry J. Reedy :
New changeset 222865daabfa7a8b12ca9a5e9c23b9ce217448f1 by Caio Agiani in branch
'main':
bpo-46588: fix typo in test_calltip.py (GH-31119)
https://github.com/python/cpython/commit/222865daabfa7a8b12ca9a5e9c23b9ce217448f1
--
nosy: +t
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10, Python 3.11, Python 3.9
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
New changeset d1df81a730499cc6286d02afa6028a1e9c22bbbf by Terry Jan Reedy in
branch 'main':
bpo-46630: Fix initial focus of IDLE query dialogs (GH-31112)
https://github.com/python/cpython/commit/d1df81a730499cc6286d02afa6028a
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +29295
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31112
___
Python tracker
<https://bugs.python.org/issu
New submission from Terry J. Reedy :
On Mac, and I presume *nix in general, query boxes open with the focus on the
first entry box, with the cursor displayed. One can immediate enter a line
number, dotted module name, or whatever. On Windows, since 3.9, one must hit
Tab or click on the
Terry J. Reedy added the comment:
New changeset 916d0d822c79933f4c420f7a36f16f3eb788646b by Terry Jan Reedy in
branch 'main':
bpo-45975: IDLE - Remove extraneous parens (GH-31107)
https://github.com/python/cpython/commit/916d0d822c79933f4c420f7a36f16f
Change by Terry J. Reedy :
--
pull_requests: +29290
pull_request: https://github.com/python/cpython/pull/31107
___
Python tracker
<https://bugs.python.org/issue45
Terry J. Reedy added the comment:
New changeset fafd2dadf63973a04f5693e5be19f3e7521c10d4 by Terry Jan Reedy in
branch '3.9':
[3.9] bpo-45975: Use walrus operator for some idlelib while loops (GH-31083)
https://github.com/python/cpython/commit/fafd2dadf63973a04f5693e5be19f3
1 - 100 of 1036 matches
Mail list logo