[issue32100] IDLE: PathBrowser isn't working

2017-11-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4541 ___ Python tracker <https://bugs.python.org/issue32100> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30781] IDLE: configdialog -- switch to ttk widgets.

2017-11-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4542 ___ Python tracker <https://bugs.python.org/issue30781> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32164] IDLE: delete tabbedpages.py

2017-11-28 Thread Terry J. Reedy
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

[issue32164] IDLE: delete tabbedpages.py

2017-11-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +4543 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32100] IDLE: PathBrowser isn't working

2017-11-28 Thread Terry J. Reedy
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

[issue30781] IDLE: configdialog -- switch to ttk widgets.

2017-11-28 Thread Terry J. Reedy
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

[issue32100] IDLE: PathBrowser isn't working

2017-11-28 Thread Terry J. Reedy
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

[issue32156] Fix flake8 warning F401: ... imported but unused

2017-11-28 Thread Terry J. Reedy
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

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-11-28 Thread Terry J. Reedy
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

[issue30781] IDLE: configdialog -- switch to ttk widgets.

2017-11-28 Thread Terry J. Reedy
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

[issue32164] IDLE: delete tabbedpages.py

2017-11-28 Thread Terry J. Reedy
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

[issue32164] IDLE: delete tabbedpages.py

2017-11-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32164] IDLE: delete tabbedpages.py

2017-11-28 Thread Terry J. Reedy
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

[issue32193] Convert asyncio to async/await

2017-12-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue32193> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32207] IDLE: run's tk update adds extra traceback on callback error

2017-12-03 Thread Terry J. Reedy
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

[issue32207] IDLE: run's tk update adds context traceback on callback error

2017-12-03 Thread Terry J. Reedy
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

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-12-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4613 ___ Python tracker <https://bugs.python.org/issue30928> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21621] Add note to 3.x What's New re Idle changes in bugfix releases

2017-12-04 Thread Terry J. Reedy
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&#x

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-12-04 Thread Terry J. Reedy
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

[issue32207] IDLE: run's tk update adds context traceback on callback error

2017-12-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +4615 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32207] IDLE: run's tk update adds context traceback on callback error

2017-12-04 Thread Terry J. Reedy
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

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-12-04 Thread Terry J. Reedy
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

[issue32207] IDLE: run's tk update adds context traceback on callback error

2017-12-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32207> ___ ___ Python-bugs-list mai

[issue32207] IDLE: run's tk update adds context traceback on callback error

2017-12-04 Thread Terry J. Reedy
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

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-12-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4618 ___ Python tracker <https://bugs.python.org/issue30928> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32207] IDLE: run's tk update adds context traceback on callback error

2017-12-04 Thread Terry J. Reedy
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

[issue32207] IDLE: run's tk update adds context traceback on callback error

2017-12-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-12-04 Thread Terry J. Reedy
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

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-12-05 Thread Terry J. Reedy
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

[issue8722] Documentation for __getattr__

2017-12-07 Thread Terry J. Reedy
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

[issue8722] Documentation for __getattr__

2017-12-08 Thread Terry J. Reedy
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

[issue8722] Documentation for __getattr__

2017-12-08 Thread Terry J. Reedy
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

[issue8722] Documentation for __getattr__

2017-12-09 Thread Terry J. Reedy
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

[issue20285] Improve object.__doc__ and help(object) output

2017-12-09 Thread Terry J. Reedy
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

[issue20285] Improve object.__doc__ and help(object) output

2017-12-09 Thread Terry J. Reedy
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

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-12-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +4678 ___ Python tracker <https://bugs.python.org/issue30928> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31971] idle_test: failures on x86 Windows7 3.x

2017-12-15 Thread Terry J. Reedy
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

[issue32259] Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected

2017-12-15 Thread Terry J. Reedy
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

[issue17972] inspect module docs omits many functions

2017-12-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: enhancement -> behavior versions: +Python 3.7 -Python 3.3 ___ Python tracker <https://bugs.python.org/issue17972> ___ ___ Py

[issue32261] Online doc does not include inspect.classify_class_attrs

2017-12-15 Thread Terry J. Reedy
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

[issue32263] Template string docs refer to "normal %-based substitutions"

2017-12-15 Thread Terry J. Reedy
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

[issue32315] can't run any scripts with 2.7.x, 32 and 64-bit

2017-12-15 Thread Terry J. Reedy
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,

[issue32315] can't run any scripts with 2.7.x, 32 and 64-bit

2017-12-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg308454 ___ Python tracker <https://bugs.python.org/issue32315> ___ ___ Python-bugs-list m

[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

2017-12-15 Thread Terry J. Reedy
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

[issue32259] Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected

2017-12-17 Thread Terry J. Reedy
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

[issue32259] Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected

2017-12-18 Thread Terry J. Reedy
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

[issue32259] Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected

2017-12-18 Thread Terry J. Reedy
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

[issue32259] Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected

2017-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'int' is a standin for non-iterable and easy to type. -- ___ Python tracker <https://bugs.python.org/issue32259> ___ ___

[issue32259] Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected

2017-12-19 Thread Terry J. Reedy
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

[issue32315] can't run any scripts with 2.7.x, 32 and 64-bit

2017-12-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32405] clr: AttributeError: 'module' object has no attribute 'AddReference'

2017-12-21 Thread Terry J. Reedy
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

[issue32411] Idlelib.browser: stop sorting dicts created by pyclbr

2017-12-22 Thread Terry J. Reedy
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

[issue32411] Idlelib.browser: stop sorting dicts created by pyclbr

2017-12-24 Thread Terry J. Reedy
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

[issue32447] IDLE shell won't open on Mac OS 10.13.1

