Change by Terry J. Reedy :
--
pull_requests: +4541
___
Python tracker
<https://bugs.python.org/issue32100>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
pull_requests: +4542
___
Python tracker
<https://bugs.python.org/issue30781>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Terry J. Reedy :
idlelib.tabbedpages.TabbedPageSet is a custom widget only used for the tabbed
config dialog. #30781 converted to using tkinter.ttk.Notebook. The latter has
proven to be an improvement and the former has no other use, nor would I
recommend its use. Time
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +4543
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset fd6f8c56b9a757210e8ceaea9edc50e502dc2085 by Terry Jan Reedy in
branch 'master':
bpo-32100: Delete unneeded import in idlelib.pathbrowser. (#4626)
https://github.com/python/cpython/commit/fd6f8c56b9a757210e8ceaea9edc50
Terry J. Reedy added the comment:
New changeset e8f7c78a868834bb53fa0ac903fc87785112f49e by Terry Jan Reedy in
branch 'master':
bpo-30781: Remove unused imports in idlelib.configdialog. (#4627)
https://github.com/python/cpython/commit/e8f7c78a868834bb53fa0ac903fc87
Terry J. Reedy added the comment:
New changeset 38ecf57306ef25874ef7c44a9875771e90faee97 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-32100: Delete unneeded import in idlelib.pathbrowser. (GH-4626) (#4629)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
Idlelib deletions done.
pathbrowser, #32100, PR-4626
configdialog, #30781, PR-4627
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue32
Terry J. Reedy added the comment:
Review of overview:
PR-2706 and PR-2613 fixed one line in test_configdialog for this issue.
PR-2046, #30617 and PR-3238, #30781 are merged cross-references.
PR-3222 was closed in favor of PR-3220, #31287, merged.
PR-3592 completes highlights and keys coverage
Terry J. Reedy added the comment:
New changeset a8de6964ec46cdadb12cf2d45ebf1473659c by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-30781: Remove unused imports in idlelib.configdialog. (GH-4627) (#4630)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset 041efd292ebff46060fc1680b0608b1d4c876a48 by Terry Jan Reedy in
branch 'master':
bpo-32164: Delete unused file idlelib/tabbedpages.py (#4628)
https://github.com/python/cpython/commit/041efd292ebff46060fc1680b0608b
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 957aef7c41ccae8a60d3dbbe8863401bd270dc86 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-32164: Delete unused file idlelib/tabbedpages.py (GH-4628) (#4631)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue32193>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Terry J. Reedy :
import tkinter as tk
root = tk.Tk()
def bad(): print(a, 'bad')
def good(): print('good')
root.after(1000, bad)
root.after(1500, good)
root.mainloop()
# Correctly gives this traceback and output:
Exception in Tkinter callback
Traceba
Change by Terry J. Reedy :
--
title: IDLE: run's tk update adds extra traceback on callback error -> IDLE:
run's tk update adds context traceback on callback error
___
Python tracker
<https://bugs.pytho
Change by Terry J. Reedy :
--
pull_requests: +4613
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
#21961 ends with the entry I added for 3.4 and 3.5. 3.7 (and checking 3.6)
will be a new issue.
--
resolution: -> duplicate
stage: needs patch -> resolved
status: open -> closed
superseder: -> Add What
Terry J. Reedy added the comment:
New changeset 21255fc3932a60c064f85c0fe68f2840f390ebe4 by Terry Jan Reedy in
branch 'master':
bpo-30928: Update idlelib/NEWS.txt to 2017 Dec 3. (#4701)
https://github.com/python/cpython/commit/21255fc3932a60c064f85c0fe68f28
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +4615
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Thanks. I am still puzzled why the nested within nested try-except did not
work as I expected, but I care more about fixing this. The result based on your
suggestion is better (to read, I think) than extra nesting that did work.
--
stage: patch
Terry J. Reedy added the comment:
New changeset 6e687948b0025a1ab0d0773efe62ce64f0c745fc by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-30928: Update idlelib/NEWS.txt to 2017 Dec 3. (GH-4701) (#4702)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue32207>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
New changeset 1e2fcac4972530aa2c963d7e4011021df5ba866e by Terry Jan Reedy in
branch 'master':
bpo-32207: Improve tk event exception tracebacks in IDLE. (#4703)
https://github.com/python/cpython/commit/1e2fcac4972530aa2c963d7e401102
Change by Terry J. Reedy :
--
pull_requests: +4618
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 9da33c82124f27eb58ba4cf145675fe7a1035744 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-32207: Improve tk event exception tracebacks in IDLE. (GH-4703) (#4705)
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
Terry J. Reedy added the comment:
New changeset 2c0c68d927bfa557f98bac26644f5b64c4b135a7 by Terry Jan Reedy in
branch 'master':
bpo-30928: update idlelib/NEWS.txt. (#4706)
https://github.com/python/cpython/commit/2c0c68d927bfa557f98bac26644f5b
Terry J. Reedy added the comment:
New changeset 7a6f28f2802db3da79b3c2bd5d75e40eb0709744 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-30928: update idlelib/NEWS.txt. (GH-4706) (#4707)
https://github.com/python/cpython/commit/7a6f28f2802db3da79b3c2bd5d75e4
Terry J. Reedy added the comment:
Cheryl, thank you for reviving this, as it is still needed. A slightly revised
example better illustrates the claim in the doc revision about when __getattr__
is called.
class Foo(object):
def __init__(self):
self.foo = 1
self.data
Terry J. Reedy added the comment:
Before testing, let alone documenting, the status quo, I would like to be sure
that suppressing the exception is truly the intended behavior. Is there a way
to get an annotated listing from git (given which patch, and therefore which
person, is responsible
Terry J. Reedy added the comment:
The behavior and doc for __setattr__ and __delattr__ should also be checked.
--
___
Python tracker
<https://bugs.python.org/issue8
Terry J. Reedy added the comment:
Thanks. I normally look at source in my local clone with an editor. I found
'view blame' and 'view blame prior' on github.
--
keywords: -patch
___
Python tracker
<https://bu
Terry J. Reedy added the comment:
After looking at https://en.wiktionary.org/wiki/base I can explain better why
'most base class' is wrong, and felt wrong to participants in the python-list
thread.
'Base' is actually two words. As a noun (or verb), it comes from Ancient
Terry J. Reedy added the comment:
How about "The starting base class of all types and classes other than itself."
(Object.__bases__ = ().)
--
___
Python tracker
<https://bugs.python.o
Change by Terry J. Reedy :
--
pull_requests: +4678
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I want to add the try-except here and in the few other places where a method is
temporarily masked. One failure causing another strikes me a test code bug.
I would like to hold off on adding 'hover', as it now seems to have been an
idiosyn
Terry J. Reedy added the comment:
I think generically changing 'iterable' to 'iterable/unpackable' is wrong and
would engender more confusion than at present. Most uses of iteration have
nothing to do with multiple assignment target unpacking. Some minimal examples
res
Change by Terry J. Reedy :
--
type: enhancement -> behavior
versions: +Python 3.7 -Python 3.3
___
Python tracker
<https://bugs.python.org/issue17972>
___
___
Py
Terry J. Reedy added the comment:
Perhaps this should be closed as a 1/10 duplicate of #17972.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue32
Terry J. Reedy added the comment:
https://github.com/python/cpython/commit/9f74deba784fc8781d13ed564f69c02ed7c331bb
merged by Warsaw (last March). It removed the whole phrase, "Instead of the
normal %-based substitutions," I think the other changes would be more worth
b
Terry J. Reedy added the comment:
Your posted code and much else runs fine for me with 2.7.14 on Win 10. Millions
of lines of legal Python code run on perhaps a million machines aroung the
world. Except possibly for your particular machine, your conclusion is wrong.
>From the traceback,
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg308454
___
Python tracker
<https://bugs.python.org/issue32315>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
With imports modified, same exceptions in 3.7.0a2 on Win10
--
nosy: +terry.reedy
versions: +Python 3.7
___
Python tracker
<https://bugs.python.org/issue32
Terry J. Reedy added the comment:
Thanks, Serhiy, for the C implementation, and Eric for reviewing it. I would
add 'non-iterable', to get "cannot unpack non-iterable int object", to tell
people what is needed instead. I do t
Terry J. Reedy added the comment:
In English, 'adjective noun' does not necessarily imply the existence of
'not-adjective' nouns, and the adjective may serve as a reminder or reason.
For instance, "This job is too dangerous for mortal humans!"
In the curren
Terry J. Reedy added the comment:
I retested and iter(ob) (1) apparently raises 'not iterable' only when it can
find neither __iter__ nor __getitem__. It (2) raises 'non-iterator', as above,
when it finds __iter__, calls its, and get a non-iterator. (3) Exceptions in
Terry J. Reedy added the comment:
'int' is a standin for non-iterable and easy to type.
--
___
Python tracker
<https://bugs.python.org/issue32259>
___
___
Terry J. Reedy added the comment:
Yes, in the code for the the unpack message test, the specific non-iterable is
not relevant. These are not tests of the iter builtin.
--
___
Python tracker
<https://bugs.python.org/issue32
Change by Terry J. Reedy :
--
resolution: -> not a bug
stage: test needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
I am 99.99% sure that this is not an IDLE issue. IDLE submits your code to
Python to be exec-ed. The exception comes from Python. You should get the
same exception (though with a different fake file name) if you ran the same
code directly with Python
New submission from Terry J. Reedy :
pyclbr does a linear scan of a file and returns a dict, and Class objects have
a dict of children. For objects in the file being scanned, insertion order is
the same as line number order. idlelib.browser.transform children filters out
objects not in the
Terry J. Reedy added the comment:
(f0, C0) is the correct insertion and line number order for the dict that would
be returned by pyclbr for a fleshed-out file. After 'sorted' is removed, the
mock must imitate that.
One could argue that previously, and even now for 3.6, the initial
Terry J. Reedy added the comment:
IDLE uses Python's tcl/tk interface module, called 'tkinter'. Tcl is a
separate language and tk is its graphical user interface. This is most likely
the problem. Did you follow the advice at
https://www.python.org/download/mac/tcltk/
to
Terry J. Reedy added the comment:
Since there is no evident CPython bug, I am closing this. If CPython gets a
bogus encoding for the std streams, it cannot output a normal traceback on
sys.stderr.
>From StackOverflow: "TensorFlow is an open source library for machine learning
>
Terry J. Reedy added the comment:
Yonathon, when replying by email, please delete the quoted message, except
possibly for a specific line, as it is redundant noise when posted on the web
page.
--
nosy: +terry.reedy
___
Python tracker
<ht
Terry J. Reedy added the comment:
The tkinter docs currently omit much, but refer one to, among other places,
http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html, which has a page
with images and names.
http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/cursors.html
--
nosy
Terry J. Reedy added the comment:
Another duplicate: #32411, MacOS 10.3.1, user apparently cannot write to home
dir. Starting IDLE in terminal results in
Warning: unable to create user config directory
/Users/Steve Margetts/.idlerc
Check path and permissions.
Exiting
Terry J. Reedy added the comment:
Ned diagnosed #32447 as likely due to the space in the user name. What matters
for this issue is that a) someone can do that and b) IDLE likely could continue
running anyway. There might then be problems with saving files from the
editor, so any warning
Terry J. Reedy added the comment:
The Mac issue is the inability to add .xyz directories to the home directory.
You can test a fix by entering 'mkdir .idlerc' at the terminal prompt.
The IDLE issue is that IDLE quits when it cannot create .idlerc. In this
respect, this is a du
Terry J. Reedy added the comment:
Today, at least, python -m test -v test_httpservers does not hang for me on
any of 3.5, 3.6, or 3.7, installed or repository debug. I don't know if the
offending test was just disabled or somehow
Terry J. Reedy added the comment:
I agree that a better message would be nice. But compiling 'a.b[c]' breaks the
expression apart into the equivalent of 't=a.b; t[c]', where 't' is an
anonymous reference, so as David notes, there is no 'name' left to
Terry J. Reedy added the comment:
'ndots' is an internal name in the import-from branch of the import statement
handler. It seems reasonable in that context. 'level' is part of the public
api for the ImportFrom node class, and cannot be changed as such. It is also
Terry J. Reedy added the comment:
After fresh update and debug rebuild on master(3.7), with Win10 patched last
night, I got
==
FAIL: test_call_later (test.test_asyncio.test_events.ProactorEventLoopTests
Terry J. Reedy added the comment:
I think this should have been first floated on python-ideas list. One
objection is the same as for eliminating tail calls in general: it collapses
tracebacks.
def g1():
yield from g2()
def g2():
yield 1/0
for i in g1(): pass
Traceback (most recent
Terry J. Reedy added the comment:
Pox, please retest with either 3.6.4 or 3.7.0a3 (or .0a4 when released, soon).
Both were released after the merge that should fix this.
--
___
Python tracker
<https://bugs.python.org/issue31
Terry J. Reedy added the comment:
I expected that this would be needed eventually. Any particular reason why now?
--
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
A new option would (maybe) apply to saving the shell also. (Something to
discuss there.)
--
___
Python tracker
<https://bugs.python.org/issue33
Change by Terry J. Reedy :
--
stage: patch review -> resolved
status: open -> closed
superseder: -> ICC compiler check is too permissive
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
Removed file: https://bugs.python.org/file47547/patch
___
Python tracker
<https://bugs.python.org/issue33341>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
icc-find.patch (and a 2nd version) has been uploaded to #28584 also. I unlinked
the erroneous upload 'patch'.
--
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
For me, 3.6.5 IDLE has the same Python app icon (white notebook page with
blue/yellow snakes) as always. But I upgraded from 3.6.4, etc, so my Win10
machine already had the icon.
Filip, which Windows (in case it makes a difference)? Which *exact* installer
Terry J. Reedy added the comment:
After this is merged, we should immediately add 'async' to the list of block
openers.
With complete tests, we can more confidently cleanup the code a bit, as well as
change behavior. The fourth field of info tuples, block keyword, is never used
New submission from Terry J. Reedy :
I am just going to add 'async' to BLOCKOPENERS. I don't think this needs a
particular test, as most of the openers are not used in the new tests added by
#32831. We could eventually expand the sample to have one of each opener.
Terry J. Reedy added the comment:
Because BLOCKOPENERS is sufficiently distant from the changes for this issue, I
will add 'async' now, without tests, in #33564.
Some of my comments for this issue are ideas for future changes in
code
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +6619
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset d89ca94847d943b883ebcc68e4f0a18cb042ed0d by Terry Jan Reedy in
branch 'master':
bpo-33564: Add async to IDLE's code context block openers. (GH-6960)
https://github.com/python/cpython/commit/d89ca94847d943b883ebcc68e
Terry J. Reedy added the comment:
I have also gotten test_async errors on AppVeyor and MSTS Windows.
ERROR: test__sock_sendfile_native_failure
(test.test_asyncio.test_base_events.BaseLoopSockSendfileTests)
--
Traceback (most
Terry J. Reedy added the comment:
I just got the two broken pipe error on Travis.
--
___
Python tracker
<https://bugs.python.org/issue33531>
___
___
Python-bug
Terry J. Reedy added the comment:
The Travis retest (for 3.7 backport) just failed with the same errors. Why
can't we disable this tests. It now takes hours to do a merge with two
backports.
--
___
Python tracker
<https://bugs.py
Terry J. Reedy added the comment:
New changeset b2a02b9d88db04c12f800bc088afea0ef6862673 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-33564: Add async to IDLE's code context block openers. (GH-6960) (#6961)
https://github.com/python
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 :
--
versions: +Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue33471>
___
___
Python-bugs-list mailing list
Unsub
Change by Terry J. Reedy :
--
versions: -Python 3.5
___
Python tracker
<https://bugs.python.org/issue33492>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Responses to the following might help anyone who works on this.
1. Is the relative performance only an issue on 2.7 and not 3.6+?
2. What are the 'recent issues here'? What is different about your example
code.
3. We prefer plain text .py files t
Change by Terry J. Reedy :
--
nosy: +michael.foord
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue33516>
___
___
Python-bugs-list mailin
Change by Terry J. Reedy :
--
stage: -> test needed
versions: -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue33527>
___
___
Python-
Terry J. Reedy added the comment:
Mark, are you suggesting a doc addition (and a change of Components) or should
we close this as 'not a bug'?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.o
Change by Terry J. Reedy :
--
assignee: -> docs@python
components: +Documentation -Interpreter Core
nosy: +docs@python
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
With Tim's addition
>>> from fractions import Fraction as F
>>> from decimal import Decimal as D
>>> s = {0, 1, 0.0, 1.0, F(0,1), F(1, 1), D(0), D(1), False, True}
>>> s
{0, 1}
I think we should consider moving the
Terry J. Reedy added the comment:
The only thing special about functions defined with lambda expressions rather
than def statements is the generic name attribute '' instead of a
specific name. PEP8 intentionally and properly discourages 'name = lambda ...'
as i
Terry J. Reedy added the comment:
The last three posts have convinced me that 'efficient bit operations', not
tied to the int type, are worth exploring, without immediate restriction to a
particular API. I can see that micropython is a significant ne
Terry J. Reedy added the comment:
New changeset 654038d896d78a8373b60184f335acd516215acd by Terry Jan Reedy
(Cheryl Sabella) in branch 'master':
bpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +6642
___
Python tracker
<https://bugs.python.org/issue33479>
___
___
Python-bugs-list mailin
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:
Thanks for the good set of tests.
--
___
Python tracker
<https://bugs.python.org/issue32831>
___
___
Python-bugs-list mailin
Change by Terry J. Reedy :
--
pull_requests: +6647
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 6b0d09b8f06e6967fa3d41425cecf6499a353a6d by Terry Jan Reedy in
branch 'master':
bpo-30928: Update idlelib/NEWS.txt. (#6995)
https://github.com/python/cpython/commit/6b0d09b8f06e6967fa3d41425cecf6
Terry J. Reedy added the comment:
New changeset 222ae1eccc819d82fcadbb3c9e1fba83339cc5c6 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-30928: Update idlelib/NEWS.txt. (GH-6995) (#6996)
https://github.com/python/cpython/commit/222ae1eccc819d82fcadbb3c9e1fba
Change by Terry J. Reedy :
--
pull_requests: +6649
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
7201 - 7300 of 13135 matches
Mail list logo