[issue30208] Small typos in IDLE doc

2017-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: enhancement -> behavior ___ Python tracker <http://bugs.python.org/issue30208> ___ ___ Python-bugs-list mailing list Un

[issue30209] some UTF8 symbols

2017-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Duplicate, or close enough, of #30019, which has more on issue. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE freezes when opening a file with astra

[issue30019] IDLE freezes when opening a file with astral characters

2017-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #30209 has a file that cannot be opened and another description of symptoms. -- ___ Python tracker <http://bugs.python.org/issue30

[issue30208] Small typos in IDLE doc

2017-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5a8dcec93936de816cef5c17522e48fca9c30b43 by terryjreedy (csabella) in branch '3.6': [3.6] bpo-30208: DOC: fix small typos in IDLE (#1356) https://github.com/python/cpython/commit/5a8dcec93936de816cef5c17522e48

[issue30208] Small typos in IDLE doc

2017-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 52630ae17aa5bd8bffdb430b6515d07ffbaabc9e by terryjreedy (csabella) in branch '3.5': [3.5] bpo-30208: DOC: fix small typos in IDLE (#1357) https://github.com/python/cpython/commit/52630ae17aa5bd8bffdb430b6515d0

[issue30208] Small typos in IDLE doc

2017-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4734c2d5c0529632e4b51eb75104b50955afd692 by terryjreedy (csabella) in branch '2.7': [2.7] bpo-30208: DOC: fix small typos in IDLE (#1358) https://github.com/python/cpython/commit/4734c2d5c0529632e4b51eb75104b5

[issue30208] Small typos in IDLE doc

2017-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From what I have seen, one PR for each branch is correct. I believe >cherry-pick.py was initially written by Mariatta. Please bring up any >problems or questions using it on core-mentorship, where she and others will >see it. -

[issue30208] Small typos in IDLE doc

2017-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I mean 'IDLE' in the Components: box, to the left of the Versions: box, both in the 'classification' frame near the top of this page. -- components: +IDLE ___ Python tracker <http://bug

[issue30200] tkinter ListboxSelect

2017-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Frank, bigger is not better for demonstrating a problem. The only thing needed for this issue is a tk window with two list boxes. Having to click twice to get a window with more than just the two Listboxes is just noise. Anyway, I downloaded the file as

[issue20401] inspect.signature removes initial starred method params (bug)

2017-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, we will change this example in test_calltips once calltips uses .signature (#19903). -- ___ Python tracker <http://bugs.python.org/issue20

[issue19903] Idle: Use inspect.signature for calltips

2017-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the report. As Yuri pointed out in msg292701, and I verified, c.m2() raises "TypeError: meth() takes 0 positional arguments but 1 was given". The purpose of get_argspec is to tell the user how to call the function without getting such a

[issue19903] Idle: Use inspect.signature for calltips

2017-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will try to do that when I can. -- ___ Python tracker <http://bugs.python.org/issue19903> ___ ___ Python-bugs-list mailin

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The warning, which became a failure in 3.6, was averted for 3.6 by #27372. I intentionally did not patch 3.5 and merge forward because the warning was neither unique nor a failure, while adding the merge would have been a considerable bother. Also, I

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> haypo resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker <http://bugs.pyt

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I see. That changes the situation a bit. -- ___ Python tracker <http://bugs.python.org/issue30233> ___ ___ Python-bugs-list m

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, I forgot to ask. Did you properly test IDLE before committing the patch? This means building python 3.5, starting IDLE, and exercising the modules affected. test_idle is nowhere nearly a substitute for such hand-testing. This is a big part of the

[issue19903] Idle: Use inspect.signature for calltips

2017-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Later today I should be able to pull the PR to my machine to review and test, and recheck coverage change. -- ___ Python tracker <http://bugs.python.org/issue19

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you can load any existing file into the editor, edit a bit, or maybe cut it down to a print statement, save under a new name, and run it, that should be enough. -- ___ Python tracker <http://bugs.python.

[issue30233] [3.5] Warning -- locale was modified by test_idle

2017-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks, I feel better now. This might end up being the only IDLE patch for 3.5. A test issue for git CI with respect to tkinter and IDLE has been that Travis on Linux does not run 'gui' tests, so it is semi-useless for tk and IDLE. I notice on PR

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2017-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mariatta, please continue with this and assign to yourself. I now have IDLE PRs to review and apply. -- assignee: terry.reedy -> ___ Python tracker <http://bugs.python.org/issu

[issue19903] Idle: Use inspect.signature for calltips

2017-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I pulled your pr, did some minor edits, committed, and tried to push back following this line from the devguide Bootcamp page. git push g...@github.com:/cpython : -- F:\dev\cpython>git commit -m "Fix and stop repeating invalid signature

[issue30166] Import command-line parsing modules only when needed

2017-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want to backport the idlelib.pyshell change. I have been told that even a partial backport, even if done by hand, is a backport and the result a cherry-pick. -- assignee: serhiy.storchaka -> terry.reedy nosy: +terry.reedy stage: resol

[issue19903] Idle: Use inspect.signature for calltips

2017-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: A review is not required to commit. The PR itself says "Add more commits by pushing to the bpo-19903 branch on lulouie/cpython." As far as I know, unresolved requests do not block for cpython. The Merge button appears to still be 'aliv

[issue19903] Idle: Use inspect.signature for calltips

2017-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Let's back up. The high-level specification for get_argspec is something like 'Return information that will help programmers write a correct call." The proposed implementation strategy is to combine signature info from signature (replacing

[issue19903] Idle: Use inspect.signature for calltips

2017-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: >>> help(list.__new__) Help on built-in function __new__: __new__(*args, **kwargs) method of builtins.type instance Create and return a new object. See help(type) for accurate signature. 'list.__new__(' currently pops up just the

[issue19903] Idle: Use inspect.signature for calltips

2017-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: help(object.__init__) and help(list.__init__) have exactly the same output. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19903] Idle: Use inspect.signature for calltips

2017-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: (I presume'ordinal' meant 'ordinary'.) I don't know where signature finds the info on built-in type objects Methods like .append have .__text_signature__. List does not, and list.__call__.__text_signature is the generic &#x

[issue30085] Discourage operator.__dunder__ functions

2017-05-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> commit review type: -> enhancement versions: +Python 3.7 ___ Python tracker <http://bugs.python.org/issue30085> ___ __

[issue19903] Idle: Use inspect.signature for calltips

2017-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Interesting dir(list.append) and the IDLE completion box show __text_signature__. dir(list) and the box do not. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19903] Idle: Use inspect.signature for calltips

2017-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: What is List? Not a builtin. I am guessing that $self means to remove for bound methods. In any case, __text_signature__ is effectively private to inspect.signature. We only care what the latter produces

[issue30217] Missing entry for the tilde (~) operator in the Index

2017-05-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy versions: -Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/issue30217> ___ ___ Python-bug

[issue30220] Why are custom messages for ValueError, TypeError suppressed in argparse?

2017-05-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed title: Why are the custom messages for ValueError and TypeError suppressed in argparse? -> Why are custom messages for ValueError, TypeError suppressed in argparse? versions: +Python 3.7 -Pyth

[issue30238] 2to3 doesn't detect or fix Exception indexing

2017-05-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +benjamin.peterson stage: -> test needed ___ Python tracker <http://bugs.python.org/issue30238> ___ ___ Python-bugs-lis

[issue30251] Windows Visual Studio solution does not have an install target

2017-05-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue30

[issue30252] Configuration system does not work for Windows/Visual Studio

2017-05-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware stage: -> test needed type: -> enhancement versions: +Python 3.7 -Python 3.6 ___ Python tracker <http://bugs.python.org/i

[issue30253] Python does not build without WITH_THREADS defined on Windows/Visual Studio

2017-05-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue30

[issue30263] regrtest: log the system load?

2017-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have a 6 core, 12 cpu Pentium. I previously stopped with -j10. Reading the above, I tried -j14 and -j18. Times for one run on a quiet system of 'test -jnn -ugui' with a fresh download and debug build were 3:55 (-j10), 3:48, and 3:53. Not much

[issue30290] IDLE: add tests for help_about.py

2017-05-05 Thread Terry J. Reedy
New submission from Terry J. Reedy: Initial plan. 1a. Change AboutDialog to mimic query.Query with respect to _utest and suppression of dialog display and waiting. 1b. Create AboutDialog instance. 2a. Change textview.TextViewer as with AboutDialog. Also change textview functions and

[issue26336] Expose regex bytecode of compiled pattern object

2017-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I changed the title because I believe a) the Python-level tuple of ints should be created on demand (I am not sure what the patch does); and b) the exposure should be done by an overt function rather than be an 'attribute', even if that is a f

