[issue4992] yield's documentation not updated

2009-01-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would go with the first suggestion as that was the intent of adding next() as a builtin function. -- nosy: +tjreedy ___ Python tracker <http://bugs.python.org/issue4

[issue5066] IDLE documentation for Unix obsolete/incorrect

2009-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: LOL. That doc was apparently last revised in 2000 for the IDLE released with 1.5.2 (see screenshot). Other needed updates I see are: 'Shell' and 'Options' have been added to the menu line; we now have unicode text; screenshots look diff

[issue5106] Update Naming & Binding statement for 3.0

2009-01-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : Language / Execution Model / Naming & Binding just before example that does not work, class A: a = 42 b = list(a + i for i in range(10)) says : "The scope of names defined in a class block is limited to the class block; it does not exte

[issue5066] IDLE documentation for Unix obsolete/incorrect

2009-02-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is there an HTML to acceptable RST converter? ___ Python tracker <http://bugs.python.org/issue5066> ___ ___ Python-bugs-list mailin

[issue5139] Add combinatoric counting functions to the math module.

2009-02-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you semi-optimize the implementation by pre-cancelling out the larger of the denominators, then these functions would be justified as more efficient than the naive use of the factorial function indicated by the formulas. Possible shorter names: ncombos

[issue5150] IDLE to support reindent.py

2009-02-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the interactive interpreter did not require blank lines within blocks to have at least one 'trailing' space to avoid prematurely ending the block (as when copy from editor window and paste), IDLE could automatically rstrip lines. Given that that

[issue5156] IDLE exits with UnicodeDecodeError on Ctrl+Space

2009-02-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: On IDLE 3.0, win xp, cntl-space brings up a selection box with known names to select. What was your actual input? -- nosy: +tjreedy ___ Python tracker <http://bugs.python.org/issue5

[issue1660009] continuing problem with httplib multiple set-cookie headers

2009-02-09 Thread John J Lee
John J Lee added the comment: Why? ___ Python tracker <http://bugs.python.org/issue1660009> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue918368] urllib doesn't correct server returned urls

2009-02-09 Thread John J Lee
John J Lee added the comment: This bug refers to urllib. Issue 1153027 refers to urllib2. It's the same problem in each case, though. -- nosy: +jjlee ___ Python tracker <http://bugs.python.org/iss

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-02-09 Thread John J Lee
John J Lee added the comment: This bug refers to urllib2. Issue 918368 refers to urllib. It's the same problem in each case, though. ___ Python tracker <http://bugs.python.org/issu

[issue918368] urllib doesn't correct server returned urls

2009-02-12 Thread John J Lee
John J Lee added the comment: Mike's list is missing one more character, "%" itself. So, the replacement should be: quote(newurl, safe="%/:=&?~#+!$,;'@()*[]") The replacement should be done in the .open() method, not

[issue918368] urllib doesn't correct server returned urls

2009-02-12 Thread John J Lee
John J Lee added the comment: A suitable test would be to derive a urllib.URLOpener subclass that has an open_spam(url) method which records the URL. Then call .open("spam://") in the test and verify that the URL has been quoted. ___ Python trac

[issue918368] urllib doesn't correct server returned urls

