[issue41608] IDLE: multiple space deletion by Backspace after non-spaces

2020-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your example is 4 spaces, 3 (non-space) chars, 2 spaces, 3 chars, 2 spaces. With the cursor after the 2 internal spaces, backspace deletes 1 space, not 2. However, with the first block expanded from 3 chars to 4, backspace deletes both spaces. Without out

[issue41611] IDLE: problem

2020-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The Mac-specific shutdown warning from multiprocessing is not directly related to IDLE. 'multiprocessing' is not imported by IDLE and is not in sys.modules when IDLE starts. >From 'all-day' I assume that there was a time period be

[issue41611] IDLE: problem

2020-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, should 'text' be '!text' in a tkinter-generated widget name? -- ___ Python tracker <https://bug

[issue41611] IDLE: problems with completions on Mac

2020-08-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE: problem -> IDLE: problems with completions on Mac ___ Python tracker <https://bugs.python.org/issue41611> ___ ___ Py

[issue41611] IDLE: problem

2020-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my Macbook Air Mohave, I don't get completion boxes on either 3.8.3rc1 or 3.9.0rc1, even when clicking Edit => Show completions. Nor does IDLE quit or print anything in Terminal. -- ___ Python tracker

[issue41513] Scale by power of two in math.hypot()

2020-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tim, I have been reading this, without examining all the details, to learn more about FP accuracy problems. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue41

[issue41575] Please use active voice in async docs.

2020-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Active voice is strongly recommended for docstrings in PEP 257 and commit messages somewhere in the Developer guide and applies to docs. The doc for the asyncio call_x functions all start with the active voice: 'Schedule', which is the main act

[issue41573] Correct wrong sentences in General FAQ

2020-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7173fc84e61b80b19261e47fca38030206a3a78e by wyz23x2 in branch 'master': bpo-41573: Update release versions in General FAQ (GH-21915) https://github.com/python/cpython/commit/7173fc84e61b80b19261e47fca38030206a3a78e -

[issue41576] document BaseException in favour of bare except in error tutorial

2020-08-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: PEP 8 discourages the use of bare except. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue41

[issue41573] Correct wrong sentences in General FAQ