[issue30299] Display the bytecode when compiled a regular expression in debug mode

2017-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new output is the blank line and numbered lines, produced by the new dis function. The addition is specific to CPython's re module. Thus the doc for re.DEBUG remains "Display debug information about compiled expression." I think that

[issue30299] Display the bytecode when compiled a regular expression in debug mode

2017-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whoops, the one I thought I added previously. I must not have clicked the [comment] button after writing it and before closing the tab. -- ___ Python tracker <http://bugs.python.org/issue30

[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: While 8.5.9 on OSX is more usable than 8.5.7, it is known to crash occasionally. Hence the startup warning. See idlelib.macosx.tkVersionWarning and https://www.python.org/download/mac/tcltk/. (The problems listed in the latter for 8.5.9 seems incomplete

[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would try rebooting, but not having a Mac, I am not familiar with the details of the instructions on that page. It they are not clear enough, they should be improved. -- assignee: -> terry.reedy ___ Pyt

[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Some existing idle-macosx issues are 17060 and 18444 (possibly dups), 24570, 24801, 25988 (dup of this?), 21603, 22897, 28928. (At least 1 might be closed). If none of these cover issue you have in mind, please go ahead

[issue30332] Errors that aren't actually defined are purple in the IDLE

2017-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: You neglected to say which version of Python you used. 2.7? 3.2? When I type the following in 3.5+ on Win10, >>> IOError, KeyError, PermissionError, int, list, FileNotFoundError all the names have the same builtins highlight. In 2.7 (and

[issue30332] Errors that aren't actually defined are purple in the IDLE

2017-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.4 only gets security fixes. There is no problem for me in 3.5.3. -- resolution: -> out of date stage: -> resolved status: open -> closed versions: -Python 3.6, Python 3.7 ___ Python track

[issue30019] IDLE freezes when opening a file with astral characters

2017-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eryk> I tried print(transurrogate(s)) from editor and it worked!, printing '🔫 🔪' (though not near as pretty as here in Firefox. I have previously thought of scanning strings before inserting into Text widgets and converting astral chars to \U

[issue21261] Teach IDLE to Autocomplete dictionary keys

2017-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE currently completes global names, attributes after ., and filename segments after / or \ within a string. In the later two cases, a box will pop up automatically after a user selected time after typing . or /\ and nothing thereafter. The filename

[issue21261] Teach IDLE to Autocomplete dictionary keys

2017-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.7, Python 3.5 ___ Python tracker <http://bugs.python.org/issue21261> ___ ___ Python-bugs-list mailin

[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2017-05-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I said on review, I want idlelib changes either not made or in a separate patch that can be backported as is. Partial backport/cherry-picks are a major nuisance. I don't know if anything else should be treated similarly. -- nosy: +terry.

[issue30310] tkFont.py assumes that all font families are encoded as ascii in Python 2.7

2017-05-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Marc, In the future please copy and paste such text interactions instead of posting an image. A 'crash' on Windows is when one gets the Windows' Error messagebox 'You application has stopped working.' Since the exception comes from t

[issue30312] Small correction in set code sample

2017-05-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: English 'or' remains ambiguous, and often exclusive, even without 'either'. Hence jokes like Parent: "Cake or pie?" Smart kid: "Both!" I agree with replacing 'either&#x

[issue30310] tkFont.py assumes that all font families are encoded as ascii in Python 2.7

2017-05-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Test needed. import Tkinter as tk import tkFont as tkf root = tk.Tk() font = tkf.Font(root, size=20, family=u"MS \u30b4\u30b7\u30c3\u30af") reproduces the failure in Marc's example. File "C:\Programs\Python27\lib\lib-tk\tkFont.py&qu

[issue30332] Errors that aren't actually defined are purple in the IDLE

2017-05-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> behavior versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker <http://bugs.python.org/issu

[issue26143] Ensure that IDLE's stdlib imports are from the stdlib

2017-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for making a start on code for this issue. After thinking about this a few hours, here is what I currently think. I don't want a tiny module for one function. I would like a module with objects common to the idle and user processes, in parti

[issue26143] Ensure that IDLE's stdlib imports are from the stdlib

2017-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I want from this issue , from a user perspective, is a) for IDLE to run without stumbling over user files, and b) for user code to see the same sys.path when executing under IDLE as when executed directly with the same cpython binary in the same mode

[issue30211] Bdb: add docstrings

2017-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the entry at https://docs.python.org/3/library/bdb.html#bdb.Bdb.canonic, ", stripped of surrounding angle brackets" is wrong, and should be replaced by ". 'Filenames' with angle brackets, such as "", generated in inter

[issue30211] Bdb: add docstrings

2017-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I just posted to core-mentorship, my attempt to push to the PR failed. Did you leave the 'allow pushes' box checked when you created the PR? -- ___ Python tracker <http://bugs.python.o

[issue30211] Bdb: add docstrings

2017-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The bdb class or __init__ docstring needs to document the data members with a short explanation. Some of the args need better explanation. Some of this I may fill in *after* reviewing the proposed tests, when I understand the code better. Reviewing pdb and

[issue23667] IDLE to provide option for making trailing whitespace visible

2017-05-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <http://bugs.python.org/issu

[issue30211] Bdb: add docstrings

2017-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I plan to merge when I can. Possible future improvements for bdb.py. 1. Bdb attributes. 2. Say what user_xyz functions might do. Anything better than 'Intervene in debugging process.'? 3. Clarify what get_stack does. Improvement for bdb.rst (op

[issue30211] Bdb: add docstrings

2017-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0774e79b93cc494b3a957d538c7c112e289973c0 by terryjreedy (csabella) in branch 'master': bpo-30211: bdb: add docstrings (#1350) https://github.com/python/cpython/commit/0774e79b93cc494b3a957d538c7c11

[issue30211] Bdb: add docstrings

2017-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I still need to push a News Entry. -- ___ Python tracker <http://bugs.python.org/issue30211> ___ ___ Python-bugs-list mailin

[issue30303] IDLE: Add _utest to textview

2017-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ba365da9cee8901fad08ab0b61c7489c110e5c97 by terryjreedy (Louie Lu) in branch 'master': bpo-30303: IDLE: Add _utest argument to textview (#1499) https://github.com/python/cpython/commit/ba365da9cee8901fad08ab0b61c748

[issue30303] IDLE: Add _utest to textview

2017-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> backport needed versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue30303> ___ ___ Python-bugs-lis

[issue30303] IDLE: Add _utest to textview and add textview tests

2017-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: IDLE: Add _utest to textview -> IDLE: Add _utest to textview and add textview tests ___ Python tracker <http://bugs.python.org/issu

[issue30303] IDLE: Add _utest to textview and add textview tests

2017-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am adding a couple of exception tests to complete coverage. -- ___ Python tracker <http://bugs.python.org/issue30303> ___ ___

[issue30303] IDLE: Add _utest to textview and add textview tests

2017-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +1736 ___ Python tracker <http://bugs.python.org/issue30303> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23667] IDLE to provide option for making trailing whitespace visible

2017-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Louie, when you close and open PRs, please give at least a brief explanation. In particular, how is the new one different? -- assignee: -> terry.reedy ___ Python tracker <http://bugs.python.org/issu

[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2017-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I made a note of the idlelib.multicall changes for when I review the module to modernize and test. -- ___ Python tracker <http://bugs.python.org/issue30

[issue30355] Unicode symbols crash lib2to3.parse

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. Δ is not a 2.x identifier (variable name) or anything else (like 'binary operator') and it would be wrong for lib2to3.pgen2.parse.classify to classify it is such, or as anything else. So I am closing this. Benjamin can reopen if we ar

[issue30359] Annotating a function as returning an (async) context manager?

2017-05-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: A standard convention for annotating a function as returning an (async) context manager? -> Annotating a function as returning an (async) context manager? ___ Python tracker <http://bugs.python.org/issu

[issue30360] getpass.getpass() does not accept stdin from an Expect script

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I strongly suspect that this should be closed as 'not a bug', but I know too little about expect to be sure. If there is a python, as opposed to expect or os bug, then it should be possible to demonstrate the problem with python. If you leave

[issue30361] Docs example: converting mixed types to floating point

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. Also, I think one example is enough. A good sprint fix. -- keywords: +easy nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue30

[issue30405] PCbuild.bat: register binaries for py launcher

2017-05-19 Thread Terry J. Reedy
New submission from Terry J. Reedy: While working on patches for python, typing path\repository\PCbuild\win32\python-d.exe is an error-prone pain. I would really like to be able to run locally built binaries with py.Could pcbuild/build.bat register binaries that it successfully builds

[issue30362] Launcher add list and list with paths options

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: py already has the -number option space. To avoid conflict, use -0 (zero). I think only one option is needed -- print 'x.y path' for each binary it can find and run. 'x.y' should be the exact option needed to start the particular binar

[issue30372] Status of __builtins__ is not totally clear

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Moving "CPython implementation detail: " up a paragraph should be trivial. Resolving the conflict between " __builtins__ can be set to a user-created dictionary to create a weak form of restricted execution." and "Users should not t

[issue30376] Curses documentation refers to incorrect type

2017-05-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch type: -> behavior versions: -Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/i

[issue30376] Curses documentation refers to incorrect type

2017-05-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue30376> ___ ___ Python-bugs-list mai

[issue30377] Unnecessary complexity in tokenize.py: comments and newlines

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is pycon week, so staff person is busy with that. -- nosy: +terry.reedy title: Unnecessary complexity in tokenize.py around handling of comments and newlines -> Unnecessary complexity in tokenize.py: comments and newli

[issue30388] ndbm can't iterate through values on OS X

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do you mean that on OSX, you code works with 3.6.1 and fails with 3.5.3? -- components: +macOS nosy: +ned.deily, ronaldoussoren, terry.reedy ___ Python tracker <http://bugs.python.org/issue30

[issue30399] Get rid of trailing comma in the repr() of BaseException

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the trailing comma is slightly worse than redundant, as someone who has forgotten the trailing comma rule for calls can mistakenly read it as making the arg a tuple. So +1 on removing it. -- nosy: +terry.reedy

[issue30403] Running extension modules using -m switch

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: What is the use case? It only make sense to run any stdlib module with -m, and without -i, if it has a command line interface (and an if __name__ clause). Otherwise, the module is created and then deleted when python exits. > py -m math > C-coded m

[issue30404] Make stdout and stderr truly unbuffered when using -u option

2017-05-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Make stdout and stderr truly unbuffered when run with the -u option -> Make stdout and stderr truly unbuffered when using -u option ___ Python tracker <http://bugs.python.org/issu

[issue30405] PCbuild.bat: register binaries for py launcher

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume there is already a dead registry entry problem if someone simply deletes the pythonxy directory. (I know, very bad idea.) On the other hand, deleting a git repository directory *is* the thing to do. While listing entries and paths, py could check

[issue30405] build.bat: register binaries for py launcher

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From a couple of tests, the local python.bat should be satisfactory for most >of my current uses. Being part of a #30362 listing would be nice, but I don't >often change my set of build binaries. --

[issue30290] IDLE: add tests for help_about.py

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: 4a. Change uglyMidcap widget names and CamelCase function names to pep8_conformant names. Simplify: byline, email, docs, pyver, tkver, idlever, py_license, py_copyright, py_credits, readme, idle_news, idle_credits. 4b. Change CamelCase function names to

[issue30290] IDLE: add tests for help_about.py

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Follow-up issues. A. Move code and tests into help.py and test_help.py. B. Improve content: 1) #25224; 2) remove or update credits; 3) reconsider each item. C. Improve appearance: 1) ttk widgets; 2) Redo entire look

[issue23667] IDLE to provide option for making trailing whitespace visible

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Louie: It appears that old PRs might merge as they are but any change, including an update merge, requires that you close and re-open. When you re-open, please add "was pr". It would be easier for me if you redid all the IDLE PRs in a ba

[issue17188] Document 'from None' in raise statement doc.

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 763557eac06ba60d7c5133e4f80df8870d8f917e by terryjreedy (csabella) in branch 'master': bpo-17188: DOC: Document 'from None' in raise statement (#1671) https://github.com/python/cpython/commit/763557eac06ba60d7c51

[issue17188] Document 'from None' in raise statement doc.

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The double listing seems to be a glitch. Either someone else does backport or online doc change waits until I can do it. -- assignee: docs@python -> terry.reedy stage: patch review -> backport needed versions: +Python 3.6, Python 3.7 -Pyth

[issue30403] Running extension modules using -m switch

2017-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: So a use case might be that someone could compile all the stdlib .py modules with cython, as they are, without touching the code, and have the result be a drop-in replacement. I'd like that to be pos

[issue30290] IDLE: add tests for help_about.py

2017-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I take 'fun' to mean you will try something. And yes, I have thought about the following for all IDLE modules. 6. Replace "from tkinter import *". It was mainly intended for interactive use. In production IDLE, use either a. from tkint

[issue30422] Add roadmap.txt section to idlelib

2017-05-21 Thread Terry J. Reedy
New submission from Terry J. Reedy: Idlelib needs a roadmap with a bit of history to help orient new contributors to IDLE as to where I see it going. I am not sure whether to add this to README.txt or make is a separate roadmap.txt file. A rough draft (which started as just an outline

[issue30290] IDLE: add tests for help_about.py

2017-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Louie, at first glance, this appears to implement the remaining changes in 1 and 2. A possible problem is that I expect the needed 'self.' additions will conflict with the name changes on the same lines that Cheryl said she would do, about 10

[issue30290] IDLE: add tests for help_about.py

2017-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am about to go to bed, way late. I would like to review and apply all the non-test changes, 4,5,6 in one PR, and add 3 since I know what I meant. There can be multiple commits in one PR though. Louie, from #30422 and a tracker search, you can see that

[issue30290] IDLE: add tests for help_about.py

2017-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 054e09147aaa6f61aca6cd40c7bf7ce6dc54a04b by terryjreedy (mlouielu) in branch 'master': bpo-30290: IDLE: Add more tests for help_about dialog (#1697) https://github.com/python/cpython/commit/054e09147aaa6f61aca6cd40c7bf7c

[issue30290] IDLE: add tests for help_about.py

2017-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR merged. I will worry about where in the test to call AboutDialog.Ok, which has the last uncovered line - and any other details -- later, perhaps when I merge this file into help.py. -- ___ Python tracker

[issue30422] Add roadmap.txt section to idlelib

2017-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The existing todo.txt is a decade out of date or so. A low priority item is to review it against open issues + my own todo list. What I remember from when I read it is that some seemed either very low priority or something I don't really want to do.

[issue17942] IDLE Debugger: Improve GUI

2017-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, Python now uses git and pull requests. Can you, and do you wish to, rebase and convert to a pull request, any of your patches we wish to investigate further, yourself, or should we go ahead and do so? Silence for a week will be taken as the latter

<    59   60   61   62   63   64   65   66   67   68   >