2009-02-12 Thread John J Lee
John J Lee added the comment: Uh, that should have beeen something like .open("spam://example.com/%2E/") of course. ___ Python tracker <http://bugs.python.or

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-02-12 Thread Terry J. Reedy
New submission from Terry J. Reedy : 3.x str.format() format strings denote replacement fields with braces {}. Currently, replacement fields *must* contain "either the numeric index of a positional argument, or the name of a keyword argument". [lib ref / builtin types / sequence type

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-02-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: All I am requesting is that '{} {} {}'.format(3, 'pi', 3.14) work as >>> '%s %s %s' % (3, 'pi', 3.14) '3 pi 3.14' >>> '{0} {1} {2}'.format(3, 'pi', 3.14) '3 pi 3.14&

[issue5250] Document __instancecheck__ and __subclasscheck__

2009-02-13 Thread Terry J. Reedy
New submission from Terry J. Reedy : http://www.python.org/dev/peps/pep-3119/#overloading-isinstance-and-issubclass (GvR and Talin) "The primary mechanism proposed here is to allow overloading the built-in functions isinstance() and issubclass(). The overloading works as follows: The

[issue5252] 2to3 should detect and delete import of removed statvfs module

2009-02-13 Thread Stephen J. Turnbull
New submission from Stephen J. Turnbull : It should also try to convert stuff like from statvfs import F_BAVAIL, F_FRSIZE status = os.statvfs(directory) available = status[F_BAVAIL]/((1024*1024)/status[F_FRSIZE] -- components: 2to3 (2.x to 3.0 conversion tool) messages: 81959 nosy: sjt

[issue2899] Fixers find, rfind, etc in 'string' module

2009-02-13 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: Maybe 2to3 could get a --pedantic or even an --annoying option? I agree that it should be noisy about removed features even if actually fixing this kind of thing would be hard to do reliably. -- nosy: +sjt

[issue5169] Default hash not equal to id on AMD Sempron

2009-02-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Chema, thank you for bringing this semi-conscious assumption to light. Intentionally breaking it significantly speeds up set and dict creation. -- nosy: +tjreedy resolution: -> invalid status: open -> closed superseder: -> Reduce hash colli

[issue1372650] Cookie and multiple names

2009-02-13 Thread John J Lee
John J Lee added the comment: A patch for this bug is attached to issue1375011. ___ Python tracker <http://bugs.python.org/issue1372650> ___ ___ Python-bugs-list mailin

[issue1172011] BaseCookie does not call value_decode

2009-02-13 Thread John J Lee
Changes by John J Lee : -- nosy: -jjlee ___ Python tracker <http://bugs.python.org/issue1172011> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue991266] Cookie.py does not correctly quote Morsels

2009-02-13 Thread John J Lee
Changes by John J Lee : -- nosy: -jjlee ___ Python tracker <http://bugs.python.org/issue991266> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5252] 2to3 should detect and delete import of removed statvfs module

2009-02-14 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: Benjamin Peterson writes: > Hmm. 2to3 doesn't currently mess with the stat module and os.stat the > more common function. Also the new interface (attributes on the objects > returned) has been around since 2.2. So what? You *c

[issue960325] "--require " option for configure/make (fail if building not possible)

2009-02-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hallvard, do you still consider this a live issue? ___ Python tracker <http://bugs.python.org/issue960325> ___ ___ Python-bugs-list m

[issue995458] Does not build selected SGI specific modules

2009-02-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suspect this can be closed either as "won't fix" or "out of date". While only Irix 4 and not Irix 6 is listed in Removing support for little used platforms http://www.python.org/dev/peps/pep-0011/ I suspect Irix 6 may be close t

[issue995458] Does not build selected SGI specific modules

2009-02-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido's answer: "Irix is long dead and we don't support it in any form or version." -- resolution: -> out of date status: open -> closed ___ Python tracker <http:

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -tjreedy ___ Python tracker <http://bugs.python.org/issue3871> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1169108] PySys_WriteStderr() -> WaitForSingleObject() hangs system

2009-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should have closed this years ago due to lack of response. Anyone with code that hangs CPython 2.6+ can reopen and post said code. -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue1153622] eval does not bind variables in lambda bodies correctly

2009-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think this should be closed as rejected. It is a vague wish that Python change its scoping rules in a way that is extremely unlikely and which would require a PEP in any case. I might sometime recheck my suggested doc changes versus the current versions

[issue47037] Build problems on Windows

2022-03-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : 3.11 apparently builds without error, and 'python' and 'python -m idlelib' appears to start normally, but there is a new problem. python -m test raises OS box with 'Debug Assertion Failed!', program python_d.exe, Fil

[issue47037] Build problems on Windows

2022-03-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re the 3.9/3.10 warnings: I have not intentionally touched my C install in years. I don't know what Windows' updates do (most recently yesterday) . I presume vcruntime140.dll is on my C: ssd, which has shown no problems. Debug runs w/o -j0 nor

[issue46996] Drop support of Tcl/Tk older than 8.5.12

2022-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ronald: According to a page (which I cannot find, E. Paine should know) Centos 7 has the oldest tcl among current *nix distributions. https://centos.pkgs.org/7/centos-x86_64/tcl-8.5.13-8.el7.x86_64.rpm.html says it is 8.5.13, which is what I remember from

[issue46996] Drop support of Tcl/Tk older than 8.5.12

2022-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: tk release availability is a bit confusing. https://wiki.tcl-lang.org/page/Changes+in+Tcl%2FTk+8%2E6 appears to lists things 'new' in 3.6.1, but that seems to mean new since 8.5.1, as it includes thing introduced in 8.5.n, where n > 1. For

[issue47037] Build problems on Windows

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I recompiled, retested, and all tests are ok, with no unexpected box. Thank you all. The vcruntime warnings are also gone, so I will chalk them up to a onetime glitch. -- ___ Python tracker <ht

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3. continued. As noted in #22628, idlelib.tree has line spacing and other stuff hardcoded so it will not work properly on all monitors. -- ___ Python tracker <https://bugs.python.org/issue31

[issue22628] Idle: Tree lines are spaced too close together.

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: We started using ttk widgets in 3.6. As I said above, the real solution should be to use ttk.Treeview. This is issue 31552. -- resolution: -> fixed status: open -> closed superseder: -> IDLE: Convert browswers to use ttk

[issue47054] "SyntaxError: non-default argument follows default argument" should be "parameter"

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current message same in 3.11 and 3.9, but I am not sure about backporting to old parser. However merges a change, if any, can decide. -- nosy: +pablogsal, terry.reedy stage: -> needs patch type: -> behavior versions: +Python 3.11 -Pyth

[issue47054] "SyntaxError: non-default argument follows default argument" confuses

2022-03-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: "SyntaxError: non-default argument follows default argument" should be "parameter" -> "SyntaxError: non-default argument follows default argument" confuses ___ Python

[issue47056] turtle.write() causes flickering when the tracer is turned off.

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win10, running 3.11.0a5+ from command line, upper ABC and boxes flicker when strings are displayed. (When run with from IDLE editor, there is no flicker except sometimes when moving mouse over or off title bar buttons.) (3.8 only gets security fixes

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: ttk.Treeview also has problems, at least on some systems and versions. https://mail.python.org/pipermail/tkinter-discuss/2022-March/004226.html HiDPI displays and tkinter [cont] https://mail.python.org/pipermail/tkinter-discuss/attachments/20220316/843e7076

[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the IDLE Help menu, 'Python Docs', default hotkey 'F1', invokes '<>', which is handled by EditorWindow.help_docs. For Windows, line 599, is 'os.startfile(self.help_url)'. (Otherwise, webbrowser is

[issue28080] Allow reading member names with bogus encodings in zipfile

2022-03-23 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: I'm not going to have time to look at the PR for a couple days. I don't understand what the use case is for writing or appending with filenames in a non-UTF-8 encoding. At least in my experience, reading such files is rare, but I have never

[issue47072] Database corruption with the shelve module

2022-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.8 only gets security patches. If you can, please test with a newer version. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue47

[issue47079] Integral.denominator shouldn't return an int

2022-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond and Serhiy, you were the last two active devs to touch numbers.py. -- nosy: +rhettinger, serhiy.storchaka, terry.reedy ___ Python tracker <https://bugs.python.org/issue47

[issue47156] IDLE: make use of extended SyntaxError info.

2022-03-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : In 3.10 and 3.11: >>> while s := input.read(MAXBINSIZE): ... while len(s) < MAXBINSIZE and ns := input.read(MAXBINSIZE-len(s)): File "", line 2 while len(s) < MAXBINSIZE and ns := in

[issue47147] Allow `return yield from`

2022-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that this should be closed as rejected, and that Patrick should remove the 'return's that are in front of 'yield from ...'. Then 'yield from x' will be a statement, not an expression, and the ()s will not b

[issue47190] Integrating tkinter and asyncio event loops

2022-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I did some somewhat similar experiments a few years ago. I will try to find the code sometime. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue47

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am writing a PR with an internal link. I decided that linking to Standard Encodings is sufficient. The Python Text Encodings section follows that. Anyone wanting to use any of those can experiment to see which work

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +30337 pull_request: https://github.com/python/cpython/pull/32274 ___ Python tracker <https://bugs.python.org/issue24

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 01be5d6446abbdd95d0c18bd19a58a62b05568d8 by Terry Jan Reedy in branch 'main': bpo-24563: Link encoding names to encoding declarations (GH-32274) https://github.com/python/cpython/commit/01be5d6446abbdd95d0c18bd19a58a

[issue24563] [doc] Encoding declaration: doc supported encodings

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

[issue46033] Duplicated sentence in for statement documentation

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 281f980d354d1709018a2dc77f79388faf3e56c0 by MichaƂ D in branch 'main': bpo-46033: Clarify for-statement execution (GH-30025) https://github.com/python/cpython/commit/281f980d354d1709018a2dc77f79388faf3e56c0 -- nosy: +t

[issue46033] Duplicated sentence in for statement documentation

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

[issue47190] Integrating tkinter and asyncio event loops

2022-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: That issue has my previous experiments. Thank you Serhiy for finding it ;-). -- resolution: -> duplicate superseder: -> Integrate tkinter and asyncio (and async) ___ Python tracker <https://bugs.p

[issue47226] Unexpected indent message

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: " keys = pygame.key.get_pressed() is showing error called unexpected indent" The problem is that the keys line in indented one less space than the line above. A shorter example below. if True: a = 1 b = 2 SyntaxError: unindent does not

[issue47226] Unexpected indent message

2022-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue47226> ___ ___

[issue47229] IDLE / Thonny UI crashes on Chromebook Linux/Bullseye

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue tracker is for improving the CPython distribution. It is not a tracker for other software, or for general help with running Python. For the latter, try https://mail.python.org/mailman/listinfo/python-list Thonny is 3rd party software with its

[issue47229] IDLE crashes on Chromebook Linux/Bullseye

2022-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE / Thonny UI crashes on Chromebook Linux/Bullseye -> IDLE crashes on Chromebook Linux/Bullseye ___ Python tracker <https://bugs.python.org/issu

[issue27546] Integrate tkinter and asyncio (and async)

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I posted look_tk3, I believe, as an answer to an SO question. https://stackoverflow.com/questions/47895765/use-asyncio-and-tkinter-or-another-gui-lib-together-without-freezing-the-gui/47896365#47896365

[issue47229] IDLE UI crashes on Chromebook Linux/Bullseye

2022-04-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Thonny GUI uses the same as IDLE": I presume this means that Thonny also uses tkinter and both fail, which means that tkinter is not working right. Your test run indicates that python is not running correctly either. It only tried to run

[issue47229] Python tests fail on Chromebook Linux/Bullseye

2022-04-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Tests -IDLE title: IDLE UI crashes on Chromebook Linux/Bullseye -> Python tests fail on Chromebook Linux/Bullseye type: crash -> behavior ___ Python tracker <https://bugs.python.org/i

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Christian: IDLE and test_idle require threading. I once tested for threading in test_idle (not sure about IDLE itself) but removed the test when threading was made supposedly non-optional. Test_idle still tests for tkinter and idlelib. For PR 32352. did

[issue37821] IDLE shell uses wrong namespace for completions

2019-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current behavior is the quick and easy/dirty solution that we have, not what we especially want. #27609 has multiple issues and ideas for completion improvements. I made testing and improving the code priorities before worrying about most of the

[issue37847] The IDLE does not show previous code suggestions if I tap on the up arrow

2019-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are two ways to navigate history. 1. Shell menu, Previous History and Next History, which show the hot keys on your system. The hot keys can be customized with Options, Settings, Keys tab, history_prev, history_next. This is easily found by looking

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I reported is that it is too low on my Windows system, with my size and font, mostly covering the line. Anyway, misplaced before, now perfectly placed. Now that I see the patch, I seem to remember another place what an update call is needed before

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 71662dc2f12a7e77e5e1dfe64ec87c1b459c3f59 by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-37849: IDLE: fix completion window positioning above line (GH-15267) https://github.com/python/cpyt

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +rhettinger, taleinat title: IDLE: DeprecationWarning not handled properly -> IDLE: Handle Shell input warnings properly. ___ Python tracker <https://bugs.python.org/issu

[issue34857] IDLE: Module warnings misplaced.

2019-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I moved leaving SyntaxWarnings as warnings to #37824, as that is mostly about editing pyshell. Changing the ordering of warnings and RESTART involves run.show_warnings. I believe the latter should collect lines in a warnings list and print ''.joi

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +15030 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15311 ___ Python tracker <https://bugs.python.org/issu

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am combining the trivial 'leave Shell input SyntaxWarnings alone (instead of making them SyntaxErrors)' part of #34857 with this issue, 'print Shell input (and the very rare internal IDLE Warnings occurring after Shell exists) in Shell, a

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The triple (or double, see below) printing seems like a pure bug to be fixed. A fix could be a separate PR to be merged 'immediately'. But there is a complication with insertion location. My bug claim was based on a one line statement, whe

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: My first post described master at the time, when SyntaxWarnings were converted to SyntexErrors and shell input warnings, in particular, Deprecation warnings were sent to the console or nowhere. My third post describes the situation with the PR, where

[issue37882] Code folding in IDLE

2019-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am familiar with the feature in Notepad++ on Windows. But I never use its +- code folding. IDLE already has two different and, to me, generally better code folding features. To get an outline view of a file's classes and functions, use File =>

[issue37862] Search doesn't find built-in functions

2019-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The search page is the last thing one should use. There is the index https://docs.python.org/3/genindex-Z.html and for builtin function, chapter 2 of the library manual. https://docs.python.org/3/library/functions.html#built-in-functions I don't know i

[issue37873] unittest: execute tests in parallel

2019-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: test.regrtest has a -j option. Perhaps some of the Python coding for that could be used for unitest also. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue37

[issue37873] unittest: execute tests in parallel

2019-08-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord ___ Python tracker <https://bugs.python.org/issue37873> ___ ___ Python-bugs-list mailin

[issue37882] Code folding in IDLE

2019-08-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue37882> ___ ___

[issue37892] IDLE Shell: isolate user code input

2019-08-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : The main operational difference between the standard Python REPL and IDLE's Shell is that the latter operates with complete Python statements rather than physical lines. Shell keeps the '>>>' prompt, but with the expanded meani

[issue7676] IDLE shell shouldn't use TABs

2019-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that using tabs for Shell indents is IDLE's current worst design wart. But I agree with KBK (#1196946) that merely replacing tabs with spaces does not really solve the problem, which is the jagged physical margin consequent on physically inde

[issue37902] Add scrolling for IDLE browsers

2019-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. We added mousewheel scrolling to editor just over a year ago and later added it to text views. But for the browsers, I want to factor out the common code. It is a bit tricky since the 3 major systems each send different events for the same

[issue37902] Add scrolling for IDLE browsers

2019-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: #31461 is the index issue for class browser. Mousewheel scrolling was listed without an issue. Now there is, and this has been added as a dependency. -- ___ Python tracker <https://bugs.python.org/issue37

[issue31461] IDLE: Enhance module browser

2019-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: #37902 Add mousewheel scrolling. -- dependencies: +Add scrolling for IDLE browsers ___ Python tracker <https://bugs.python.org/issue31

[issue37903] IDLE Shell sidebar.

2019-08-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : This issue proposes to add a shell-specific sidebar to Shell. It follows-up #17535, which added a line-number sidebar to module editors and implements the first phase of #37892, which proposes that the single statement editing area of Shell should be

[issue37892] IDLE Shell: isolate user code input

2019-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adding a Shell sidebar is #37903. -- ___ Python tracker <https://bugs.python.org/issue37892> ___ ___ Python-bugs-list mailin

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I won't merge with mousescroll duplicated, or worse, triplicated. If 'self.text/canvas' is replaced with 'event.widget', then the 'self' parameter can be deleted and the function made a standalone module function. For no

[issue37862] Search doesn't find built-in functions

2019-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Even if click 'Library Reference', click '2. Built-in...', click name in the index at the top of the page to go to the entry I know I want to read is sometimes slower that 'click search box', enter word, hit Return, wait for

[issue37902] Add scrolling for IDLE browsers

2019-08-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'mousescroll' was not exact because the mouse is also used to scroll with the scrollbar. 'handlescroll' is worse. 'wheelscroll' seems awkward. 'scrollwheel' (scroll with the mouse wheel) is specific. At least i

[issue37902] Add scrolling for IDLE browsers

2019-08-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Don't worry more about tests until I look at what you have done already. -- ___ Python tracker <https://bugs.python.org/is

[issue37929] IDLE: OK sometimes fails to close configdialog

2019-08-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : If one opens configdialog when there is no Shell and then hits OK, the dialog fails to close. The following Squeezer-related traceback appears in associated console when there is one. Exception in Tkinter callback Traceback (most recent call last

[issue17642] IDLE add font resizing hot keys and wheel

2019-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want this too, and part of it should be simple. Given that I have had a never empty backlog of PRs to review for 2 1/2 years, it got forgotten. There was also a tk problem that seemed to block implementation. Specification for hotkey: Cntl/Cmd

[issue14112] tutorial intro talks of "shallow copy" concept without explanation

2019-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: With /like/link/ I agree. -- ___ Python tracker <https://bugs.python.org/issue14112> ___ ___ Python-bugs-list mailin

[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2019-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: At least some idlelib imports are delayed to avoid circular import errors, as described by Nick. The patch adds 'Module level' before 'imports'. Pro: techinically correct as only module level imports can be put at the top. Com: might b

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +15189 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15500 ___ Python tracker <https://bugs.python.org/issu

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I pulled the part of PR 15311 that works, stop turning Shell SyntaxWarnings into SyntaxErrors, into PR-15500, to get it into b4. I will update the former after merging the latter. -- stage: patch review

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1039f39c9c6edb4c185856c19316d3a4eb561c38 by Terry Jan Reedy in branch 'master': bpo-37824: Properly handle user input warnings in IDLE shell. (GH-15500) https://github.com/python/cpython/commit/1039f39c9c6edb4c185856c19316d3

[issue37824] IDLE: Handle Shell input warnings properly.

2019-08-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 077887059a5b3d38161dfd74b160c701445a1ef0 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.8': bpo-37824: Properly handle user input warnings in IDLE shell. (GH-15500) https://github.com/python/cpyt

[issue37827] IDLE Shell: add a terminal mode that responds to \a, \b, and \r

2019-08-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: In this post, I slightly expand the terminal mode proposal and define the context in which I will accept it. The context will be the subject of other issues. In the next post (tomorrow) I will try to define a reviewable specification for the terminal mode

[issue37980] regression when passing numpy bools to sorted(..., reverse=r)

2019-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR-11952 was written by Serhiy and reviewed by Victor (and Mark). They are better qualified to comment on its intended side effects than I am. In the case of sorting, the exception for, say, "reverse='a'", says the flag must be an 

[issue37939] os.path.normpath change some characters of a path into kinda 'hex number'

2019-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.5 (and 3.6) only gets security fixes. From the report, the bug is fixed in 3.7. FWIW, I agree about the 9-bit octal thing. There is another issue about this. -- nosy: +terry.reedy resolution: -> out of date stage: -> resolved status

[issue37981] Can't install Python 3.7.4 x64 on Win 8.1

2019-08-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue37

<    14   15   16   17   18   19   20   21   22   23   >