2017-12-29 Thread Terry J. Reedy
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

[issue32420] LookupError : unknown encoding : [0x7FF092395AD0] ANOMALY

2017-12-29 Thread Terry J. Reedy
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 >

[issue32421] Keeping an exception in cache can segfault the interpreter

2017-12-29 Thread Terry J. Reedy
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

[issue32426] Tkinter.ttk Widget does not define wich option exists to set the cursor

2017-12-29 Thread Terry J. Reedy
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

[issue8231] Unable to run IDLE without write-access to home directory

2017-12-30 Thread Terry J. Reedy
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

[issue8231] Unable to run IDLE without write-access to home directory

2017-12-30 Thread Terry J. Reedy
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

[issue32447] IDLE shell won't open on Mac OS 10.13.1

2017-12-30 Thread Terry J. Reedy
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

[issue25095] test_httpservers hangs since Python 3.5

2018-01-05 Thread Terry J. Reedy
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

[issue32448] subscriptable

2018-01-05 Thread Terry J. Reedy
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

[issue32450] non-descriptive variable name

2018-01-05 Thread Terry J. Reedy
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

[issue32458] test_asyncio failures on Windows

2018-01-05 Thread Terry J. Reedy
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

[issue32486] tail optimization for 'yield from'

2018-01-05 Thread Terry J. Reedy
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

[issue31804] multiprocessing calls flush on sys.stdout at exit even if it is None (pythonw)

2018-01-09 Thread Terry J. Reedy
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

[issue33051] IDLE: Create new tab for editor options in configdialog

2018-05-16 Thread Terry J. Reedy
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

[issue33051] IDLE: Create new tab for editor options in configdialog

2018-05-17 Thread Terry J. Reedy
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

[issue33341] python3 fails to build if directory or sysroot contains "*icc*" string

2018-05-17 Thread Terry J. Reedy
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

[issue33341] python3 fails to build if directory or sysroot contains "*icc*" string

2018-05-17 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file47547/patch ___ Python tracker <https://bugs.python.org/issue33341> ___ ___ Python-bugs-list mailin

[issue33341] python3 fails to build if directory or sysroot contains "*icc*" string

2018-05-17 Thread Terry J. Reedy
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

[issue33558] Python has no icon in taskbar and in start screen

2018-05-17 Thread Terry J. Reedy
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

[issue32831] IDLE: Add docstrings and tests for codecontext

2018-05-17 Thread Terry J. Reedy
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

[issue33564] IDLE: add 'async' to codecontext block openers

2018-05-17 Thread Terry J. Reedy
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.

[issue32831] IDLE: Add docstrings and tests for codecontext

2018-05-17 Thread Terry J. Reedy
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

[issue33564] IDLE: add 'async' to codecontext block openers

2018-05-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +6619 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue33564] IDLE: add 'async' to codecontext block openers

2018-05-17 Thread Terry J. Reedy
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

[issue33531] test_asyncio: test_subprocess test_stdin_broken_pipe() failure on Travis CI

2018-05-17 Thread Terry J. Reedy
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

[issue33531] test_asyncio: test_subprocess test_stdin_broken_pipe() failure on Travis CI

2018-05-17 Thread Terry J. Reedy
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

[issue33531] test_asyncio: test_subprocess test_stdin_broken_pipe() failure on Travis CI

2018-05-17 Thread Terry J. Reedy
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

[issue33564] IDLE: add 'async' to codecontext block openers

2018-05-17 Thread Terry J. Reedy
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

[issue33564] IDLE: add 'async' to codecontext block openers

2018-05-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33471] string format with 'n' failling with french locales

2018-05-18 Thread Terry J. Reedy
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

[issue33492] Updating the Evaluation order section to cover *expression in calls

2018-05-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5 ___ Python tracker <https://bugs.python.org/issue33492> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-18 Thread Terry J. Reedy
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

[issue33516] unittest.mock: Add __round__ to supported magicmock methods

2018-05-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +michael.foord versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue33516> ___ ___ Python-bugs-list mailin

[issue33527] Invalid child function scope

2018-05-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed versions: -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue33527> ___ ___ Python-

[issue33572] False/True as dictionary keys treated as integers

2018-05-18 Thread Terry J. Reedy
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

[issue33572] False/True as dictionary keys treated as integers

2018-05-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> docs@python components: +Documentation -Interpreter Core nosy: +docs@python ___ Python tracker <https://bugs.python.org/issu

[issue33572] Better document mixed-type comparison of set items, dict keys

2018-05-18 Thread Terry J. Reedy
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

[issue33447] Asynchronous lambda syntax

2018-05-18 Thread Terry J. Reedy
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

[issue19251] bitwise ops for bytes of equal length

2018-05-19 Thread Terry J. Reedy
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

[issue32831] IDLE: Add docstrings and tests for codecontext

2018-05-19 Thread Terry J. Reedy
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

[issue33479] Document tkinter and threads

2018-05-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +6642 ___ Python tracker <https://bugs.python.org/issue33479> ___ ___ Python-bugs-list mailin

[issue32831] IDLE: Add docstrings and tests for codecontext

2018-05-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32831] IDLE: Add docstrings and tests for codecontext

2018-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the good set of tests. -- ___ Python tracker <https://bugs.python.org/issue32831> ___ ___ Python-bugs-list mailin

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-05-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +6647 ___ Python tracker <https://bugs.python.org/issue30928> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-05-19 Thread Terry J. Reedy
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

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-05-19 Thread Terry J. Reedy
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

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-05-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +6649 ___ Python tracker <https://bugs.python.org/issue30928> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    68   69   70   71   72   73   74   75   76   77   >