Change by Terry J. Reedy :
--
versions: -Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue38316>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
I started a report on failures on my machine a few days ago, but never finished
editing. I am pasting in what I wrote so far. The same 4 tests fail today with
a rebuild 12 hours ago.
---
I ran the test suite on my 64-bit Win10 machine with fresh debug 32
Terry J. Reedy added the comment:
Ronald is correct, and for the reason given. Python functions are lexically
scoped, not dynamically scoped, and you are expecting the latter. The exec
global and local namespaces are used to resolve identifier in the code you
pass. Your first example
New submission from Terry J. Reedy :
I am closing this for now because there is no information upon which to
proceed, and because you closed your PR (without explanation). The nested
dicts returned by pyclbr already constitute a tree of nesting relationships
between the functions and
Terry J. Reedy added the comment:
The rest of the overly long title was "The install shows that it only supports
python 2.x but is listed under python 3.6+ docs."
The lines in question are from the 2nd to last example.
# An imaginary module that would make this work and be sa
New submission from Terry J. Reedy :
In my current 2.7.16+ Windows 10-64 repository build, and on at least one
8.1-64 buildbot, the tcl/tk version is 8.5.19
>>> tk.Tk().tk.call('info', 'patchlevel')
'8.5.19'
In my installed 2.7.17rc1, it is the old
Terry J. Reedy added the comment:
I think you misunderstood #32129. It was specific to macOS Aqua systems. On
Windows and generally on Linux, window title bars have a little icon on the
left end (at least on Windows). IDLE uses the tcl/tk GUI framework and by
default, on these systems
Terry J. Reedy added the comment:
I presume this is on macOS, with its finicky tk. Have you 'upgraded' to
Catalina? I have not, that I know of. I will try 3.8.0rc1 on my MacBook Air
tomorrow.
1. Jumps. All the way to before the beginning "Python 3.8..." splash line
Terry J. Reedy added the comment:
Without more information, we cannot do anything with this.
--
nosy: +terry.reedy
status: open -> pending
versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<
Change by Terry J. Reedy :
--
assignee: terry.reedy ->
components: +Installation
title: Microsoft Store app IDLE (Python 3.8) has dependency on msvcp140.dll ->
Microsoft Store app IDLE (Python 3.8) needs msvcp140.dll
type: crash ->
Terry J. Reedy added the comment:
For me, 'pyw -3.7 -m idlelib' in Command Prompt opens IDLE with 3.7.5. So does
the equivalent run by clicking the IDLE icon:
C:\Programs\Python37\pythonw.exe "C:\Programs\Python37\Lib\idlelib\idle.pyw"
This report reminds me that
Terry J. Reedy added the comment:
I added a note to #28866 about this. The fix in #36922 is likely an
enhancement that cannot be backported. Please retest with 3.7.5 if you can,
though I have no expectation of any change.
--
nosy: +serhiy.storchaka, terry.reedy
Terry J. Reedy added the comment:
Verified from Python.
>>> t = (1,2,3)
>>> t2 = t[:]
>>> id(t), id(t2)
(1672756229504, 1672756229504)
A partial slice cannot the original tuple, so I presume that the emphasis is
about returning a (new) *tuple*, rather than some s
Terry J. Reedy added the comment:
#38541 reports a severe attribute access slowdown in 3.7.4 in some situations.
(Fixed by the enhancement in #36922, which I presume cannot be backported.)
--
nosy: +terry.reedy
___
Python tracker
<ht
Change by Terry J. Reedy :
--
stage: -> test needed
versions: -Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue38538>
___
___
Python-
New submission from Terry J. Reedy :
When the Shell is active, the Run menu is disabled, but its shortcuts are not.
These are F5 Run Module, Shift-F5 Run ... Custom, and Alt-X Check Module. If
Shell has not been saved, the shortcuts do nothing, but once Shell has been
saved, they try to
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +16468
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/16939
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Trying to compile grep output is also bad. The ultimate fix is to subclass the
specialized code editor from the general text editor, instead of vice versa as
at present, but I leave that for later, and will simply check if the window
about to be compiled
Terry J. Reedy added the comment:
Given this, I reproduced the issue on Windows for both 3.7 and 3.8. The bug is
trying to compile the Shell window, after it has been saved, or an Output
window, with a prompt to save, for any of F5, Shift-F5, and Alt-X. There is no
existing issue I know
Terry J. Reedy added the comment:
New changeset e3f90b217a5152275b180b466bd503658a734462 by Terry Jan Reedy in
branch 'master':
bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939)
https://github.com/python/cpython/commit/e3f90b217a5152275b180b466bd503
Change by Terry J. Reedy :
--
pull_requests: +16472
pull_request: https://github.com/python/cpython/pull/16943
___
Python tracker
<https://bugs.python.org/issue34
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 e31a79a5b44357b409d71949dc5308889970f9ab by Terry Jan Reedy in
branch 'master':
bpo-34162: Last idlelib/NEWS.txt items for 3.8.0. (GH-16943)
https://github.com/python/cpython/commit/e31a79a5b44357b409d71949dc5308
Change by Terry J. Reedy :
--
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue34162>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +16475
stage: commit review -> patch review
pull_request: https://github.com/python/cpython/pull/16947
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
pull_requests: +16476
pull_request: https://github.com/python/cpython/pull/16948
___
Python tracker
<https://bugs.python.org/issue37
Change by Terry J. Reedy :
--
pull_requests: +16477
pull_request: https://github.com/python/cpython/pull/16949
___
Python tracker
<https://bugs.python.org/issue37
Terry J. Reedy added the comment:
New changeset a8fb9327fb9387b404d4b6ce55c608125f66b9ae by Terry Jan Reedy in
branch 'master':
bpo-37309: First idlelib/NEWS.txt for 3.9.0 (GH-16947)
https://github.com/python/cpython/commit/a8fb9327fb9387b404d4b6ce55c608
Terry J. Reedy added the comment:
New changeset 6d6418a075f272aeab93c6f2ec15c10257b94e1d by Terry Jan Reedy in
branch '3.8':
[3.8] bpo-37309: First idlelib/NEWS.txt for 3.8.1 (GH-16947)
https://github.com/python/cpython/commit/6d6418a075f272aeab93c6f2ec15c1
Terry J. Reedy added the comment:
New changeset baf2657eff82f5c33ae8194499d97ba963871655 by Terry Jan Reedy in
branch '3.7':
[3.7] bpo-37309: First idlelib/NEWS.txt for 3.7.6 (GH-) (#16949)
https://github.com/python/cpython/commit/baf2657eff82f5c33ae8194499d97b
Terry J. Reedy added the comment:
FWIW, I agree with closing this. I already changed my mind from my earlier
comment and decided that IDLE should maybe switch to using open and read_file
in different places, for the reasons given above. It might make testing
without depending on a local
Terry J. Reedy added the comment:
Batuhan, thanks for the nudge. For the record ...
If __new__ were a normal instance method, then 'some_class.__new__()' would be
a correct call, as 'some_class' would be passed to '__new__' as its first and
perhaps only a
Terry J. Reedy added the comment:
Both the menu items and the short cuts for these two functions on the Format
menu give these call errors. They are only visible if IDLE is started from a
console.
They work in 3.6; the regression is due to #36390. These 2 functions were
moved separately
Terry J. Reedy added the comment:
Interesting. The result of making these changes is legal code looking like
>>> if a:
if b:
c = 3
This has been proposed as the way Shell should work, but rejected as likely too
confusing to beginners as the indented code does not look
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +16533
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/17008
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
The old, long discussion of Shell indents is #7676 and a preceding issue
reference therein. My replacement is #37892.
The PR patch is simple enough to apply by to existing 3.7.5 and 3.8.0 installs.
--
stage: patch review -> test nee
Terry J. Reedy added the comment:
As stated in my second opening sentence, this issue "implements the first phase
of #37892", which gives the context and specific rationale.
There are 3 separate parts to a Python Shell.
1. Code entry, indentation, display, and copying. This i
Terry J. Reedy added the comment:
One of the related changes is to add multiple options for saving the shell
history. For editing, one wants code without prompts and output either
omitting or commented out. For doctests, one wants code with '>>> ' and '... '
Terry J. Reedy added the comment:
My previous response was to comments up to msg355812.
To answer Raymond's subsequent questions: The user will enter python code the
same as before. Currently, the indents and resulting appearance of the code on
Shell screen is different from (and
Change by Terry J. Reedy :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
versions: -Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue38
Terry J. Reedy added the comment:
Yes.
--
___
Python tracker
<https://bugs.python.org/issue37903>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Since these posts were more or less copied to pydev list, I am copying my
response on the list here.
---
> **tl;dr:** Various posts, linked below, discuss a much better replacement for
> untokenize.
If that were true, I would be interested.
Terry J. Reedy added the comment:
Since isinstance(Object.__call__, types.MethodType) is False, the 'fob' in
'inspect.signature(fob)' is Object. (See the initial get_argspec code.)
Indeed, 'inspect.signature(Object)' results in the traceback followi
New submission from Terry J. Reedy :
This is a spinoff from #38689, about 'strange_callable(' in Shell hanging,
because there is an uncaught exception is the run process. (See issue for
'strange_callable'.) Running IDLE from Windows Command Prompt, Windows
eventua
Terry J. Reedy added the comment:
Further experiments suggest a fix for the hang, which is not specific to this
example. See new issue #38695.
--
stage: -> test needed
type: -> behavior
versions: +Python 3.7, Python 3.9
___
Python t
Terry J. Reedy added the comment:
I pretty strongly dislike 'truthy' and 'falsey'. They look slangy and
https://en.wiktionary.org/wiki/truthy gives the main meaning as
(US, colloquial) Only superficially true; ...
The computer language usage is credited to Javascript
Terry J. Reedy added the comment:
Quick summary and opinions so far:
* Jump to top: general IDLE bug, fixed.
* Repeated quit message: never seen by me, likely IDLE bug. I need to check
code where message emitted.
* Arrow keys emit ? replacement char: never seen by me, likely tcl bug. IDLE
Change by Terry J. Reedy :
--
title: Operations on sets more than hundred times less efficient with python3.9
than with previous versions -> One operation on sets < 1/100th as efficient in
3.9 than before
___
Python tracker
Terry J. Reedy added the comment:
You are confusing the widget path component, an arbitrary string of chars other
than the separator '.', with the English word 'frame', which is also a tk
command. In tk docs, 'a *frame*' is a widget (tk window) created with the
Terry J. Reedy added the comment:
Victor, the apparent 3.10 regression is from your commit.
--
nosy: +terry.reedy, vstinner
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
3.7 only gets security fixes. Please verify that this is an issue with 3.10,
or at least 3.9, and give a reproducible test case.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
An exception exit is not a 'crash' for this tracker. The latter is an
indefinite hang or a no-exception stackoverflow or the Windows equivalent error
box (or worse). The linked issue appears to show an exception exit.
--
title: FTP
Terry J. Reedy added the comment:
A possible resolution to this issue might be augmenting
https://docs.python.org/3/library/fractions.html#module-fractions
with a short paragraph or section on alternative implementations noting that
there is a tradeoff between speed and complexity (and
Terry J. Reedy added the comment:
skrah is still a bpo user with an CLA-signed account linked to his github
account. So he can post here and, I believe, open a PR as a contributor. But
if, under the current circumstances, he feels more comfortable using Antoine as
a go between, then I
Terry J. Reedy added the comment:
Steve, PEP 632 lacks a reference to the SC acceptance thereof. Could you add
one?
https://mail.python.org/archives/list/python-...@python.org/thread/TXU6TVOMBLQU3SV57DMMOA5Y2E67AW7P/
And can you verify my interpretation below?
The warning is correct as to
Terry J. Reedy added the comment:
An actual example might help get an answer.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue43
Terry J. Reedy added the comment:
(You don't use coords('tunnel') above because it only reports on the 'first'
tagged object.)
tkinter widget methods are generally thin wrappers around tk functions that
translate between python objects and tk strings.
I believe t
Terry J. Reedy added the comment:
Currently return tuple (i, j, n), means that a[i:i+n] == b[j:j+n], where both
matching blocks are the same length.
https://docs.python.org/3/library/difflib.html#difflib.SequenceMatcher.get_matching_blocks
This would not be the case if a has an ignored space
Terry J. Reedy added the comment:
As an IDLE maintainer, I am a tkinter user also and that is my involvement in
tkinter changes. One of my projects for IDLE has been to switch to ttk
widgets, including ttk.Frame, wherever possible, for the reasons you gave.
It is known the tkinter docs we
Change by Terry J. Reedy :
--
keywords: +patch
nosy: +terry.reedy
nosy_count: 2.0 -> 3.0
pull_requests: +23613
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24852
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
With more experience, I agree that 0/0 tests passing should not be a pass.
--
___
Python tracker
<https://bugs.python.org/issue18
Terry J. Reedy added the comment:
OK. I see no structural difference between his page and yours,
https://bugs.python.org/user2040. No 'Roles' field, no 'User' entry, on either
page, nor on mine. So you must be an admin who sees extra info. In any case,
the last part
Terry J. Reedy added the comment:
New changeset 5e29021a5eb10baa9147fd977cab82fa3f652bf0 by Terry Jan Reedy in
branch 'master':
bpo-43199: Briefly explain why no goto (GH-24852)
https://github.com/python/cpython/commit/5e29021a5eb10baa9147fd977cab82
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
The menu items and Windows shortcuts work on Windows 10. Several shortcuts and
some menu items do not work on macOS. The latter is true for the undo and
clipboard items at the top of the Edit menu. The shortcuts do cause 'Edit' to
flash, indic
Terry J. Reedy added the comment:
Thank you, EP, for being 'someone'. I should remember that you are the one who
can current do these tests. I presume the reproducible 'this' is the
non-response to cmd-A, cmd-Z, and so on. So closing as 3rd party, tcl/tk,
issue.
I co
Thomas J. Gallen added the comment:
Yes, a package. There isn't actually that much in the txz. Most of the files
are ostensibly empty.
As an example, let's say we have the following files:
test.py
test_module/__init__.py
test_module/test_submodule.py
test.py contains:
```pyt
Thomas J. Gallen added the comment:
parent module* rather. Just saw that typo.
--
___
Python tracker
<https://bugs.python.org/issue43477>
___
___
Python-bug
Thomas J. Gallen added the comment:
Given the previous example, in test.py, replace:
```
print(test_module.test_submodule)
```
...with:
```
assert(not hasattr(test_module, "test_submodule"))
```
...because the issue is only the bottom half of `_find_and_load_unlocked`.
Specifi
Terry J. Reedy added the comment:
For next time, the turtle module is not part of IDLE.
--
assignee: terry.reedy ->
components: +Library (Lib) -IDLE
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
I cannot reproduce in Python with either 3.8 or 3.10. (Please try with latter
if you can.) I thought the issue might possibly be passing two different
dicts, which results in the code being executed as if in a class statement, but
it is not.
code
Terry J. Reedy added the comment:
This tracker is for patching CPython, including the docs. Questions for
discussion should be posted to python-list. Perhaps such a discussion would
lead to a concrete change proposal. In the meanwhile, I think that this should
be closed as 'not
Change by Terry J. Reedy :
--
nosy: +benjamin.peterson
___
Python tracker
<https://bugs.python.org/issue43487>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
How are you starting IDLE? How are you using the turtle module? What does
"can't get the window open" mean exactly? Does the menu item Shell => Restart
Shell work?
--
nosy: +terry.reedy
Terry J. Reedy added the comment:
New changeset 7cb033c423b65def1632d6c3c747111543b342a2 by Skip Montanaro in
branch 'master':
bpo-43494: Make some minor changes to lnotab notes (GH-24861)
https://github.com/python/cpython/commit/7cb033c423b65def1632d6c3c747111543b342a2
-
Terry J. Reedy added the comment:
Skip, if you do not make a backport, you can close this.
--
___
Python tracker
<https://bugs.python.org/issue43494>
___
___
Change by Terry J. Reedy :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
stage: -> needs patch
title: effbot.org down -> Site linked in docs, effbot.org, down
versions: +Python 3.10, Python 3.8, Python 3.9
_
Terry J. Reedy added the comment:
Verified in 3.10.0a6 that change is at 3 !s. I agree that is is a bug relative
to the doc.
The issue is that 'world!!!' is 8 chars, and by default, wrap splits that into
'w' and 'orld!!!' and add ' w' to 'hello&
Terry J. Reedy added the comment:
I agree with Raymond, at least for now. I would expect the string argument to
Fraction to be quoted legal Python code. Without a lot of thought and
discussion leading to a change in python design with respect to unicode and
operators, this limits '
Change by Terry J. Reedy :
--
versions: +Python 3.10 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue43526>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
I am sympathetic to the 'hiding bugs' argument in general, but what bugs would
this proposal hide? What bugs does print hide by auto-converting non-strings
to strings?
I recently had the same thought as Raymond's: "it would be nice if
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue43544>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
Foolish me. Commenting out the first exec results in the 2nd exec raising.
Commenting out the 2nd exec also results in the class code raising, which is
what I expected. The point of the class code is to partially explain the
exception, which is not a bug
Terry J. Reedy added the comment:
I read all the responses as of this timestamp. They left me more persuaded that
joining objects with a string (or bytes) is explicit enough that the objects
*must* be coerced to strings.
A problem with coercion in "1 + '2'" is that ther
Terry J. Reedy added the comment:
Whatever the situation was last May, current 3.10 now results in a correct and
improved traceback ending in
File "F:\Python\a\tem4.py", line 2
print("hello world"
^
SyntaxError: '(' was never closed
Same if \n
Terry J. Reedy added the comment:
Before the patch, IDLE highlighted the \n endline with a red background, which
tk displays as red background from the blank space after the 4 to the right
edge of the text widget, including in 3.8.8.
The 3.8 result, different from REPL, is due the the
Terry J. Reedy added the comment:
I added idlelib.idletest in May 2013 with the concurrence of Nick Coughlin, who
also suggested 'idle_test' rather than just 'test'. It currently has 72 files
(66 test_xyz files for idlelib modules).
Foord's opening justification
New submission from Terry J. Reedy :
Spinoff from #41064. In current python, the f'{*x}' traceback ends with
(*x)
^
SyntaxError: f-string: can't use starred expression here.
For f'{**x}', the message is "f-string: invalid syntax" and the ^ is a
Terry J. Reedy added the comment:
Cressey noted both a compile and IDLE Shell issue. They must be handled
separately by different people in separate bpo issues.
The first is about the helpful versus less helpful SyntaxError messages in the
following (master compiled today).
>>&
Terry J. Reedy added the comment:
With 2.7 EOL, is this still relevant?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue25130>
___
___
Terry J. Reedy added the comment:
Fixed elsewhere.
>>> 04208
File "", line 1
04208
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use
an 0o prefix for octal integers
>>> 0o38
File "", line 1
0o38
Terry J. Reedy added the comment:
I think that this issue should be closed as 'out of date' as it was pretty
open-ended and it is unclear what request remains.
For the specific case "for a in (8,9)", the suggested "expected ':'" has been
added on
Terry J. Reedy added the comment:
Perhaps both. If you want more discussion, please post to python-list.
--
___
Python tracker
<https://bugs.python.org/issue43
Change by Terry J. Reedy :
--
nosy: +giampaolo.rodola, orsenthil
___
Python tracker
<https://bugs.python.org/issue43564>
___
___
Python-bugs-list mailin
Change by Terry J. Reedy :
--
title: ftp tests in test_urllib2net fail instead of skipping on unreachable
network -> ftp tests in test_urllib2net should skip on unreachable network
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
nosy: +benjamin.peterson, ezio.melotti, lemburg
___
Python tracker
<https://bugs.python.org/issue43565>
___
___
Python-bugs-list m
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue43568>
___
___
Pytho
Terry J. Reedy added the comment:
3.6 only gets security patches. You or someone needs to show an unfixed bug in
master. Your code runs for me on Windows, whereas you appear to be using *nix.
Replacing job_name.encode() should have the same behavior. Do you see the
same with job_name=&qu
Terry J. Reedy added the comment:
Eryk, if I understand correctly, this should be closed as 'not a bug'. Correct?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.o
2001 - 2100 of 13132 matches
Mail list logo