2020-08-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 429a86a12016ae42ea32d754e0725cbee8e99808 by Miss Islington (bot) in branch '3.9': bpo-41573: Update release versions in General FAQ (GH-21915) (#21938) https://github.com/python/cpython/commit/429a86a12016ae42ea32d754e0725c

[issue41573] Correct wrong sentences in General FAQ

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

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

2020-08-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue37426> ___ ___ Python-bugs-list mailin

[issue41548] Tk Window rendering on macOS Big Sur

2020-08-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> resolved status: open -> closed versions: -Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/i

[issue37149] link to John Shipman's Tkinter 8.5 documentation fails: website no longer available

2020-08-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pending improving the our docs, I would like to replace the Archive link, which is slow to respond. Issue: there is no copyright notice. Once might expect it to belong to NMT, but they seem to have disowned it by removing the web pages. The dead links

[issue37149] link to John Shipman's Tkinter 8.5 documentation fails: website no longer available

2020-08-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> needs patch versions: -Python 3.5 ___ Python tracker <https://bugs.python.org/issue37149> ___ ___ Python-

[issue41610] Any Raspberry Pi Zero Projects to try?

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mika and supriya: this is not a 'forum'. It is a workspace for discussing possible and actual improvements to out githup python/cpython and python/devguide repositories via github pull requests. (Other python repositories have their own discuss

[issue41615] sys.argv may be None or an empty list

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The docs are normative as well as descriptive. The specific doc for sys.argv is https://docs.python.org/3/library/sys.html#sys.argv. It says that a proper Python stdlib sys module has an args attribute that is a non-empty list whose first item is a string

[issue41620] Python Unittest does not return results object when the test is skipped

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: You should justify the proposed change here on the issue, and see if the doc says anything about the issue either way. -- nosy: +ezio.melotti, michael.foord, rbcollins, terry.reedy ___ Python tracker <ht

[issue41622] Add support for emoji-data.txt and emoji-variation-sequences.txt to unicodedata

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Base facts: The Unicode Character Database, UCD, is defined in Tech Report 44, https://www.unicode.org/reports/tr44/. The latest files (now for 13.0) are at https://www.unicode.org/Public/UCD/latest/ and in particular, in the ucd subdirectory. ucd

[issue41627] Relocate user site packages on Windows 32-bit

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: If it is otherwise possible to user-only install both 32 and 64 bit versions, then using the same site-packages strikes me a bug, even if only fixed in the next version. -- nosy: +terry.reedy ___ Python tracker

[issue41629] __class__ not set defining 'X' as

2020-08-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: __class__ not set defining 'X' as . Was __classcell__ propagated to type.__new__? -> __class__ not set defining 'X' as ___ Python tracker <https://

[issue41634] Typo in curses documentation

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a1473d2c9106abbdc619bdcc973c15a87e3f0f12 by Miss Islington (bot) in branch '3.8': bpo-41634: Fix a typo in the curses documentation (GH-21958) https://github.com/python/cpython/commit/a1473d2c9106abbdc619bdcc973c15a87e3f0f12 -

[issue41634] Typo in curses documentation

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6b5e88744cb48156a5dee47244dbc1b0dd82567c by Miss Islington (bot) in branch '3.9': bpo-41634: Fix a typo in the curses documentation (GH-21958) https://github.com/python/cpython/commit/6b5e88744cb48156a5dee47244dbc1

[issue41634] Typo in curses documentation

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Karthikeyan, I went ahead and merged and closed this trivial fix because I could not imagine any reason to hold it up. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed _

[issue41637] Calling with an infinite number of parameters is not detected

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, I get an indefinite hang rather than an overt crash with a crash box. I believe that there was some swapping out to disk. I got the same with list(itertools.count()). If you got a core dump or crash report, you might upload it. There is

[issue41645] Typo First Page of Documentation

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that a second verb might be better but 'is' is wrong. How about Python has ... and uses a simple but effective approach .. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.o

[issue41653] About the use of cpython console mode problem

2020-08-29 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file49430/Screenshot_2020_0828_104656.png ___ Python tracker <https://bugs.python.org/issue41

[issue41653] About the use of cpython console mode problem

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am replacing the text snippet screenshot with a link to the online doc: https://docs.python.org/3/c-api/init.html#c.Py_Initialize The only encoding python 'forces' in recent Python is utf-8 in utf-8 mode and on some systems. See https://docs.

[issue41615] sys.argv may be None or an empty list

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just noticed that Py_Initialize "does not set sys.argv; use PySys_SetArgvEx() for that." https://docs.python.org/3/c-api/init.html#c.Py_Initialize https://docs.python.org/3/c-api/init.html#c.PySys_SetArgvEx void PySys_SetArgvEx(int argc, wchar_t *

[issue41615] sys.argv may be None or an empty list

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New link works and I read it, including the reference to #839151. -- ___ Python tracker <https://bugs.python.org/issue41

[issue41615] sys.argv may be None or an empty list

2020-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had the same idea late last night, though after 20 years, I have forgotten how to spell "['']" in C. (Is some sort of allocation or declaration required?). In the doc, change "It does not set sys.argv; use PySys_SetArgvEx() for t

[issue41615] sys.argv may be None or an empty list

2020-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: sys.argv cannot be set until sys exists. As I mentioned above, subsequent calls before finalization must continue to be no-ops. Code that depends on a bug, in this case of sys.argv not existing, is always vulnerable. In this case, I would expect that

[issue40083] No run option available in python idle in version 3.8.2

2020-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am assuming that Murat is correct that the only problem is confusion between 'Shell' (which is a subclass of the base editor window) and Editor Window (which is a different subclass). For further help, please to to a general forum, such as p

[issue41528] Use math module in turtle

2020-09-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6844b56176c41f0a0e25fcd4fef5463bcdbc7d7c by Marek Madejski in branch 'master': bpo-41528: Use math module in turtle (GH-21837) https://github.com/python/cpython/commit/6844b56176c41f0a0e25fcd4fef5463bcdbc7d7c -- nosy: +t

[issue41549] IDLE leaks `_` into hint box

2020-09-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41691] Idle 3.8.5 on Win64 won't save a file if it didn't include a newline when it was opened (ex: opening empty file)

2020-09-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: For future reference, bpo has a search function. Searching with component = IDLE and status = Closed or Don't care would have found this. -- resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> IDLE

[issue41528] Use math module in turtle

2020-09-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: You could post a suggested replacement for a couple of the expressions, with the warning that we would not necessarily use it. math.hypot has recently be worked over so that it is perhaps more accurate than the standard C version

[issue41709] Tkinter erases clipboard upon closing

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a duplicate of an existing tkinter and Linux issue we don't know how to fix. #40452 -- components: +Tkinter -IDLE resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Tkinter/IDLE: preserve cli

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed duplicate issue #41709, Linux Mint 19.3, python 3.6.8 -- versions: -Python 3.7 ___ Python tracker <https://bugs.python.org/issue40

[issue41659] PEG discrepancy on 'if {x} {a}: pass'

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Minimal example >>> a{ # or >>> a { In 3.8, this is immediately flagged as a SyntaxError. In 3.9 and master, a continuation prompt is issued. This strikes me as a parsing buglet that should preferably be fixed, as it implies that some

[issue41663] Support Windows pseudoterminals in pty and termios modules

2020-09-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Library (Lib) stage: -> test needed type: -> enhancement versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/i

[issue41671] inspect.getdoc/.cleandoc doesn't always remove trailing blank lines

2020-09-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov stage: -> needs patch versions: +Python 3.10 -Python 3.7 ___ Python tracker <https://bugs.python.org/issu

[issue41687] sendfile implementation is not compatible with Solaris

2020-09-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.7 ___ Python tracker <https://bugs.python.org/issue41687> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41719] Why does not range() support decimals?

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: The original title was "Why does not range() support decimals?". In general, such questions should be directed to question forums, such as https://mail.python.org/mailman/listinfo/python-list or stackoverflow.com. This question has been answer

[issue41718] test.regrtest has way too many imports

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows with current master, the baseline for running anything with 1 import (">>> import sys; len(sys.modules)") is 35 imported modules. Adding "import unittest" increases this to 80. What slightly puzzles me is that

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-05 Thread Terry J. Reedy
New submission from Terry J. Reedy : f:\dev\3x>python -m test test.test_winconsoleio Running Debug|Win32 interpreter... 0:00:00 Run tests sequentially 0:00:00 [1/1] test.test_winconsoleio ÄÄ^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z It quickly fails, prints seems garbage and several blanks li

[issue38325] [Windows] test_winconsoleio failures

2020-09-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_consoleio now fails and hangs for me. Issue 41729. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue38

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running test -v test_winconsoleio showed that the hang is in test_cntl_z. With that commented out, I get failures in test_input (1st assert) and test_partial_reads and some bizarre console behavior. F:\dev\3x>python -m test -v test_winconsoleio Running De

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: After splitting the two reads onto two lines, the indefinite hang happens in the second one, stdin.readall. def test_ctrl_z(self): with open('CONIN$', 'rb', buffering=0) as stdin: source = '\xC4\x

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21228 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22146 ___ Python tracker <https://bugs.python.org/issu

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was assuming that the default was 1, not 0. But now that CI tests pass code as is, I will leave it alone. -- ___ Python tracker <https://bugs.python.org/issue41

[issue37149] link to John Shipman's Tkinter 8.5 documentation fails: website no longer available

2020-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 06d0b8b67e8aebd8fe4c34e97d6915c11f4afa30 by Mark Roseman in branch 'master': bpo-37149: Change Shipman tkinter link from archive.org to TkDocs (GH-22188) https://github.com/python/cpython/commit/06d0b8b67e8aebd8fe4c34e97d6915

[issue37149] link to John Shipman's Tkinter 8.5 documentation fails: website no longer available

2020-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8a30bdd21dff6d1957df135c9d0b9983a0f61228 by Miss Islington (bot) in branch '3.8': bpo-37149: Change Shipman tkinter link from archive.org to TkDocs (GH-22188) (#22193) https://github.com/python/cpyt

[issue37149] link to John Shipman's Tkinter 8.5 documentation fails: website no longer available

2020-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: The tkdocs pages load in less than a second rather than in several seconds, have the obsolete link lined out, and include a short explanatory note. So I made the replacement. Ned, please backport to 3.7 and 3.6 if still built nightly

[issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Vitaly, when you repost to posts by email, please delete the post you are responding to, expect possible for a particular line. The full post is already here on the web page above the response, and a duplicate copy is just noise that wastes screen space

[issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared

2020-09-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue38240> ___ ___ Python-bugs-list mailin

[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Issue 38240 was closed as a duplicate of this. After reconsidering, I agree with leaving the name alone. Changing test assertXXX method names is a big nuisance, which we have done enough of. If one is using IDLE, >>> unittest.TestCase.assertC

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, as author of the file and line in question, do you have any objection to changing it? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41725] bz2 would use a dedicated exception for data error

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: An OSError for a file the OS can read seems a bit off. What is the accompanying message? Would something like ValueError("bz2 compressor failed with BZ_DATA_ERROR") be better? Michał, are there precedents or models for this in the other file c

[issue41731] test_cmd_line_script fails with verbosity level more than 1

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified with master on Win10 debug 32 build. The relevant lines, 147-151, are if verbose > 1: print('Output from test script %r:' % script_exec_args) print(repr(err)) print('Expected output:

[issue41731] test_cmd_line_script fails with verbosity level more than 1

2020-09-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21260 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22206 ___ Python tracker <https://bugs.python.org/issu

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2020-09-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Improper NotADirectoryError when opening a file under a fake directory -> Improper NotADirectoryError when opening a file in a fake directory ___ Python tracker <https://bugs.python.org/issu

[issue41742] Request for docs.python.org/3/library/configparser.html#exceptions improvement

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/library/configparser.html#exceptions, like similar sections for other module docs, lists and explains the non-builtin exceptions defined and used in the module. Functions in all modules can potentially raise various builtin

[issue41745] BoundArguments.arguments used in the recommended way to call a callable silently succeeds for nonexistent arguments

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bound is created with 5 public attributes: >>> dir(bound) [..., 'apply_defaults', 'args', 'arguments', 'kwargs', 'signature'] >>> bound.args () >>> bound.arguments {} >>&

[issue41749] Allow omission of imghdr.what file arg if bytes are given

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The opening message confused me by using 'need' as 'currently required to call' rather than 'required to compute (test) and necessarily needed to call'; but after reading the code, I believe I understand and modified title to m

[issue41753] subprocess.run on windows does not convert path to string

2020-09-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Can't pass Path like objects to subprocess api's on Windows. ___ Python tracker <https://b

[issue41753] subprocess.run on windows does not convert path to string

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Also, 3.7 only get security patches. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue41753> ___ ___

[issue41649] Can't pass Path like objects to subprocess api's on Windows.

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #41753 as a duplicate of this. On that issue, Eryk Sun said "The underlying subprocess.Popen class was updated in 3.8 to support path-like objects in `args` (with shell=False) and `executable` on Windows [1]. This change was not backported t

[issue41755] Docs: Please remove `from distutils.core import setup`

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is discussion on pydev about formally deprecating distutils, which would deprecate that snippet. -- nosy: +dstufft, eric.araujo, terry.reedy ___ Python tracker <https://bugs.python.org/issue41

[issue41760] 3.8.6 rc1 documentation fails to build with sphinx 3.2.1

2020-09-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue41760> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41758] turtledemo.colormixer crashes with a stack overflow

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I cannot reproduce on Win 10, 32bit repository debug builds, amd64 machine, with either current master or 3.8, started from command prompt in normal environment with same command. I also used installed 3.9 a bit. Are .pyenv and pyenv-win your names or do

[issue41760] 3.8.6 rc1 documentation fails to build with sphinx 3.2.1

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two issues about Sphinx 3.2.1 failing with "duplicate token description" (posted on both) #41760 'sign', multiple people nosy, failed where? #41762 'format_spec', on Travis, PR by Victor Stinner (2.2.0 okay)

[issue41762] Documentation job fails on CIs: duplicate token description of format_spec

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two issues about Sphinx 3.2.1 failing with "duplicate token description" (posted on both) #41760 'sign', multiple people nosy, failed where? #41762 'format_spec', on Travis, PR by Victor Stinner (2.2.0 okay)

[issue41763] IDLE: scale font to Windows' "zoom" factor

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you the Elisha Paine that suggested the original fix? I am still interested in the subject, but there are a lot of factors to consider. Rereading #33656, I disagree that IDLE is lying; tk scales on startup and others agreed with the current setting

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5 by Terry Jan Reedy in branch 'master': bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146) https://github.com/python/cpython/commit/31c9828ec026e5d9b9122d55bf0aa7

[issue41745] BoundArguments.arguments used in the recommended way to call a callable silently succeeds for nonexistent arguments

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I use signature for IDLE call tips, but have never used .bind and subsequent calls. After understanding the behavior, my question as initial reviewer is whether it is an *implementation* bug. Perhaps, but not obviously so. Whether or not it is a design

[issue41729] test_winconsoleio fails and hangs on Windows

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

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c2577b9e0e2f8652f079b4ac473347c63f15e25c by Miss Islington (bot) in branch '3.9': bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146) https://github.com/python/cpython/commit/c2577b9e0e2f8652f079b4ac473347

[issue41731] test_cmd_line_script fails with verbosity level more than 1

2020-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7e711ead26fea6465e0ef2e3b8880b57ba8fc129 by Terry Jan Reedy in branch 'master': bpo-41731: Make test_cmd_line_script pass with -vv (GH-22206) https://github.com/python/cpython/commit/7e711ead26fea6465e0ef2e3b8880b

[issue41731] test_cmd_line_script fails with verbosity level more than 1

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

[issue41775] IDLE: change Shell window title

2020-09-12 Thread Terry J. Reedy
New submission from Terry J. Reedy : The IDLE Shell window title is set with pyshell line 836 shell_title = "Python " + python_version() + " Shell" The python_version() part was added in March 2013 by the first patch for issue 17390: https://hg.python.org/cpython/r

[issue41765] tkinter: XFCE task switcher shows 'Tk' instead of Window title

2020-09-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: The Xfce task switcher appears to be showing the tk widget '_class' option. When tkinter create a tk widget, it by default sets the 'class' option to the tkinter class name. This is 'Tk' and 'Toplevel' respectively

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-09-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sreedevi: the Windows tag is meant for issues that involve Windows behavior that is different from other OSes; the IDLE tag is meant for issues that involve the behavior of IDLE, as distinct from other ways of running Python code. They should not be used

[issue41745] BoundArguments.arguments used in the recommended way to call a callable silently succeeds for nonexistent arguments

2020-09-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you want to pursue, you might try python-list to find other users. I am not sure if this change really qualifies for python-ideas. -- ___ Python tracker <https://bugs.python.org/issue41

[issue41758] turtledemo.colormixer crashes with a stack overflow

2020-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I ran turtledemo and played with colormixer a few years ago, so slightly older Windows should not matter. Was Python installed with the python.org installer? (The appdate path suggests so.) Your single-user versus my all-user install should not matter

[issue41758] turtledemo.colormixer crashes with a stack overflow

2020-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should have suggested that you upload the test results as a file. Anyway, 8 errors: the two locale failures I expected (failures #1, #6), test_distutils (#5, multiple failures), test_compileall (#4), and failures for buffer (#2), copy_reg (#3), pickle

[issue41758] turtledemo.colormixer crashes with a stack overflow

2020-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another oddity of this crash is that Python usually checks stack usage and raise RecursionError when the limit is reached. Event handling apparently can bypass this. I opened python-list thread "Need tests of turtledemo.colordemo on Windows installa

[issue39452] Improve the __main__ module documentation

2020-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The main issue I have with the existing doc is its use of 'top-level' to mean the main, initial, startup module that first executes the user code for a python 'program'. We routinely use 'top-level' instead for the global scope

[issue41801] 23 tests failed for 3.9.0b2-64 installed on Windows 10

2020-09-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : Win10, master repository 32-debug build: test_locale and test__locale fail as they have for a year. test_compileall test_asyncio failed as they have before, but not a few weels ago. *** PermissionError: [WinError 5] Access is denied: 'f:\\dev\\3x\\

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2020-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The backport to 3.9 is still pending. The bot claims that there is a merge conflict. This should not happen because What's New in 3.9 should be identical in master and 3.9. My guess is that someone only changed it in 3.9, though another change in m

[issue33813] Update overdue 'Deprecated ... removed in 3.x' messages

2020-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is definitely moot as the method was removed in #37328 (rather than in #27032). Thanks for catching this. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> remove deprecated HTMLPar

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2020-09-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21344 pull_request: https://github.com/python/cpython/pull/22293 ___ Python tracker <https://bugs.python.org/issue27

[issue37328] remove deprecated HTMLParser.unescape

2020-09-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy nosy_count: 3.0 -> 4.0 pull_requests: +21345 pull_request: https://github.com/python/cpython/pull/22293 ___ Python tracker <https://bugs.python.org/issu

[issue37328] remove deprecated HTMLParser.unescape

2020-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4daeb9eec294f73a5811ef6ab3a0f8e61174a24c by Terry Jan Reedy in branch '3.9': [3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288) https://github.com/python/cpython/commit/4daeb9eec294f73a5811ef6ab3a0f8

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2020-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4daeb9eec294f73a5811ef6ab3a0f8e61174a24c by Terry Jan Reedy in branch '3.9': [3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288) https://github.com/python/cpython/commit/4daeb9eec294f73a5811ef6ab3a0f8

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2020-09-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

[issue41808] Synchronize What's New in 3.9 master and 3.9 copies

2020-09-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : The 3.9 copy is 5 lines longer, meaning that after the b1 split, something was added to 3.9 directly instead of to master first and backported, or added to both and deleted from master. Lukasz, is checking the two copies part of the final release process

[issue40939] Remove the old parser

2020-09-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy nosy_count: 8.0 -> 9.0 pull_requests: +21347 pull_request: https://github.com/python/cpython/pull/22294 ___ Python tracker <https://bugs.python.org/issu

[issue41808] Synchronize What's New in 3.9 master and 3.9 copies

2020-09-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21346 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/22294 ___ Python tracker <https://bugs.python.org/issu

[issue41808] Synchronize What's New in 3.9 master and 3.9 copies

2020-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 3.9 copy (only) of What'New 3.9, line 882 has duplicated words 'deprecated deprecated'. I made a branch off of updated 3.9 to fix this and pushed to my fork, but github repeated refuses to make a PR (against 3.9), giving me the unico

<    36   37   38   39   40   41   42   43   44   45   >