[issue36429] Fix starting IDLE with pyshell

2019-03-25 Thread Terry J. Reedy
New submission from Terry J. Reedy : python -m idlelib.pyshell # and python f:/dev/3x/lib/idlelib/pyshell.py # for instance no longer start IDLE properly. The separate subprocess startup command for when pyshell is the main, from 2004, is obsolete and no longer needed. The command needed

[issue36429] Fix starting IDLE with pyshell

2019-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The shell actually 'starts', but with an empty box and no prompt. I am thinking of eventually deprecating and disabling starting with pyshell, but until we do, it should work. If nothing else, we should be able to display a deprecation noti

[issue36429] Fix starting IDLE with pyshell

2019-03-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +12497 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36429] Fix starting IDLE with pyshell

2019-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: One can start IDLE from python with import idlelib.idle or import idlelib.__main__ but not by importing pyshell, as there is alread a __main__ module. I cannot think of anything else to check. -- ___ Python

[issue36429] Fix starting IDLE with pyshell

2019-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6a258c88906a7e8acde455ee2acb78b6f315ea0b by Terry Jan Reedy in branch 'master': bpo-36429: Fix starting IDLE with pyshell (#12548) https://github.com/python/cpython/commit/6a258c88906a7e8acde455ee2acb78

[issue36431] Use dict unpacking for merging two dicts

2019-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3 years ago, Trey Hunter found 11 ways to merge to a new dict. https://treyhunner.com/2016/02/how-to-merge-dictionaries-in-python/ He followed up with a performance comparison. https://gist.github.com/treyhunner/f35292e676efa0be1728 ** unpacking was nearly

[issue33832] doc Add "magic method" entry to Glossary

2019-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Several hours ago, I read the unittest.mock doc, which uses 'magic methods' to explain MagicMock. So I decided an entry really was needed. Andrés, thanks for sticking with this, -- versions: -

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-03-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +12523 ___ Python tracker <https://bugs.python.org/issue34162> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36467] IDLE to help with invisible characters

2019-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: With respect to Shell, this is a request that IDLE move further away from strictly imitating Python running in a dumb terminal and better help users with intelligent action and information. I want both to improve editing and make entry of a statement in

[issue36411] Python 3 f.tell() gets out of sync with file pointer in binary append+read mode

2019-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Python 3.9' does not exist yet. This choice is for patches that should only be applied to 3.9 when available (like future deprecations or removals). -- nosy: +terry.reedy versions: -Python 3.9

[issue36426] exec() issue when used inside function

2019-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not a bug; the behavior is covered in the docs. I am surprised that this works in 2.7, as it has the same warning as 3.7: " locals() Update and return a dictionary representing the current local symbol table. Free variables are return

[issue36438] Python 3.5.7 import error on Cross compile

2019-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python 3.5 and 3.6 only get security fixes. Please test on 3.7 or even better 3.8. Your questions should be directed to python-list. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue36

[issue36524] identity operator

2019-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Rocco, please ask questions about Python on python-list or places like stackoverflow.com. 1. If python behavior puzzles you, the chance that it is a python bug is well less than 1 in 1000. 2. The answer you get will be much more visible to others who have

[issue36484] Can't reorder TLS 1.3 ciphersuites

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: -> enhancement versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue36484> ___ ___ Python-

[issue36486] Bugs and inconsistencies in unicodedata

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue36486> ___ ___ Python-bugs-list mai

[issue36488] os.sendfile() on BSD, macOS don't return bytes sent on EINTR

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: os.sendfile() on BSD and macOS does not return bytes sent on EINTR -> os.sendfile() on BSD, macOS don't return bytes sent on EINTR type: -> behavior ___ Python tracker <https://bugs.python.

[issue36490] Modernize function signature in Archiving section of shutil doc

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch title: Modernize function signature format in Archiving section of shutil doc -> Modernize function signature in Archiving section of shutil doc ___ Python tracker <https://bugs.p

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: The behavior of str.isspace() for U+00A0 and U+202F is different from what is documented -> str.isspace() for U+00A0 and U+202F differs from document versions: -Python 3.5, Python 3.6 ___ Python tracker <

[issue36521] Consider removing docstrings from co_consts in code objects

2019-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: So we have the same issue with f.__name__ and f.__code__.co_name becoming unsynchronized. FWIW, I would prefer that the code docstring be co_doc, rather than hidden in co_constants, so that 'name' and 'doc' follow the same patte

[issue36523] Add docstring to io.IOBase.writelines

2019-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified. >>> import io >>> io.IOBase.writelines.__doc__ >>> -- nosy: +terry.reedy title: missing docs for IOBase writelines -> Add docstring to io.IOBase.writelines ___ Python tra

[issue36523] Add docstring to io.IOBase.writelines

2019-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I assume that this can be backported even though it touches .c rather than .rst. -- versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue36

[issue36529] Python from WindowsStore: can't install package using "-m pip"

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue36529> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33722] Document builtins in mock_open

2019-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: My *guess* is that you created the branch for PR 7491 when your local master branch was months out of date. Or you branched off of the 3.7 branch. Whatever, your patch proposed to revert recent changes to master, touching about 1000 files. When you

[issue36595] IDLE: Add search to Squeezed Output text viewer.

2019-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. The Squeezed Output Viewer is an instance of idlelib.textview.ViewWindow. The latter is for read-only text and is also used for the text displays invoked from About IDLE. I have already thought about making the text searchable. Seaching does

[issue33722] Document builtins in mock_open

2019-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: After looking at the context of the patch and thinking more about whether the patch is a good idea, I am reversing what I said before and think that this issue and the new patch (sorry) should be closed. 1. The new example duplicates the current example

[issue36595] IDLE: Add search to Squeezed Output text viewer.

2019-04-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue36595> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1402289] Allow mappings as globals (was: Fix dictionary subclass ...)

2019-04-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am willing to close it. -- ___ Python tracker <https://bugs.python.org/issue1402289> ___ ___ Python-bugs-list mailin

[issue32780] ctypes: memoryview gives incorrect PEP3118 format strings for both packed and unpacked structs

2019-04-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue32780> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32782] memoryview gives incorrect PEP3118 itemsize for empty array

2019-04-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: ctypes: memoryview gives incorrect PEP3118 itemsize for array of length zero -> memoryview gives incorrect PEP3118 itemsize for empty array ___ Python tracker <https://bugs.python.org/issu

[issue32782] ctypes: memoryview gives incorrect PEP3118 itemsize for array of length zero

2019-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue is about the itemsize attribute of instances of the built-in memoryview class. Ctypes in only involved in providing format information. Hence the nosy additions. On Win10 with 3.8, ctypes has no uint attributes. Using 'c_int32' inste

[issue32782] memoryview & ctypes: incorrect PEP3118 itemsize for empty array

2019-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is actually about memoryview.itemsize within ctypes. -- components: +ctypes title: memoryview gives incorrect PEP3118 itemsize for empty array -> memoryview & ctypes: incorrect PEP3118 itemsize for empt

[issue32782] memoryview & ctypes: incorrect itemsize for empty array

2019-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/library/stdtypes.html#typememoryview says "itemsize The size in bytes of each element of the memoryview" Revising the code example to use an empty array: >>> import array, struct >>> m = memoryview(array.ar

[issue32780] ctypes: memoryview gives incorrect PEP3118 format strings for both packed and unpacked structs

2019-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fixing one case is better than fixing no cases. -- nosy: +skrah, terry.reedy ___ Python tracker <https://bugs.python.org/issue32

[issue22454] Adding the opposite function of shlex.split()

2019-04-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue22454> ___ ___ Python-bugs-list mailin

[issue36665] REPL doesn't ensure builtins are available when implicitly recreating __main__

2019-04-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, the failure of dir() in message 1 is surprising and possibly a bug. I always though of a module globals = locals = dict() instance as continuous across statements, whether in batch or interactive move. In batch mode import sys mod = sys.modules

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'crash' mean *nix coredump or Windows equivelent, rather than traceback. -- components: +Windows nosy: +paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware type: crash -> behavior ___ Python tr

[issue22742] IDLE shows traceback when printing non-BMP character

2019-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my puzzlement above: repr(s) is a string of 3 characters -- s bracketed by quote characters. print(repr(s)) fails. I am not sure how s gets expanded to the full escape in IDLE. ascii(s) expands all non-ascii and adds extra quotes. Need to check Shell

[issue36698] Shell restart when error message contains non-BMP characters

2019-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are correct about reason. This is essentially a duplicate of #22742, but I am leaving it open for now because the behavior is worse and there is additional information in the tracebacks. The lines for IDLE internals are normally removed, but the

[issue36730] Change outdated references to macOS

2019-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that this duplicates comments on other Mac issues. The download web pages are not part of the CPython repository covered by this tracker. I will let Ned comment further. -- components: +macOS nosy: +ned.deily, ronaldoussoren, terry.reedy

[issue36675] Doctest directives and comments missing from code samples

2019-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that the line in Doc/library/doctest.rst has the comment. " For example, this test passes:: >>> print(list(range(20))) # doctest: +NORMALIZE_WHITESPACE [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,

[issue36674] "unittest.TestCase.debug" should honour "skip" (and other test controls)

2019-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security fixes. This appears to be an enhancement request. SkipTest is an exception and according to the doc it should be propagated to the caller. __unittest_skip__ is an undocumented internal name, so you probably should not be using it

[issue36674] "unittest.TestCase.debug" should honour "skip" (and other test controls)

2019-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. NO SKIP utest.py with debug prints added and @skipIf initially commented out. --- from unittest import TestCase, skipIf #@skipIf(True, "Skip Testing") class Tests(TestCase): def test_skip(self): "this test will fail - if not ski

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-05-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +12984 ___ Python tracker <https://bugs.python.org/issue34162> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 12579 started as a fixup for 3.7.4, but there seemed to be a problem of duplicate commits. The fix, based on Ned Deily's comments, after fetching from upstream: cd ../37 # 3.7 workspace git branch -D news37 # and dict37, whatever it was git

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 304ca211c4912f040151e518d9d66fd2d625c5e9 by Terry Jan Reedy in branch '3.7': [3.7] bpo-34162: Fix idlelib/NEWS.text for 3.7.4 (#13067) https://github.com/python/cpython/commit/304ca211c4912f040151e518d9d66f

[issue32592] Drop support of Windows Vista in Python 3.8

2019-05-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Drop support of Windows Vista in Python 3.7 -> Drop support of Windows Vista in Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue36807] IDLE doesn't call os.fsync()

2019-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This seems like a good idea. I am assuming that open('somename', ...) always result in a file object with .fileno defined. Although I am mostly not touching 2.7, this should be easy to do. It will have to be done manually since iomenu was then

[issue36807] IDLE doesn't call os.fsync()

2019-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: OS and disk interaction is not something I know a lot about. I don't know how long different OSes take to write things out by themselves, and therefore how much real danger there is of loosing data. However, IDLE is used in places where power is

[issue36807] IDLE doesn't call os.fsync()

2019-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The io doc says for IOBase flush() Flush the write buffers of the stream if applicable. This does nothing for read-only and non-blocking streams. and for BufferedWriter flush() Force bytes held in the buffer into the raw stream. A BlockingIOError

[issue36766] Typos in docs and code comments

2019-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please do not close this until at least the idlelib changes are backported. -- nosy: +terry.reedy versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue36

[issue13582] IDLE and pythonw.exe stderr problem

2019-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Good question. There are two issues when starting IDLE with pythonw.exe, so that sys.__stderr__ and sys.stderr are initially None. 1. None.write is an attribute error that crashes Python. Therefore, don't do that. Instead use print. By default, and

[issue36766] Typos in docs and code comments

2019-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dustin, thank you for both patches. Some people are not annoyed by minor typos. I am one who is. I hope you are enjoying and learning from the sprint. -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue36807] IDLE doesn't call os.fsync()

2019-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I watched the talk by Nina Zakharenko at https://www.youtube.com/watch?v=35mXD40SvXM. Since I love being able to save, compile, and run a file with one keystroke, I appreciate people wanting to do the equivalent with CircuitExpress and Adafruit. In IDLE

[issue36872] passing negative values through modules

2019-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: David, the tracker 'component' is intended to be, for bug reports, the component of Python that you think has a bug. When you run your code with IDLE and you get an exception displayed, that almost certainly means that IDLE is working as intend

[issue36872] passing negative values through modules

2019-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Robert, when posting to this tracker by email, please remove the quote of the previous post. It duplicates the post itself. I said exactly what I said, which explained why marking the issue for IDLE was a mistake. (The same error is a weekly occurrence

[issue36788] Add clamp() function to builtins

2019-05-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue36788> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36875] argparse does not ship with translations

2019-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Many modules contain translatable strings. CPython does not ship with translations of any of them and I believe it is against policy to do so. 1. Core developers, though an international group, are not competent to create or approve translations. 2. Core

[issue36890] python-3.7.3-macosx10.6.pkg verification error

2019-05-11 Thread S. J. Cunningham
New submission from S. J. Cunningham : I can't Install the latest python-3.7.3-macosx10.6.pkg on my 10.6.8 system. Error message says failure to verify. I posted on the forms as suggested (https://python-forum.io/Thread-Cannot-Install-python-3-7-3-macosx10-6-pkg) but have receiv

[issue36807] IDLE doesn't call os.fsync()

2019-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4f098b35f58e911639f8e9adc393d5cf5c792e7f by Terry Jan Reedy (Guido van Rossum) in branch 'master': bpo-36807: When saving a file in IDLE, call flush and fsync (#13102) https://github.com/python/cpyt

[issue36890] python-3.7.3-macosx10.6.pkg verification error on macOS 10.6 Snow Leopard

2019-05-13 Thread S. J. Cunningham
S. J. Cunningham added the comment: Apple's decision to support or not support their products is driven by Apple's business considerations and is not binding on anyone else. Many people continue to use earlier versions because of dependence on applications which do not ru

[issue36807] IDLE doesn't call os.fsync()

2019-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: When 3.x is done, I will do 2.7. -- ___ Python tracker <https://bugs.python.org/issue36807> ___ ___ Python-bugs-list mailin

[issue36870] test_asyncio: test_drain_raises() fails randomly on Windows

2019-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have gotten this too, multiple times, on both Azure Pipelines and Appveyor. The latter is worse since required. There was also a Mac failure for Azure, not sure is same issue. Please disable this test. External resource problems should not be blocking

[issue36807] IDLE doesn't call os.fsync()

2019-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 68a11b6e6a73cd2e9b49e5df9973877b2fed6277 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': [3.7] bpo-36807: When saving a file in IDLE, call flush and fsync (GH-13102) (#13288) https://github.com/python/cpyt

[issue36807] IDLE doesn't call os.fsync()

2019-05-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +13204 ___ Python tracker <https://bugs.python.org/issue36807> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36807] IDLE doesn't call os.fsync()

2019-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 13102 is original patch for master; it was merged, not closed. PR 13284 fixed blurb for master. PR 13280 backport for 3.7 was closed trying to restart bogus failure; can't do that for backports. PR 13288 is second backport; only optional Azure Pipi

[issue36807] IDLE doesn't call os.fsync()

2019-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 353f8d2282b1a48376f8813fd1170445a0cda873 by Terry Jan Reedy in branch '2.7': [2.7] bpo-36807: When saving a file in IDLE, call flush and fsync (GH-13102) (GH-13293) https://github.com/python/cpyt

[issue36807] IDLE doesn't call os.fsync()

2019-05-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: > Do you mean from CircuitPython? No, I was asking about regular Python on Windows. I was not clear to me whether any of the software that Nina ran (other than possibly Adafruit USB drivers) was from Adafruit. I am now guessing that is was all 3rd pa

[issue36930] Windows proxy settings automatically used ... partly

2019-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: As far as I can see, this issue has nothing to do with IDLE as such. Someone else should decide if this is a bug report or an enhancement request. -- assignee: terry.reedy -> components: -IDLE stage: -> test needed versions: +Python 3.8 -

[issue36930] Windows proxy settings automatically used ... partly

2019-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue36930> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36675] Doctest directives and comments missing from code samples

2019-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Doctest directives in code examples should be suppressed everywhere *except* in the doctest.html examples showing how to use directives. The patch only exposes them for doctest.html and not for ctypes or anywhere else. They really should not be in the dir

[issue32575] IDLE cannot locate certain SyntaxErrors raised by f-string expressions

2018-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Syntax errors come from Python, not IDLE. Except for the pseudofile name ('' versus ''), the message is the same as the interactive interpreter. Anytime one thinks IDLE has a bug, one should check the standard interactive inter

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Other installers work without issue?" Is this a comment about other installers for other versions on your machine? Or a question about other people using the same binary on other machines? Using the same python-3.7.0a4-amd64.exe binary, I su

[issue32553] venv says to use python3 which does not exist in 3.6.4

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: As far as I know, Windows binaries have only been named python.exe or pythonw.exe. Before 3.5, I believe, "C:\Pythonxy", where x,y were major,minor, *was* the default Windows installation directory. 'Python35' must have been the re

[issue32557] allow shutil.disk_usage to take a file path on Windows also

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Seems sensible to me. -- nosy: +terry.reedy title: allow shutil.disk_usage to take a file path -> allow shutil.disk_usage to take a file path on Windows also ___ Python tracker <https://bugs.python.org/issu

[issue32566] Not able to run Python 3.6 on Windows

2018-01-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Not able to open Python IDLE -> Not able to run Python 3.6 on Windows ___ Python tracker <https://bugs.python.org/issu

[issue32567] Venv’s config file (pyvenv.cfg) should be compatible with ConfigParser

2018-01-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +vinay.sajip versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue32567> ___ ___

[issue32572] Add the ftplib option, overrides the IP address.

2018-01-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +giampaolo.rodola versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue32572> ___ ___ Python-bug

[issue32573] All sys attributes (.argv, ...) should exist in embedded environments

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pedro: David and Nick are proposing initializing sys.argv to [] rather than [''] for embedded interpreters. This would say 'running embedded'. The .argv entry would need an additional sentence. I like Nick's proposal, except

[issue32582] chr raises OverflowError

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The message I get on Windows is OverflowError: Python int too large to convert to C long Given that the exception type is documented, making this a clear bug, I would be tempted to fix in 3.6 also. But your decision. -- nosy: +terry.reedy

[issue32583] Crash during decoding using UTF-16/32 and custom error handler

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: As written, decode_crash.py crashes on Windows also. Passing 'replace' instead of 'w3lib_replace' results in no crash and lots of boxes and blanks. -- nosy: +benjamin.peterson, ezio.melotti, lemburg, terry.reedy, vstinner st

[issue32585] Add ttk::spinbox to tkinter.ttk

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: As said in review, I would like to see this added unless there is a good reason for the omission. Still needed are patches for doc and tests. -- nosy: +serhiy.storchaka, terry.reedy stage: patch review -> test nee

[issue32589] Statistics as a result from timeit

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am also skeptical that this will do more good than harm (by adding time and fostering mis-impressions). (This might better have started as a discussion on python-ideas list.) -- nosy: +terry.reedy, vstinner

[issue32592] Drop support of Windows Vista in Python 3.7

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that PEP 11 originally said, or should have said "3.6 supports Windows Vista and newer." I believe 3.5 supports XP, so it should be "please install Python 3.4". -- nosy: +terry.reedy __

[issue32592] Drop support of Windows Vista in Python 3.7

2018-01-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg310295 ___ Python tracker <https://bugs.python.org/issue32592> ___ ___ Python-bugs-list m

[issue32592] Drop support of Windows Vista in Python 3.7

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that PEP 11 originally said, or should have said "3.6 supports Windows Vista and newer." I believe 3.5 supports XP, so it should be "please install Python 3.5". -- ___ Py

[issue32592] Drop support of Windows Vista in Python 3.7

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I personally think it was a mistake to stop being explicit about Windows support in PEP 11. The rationale was to avoid having to update it. But it is updated for other systems; an explicit list is needed somewhere (as illustrated by my memory lapse; and

[issue32573] All sys attributes (.argv, ...) should exist in embedded environments

2018-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: For detecting 'embedded', it is enough that only one documented attribute value be unique to embedded situations. -- ___ Python tracker <https://bugs.python.o

[issue32589] Statistics as a result from timeit

2018-01-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: If we agree that the patch is wrong, we should reject it and close this issue. -- ___ Python tracker <https://bugs.python.org/issue32

[issue31860] IDLE: Make font sample editable

2018-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Postscript: I read a week or so ago that a new Windows 10 font chooser will have this feature. There was not much detail and I believe it is currently only part of the Preview package. -- ___ Python tracker

[issue32631] IDLE: revise zzdummy.py

2018-01-22 Thread Terry J. Reedy
New submission from Terry J. Reedy : zzdummy.py is needed for properly testing the extension mechanism. It is intended to provide an example extension for users to follow. When completed, enabled, and invoked, it will prefix every line of a window with some text, or remove the prefix from

[issue27099] IDLE: turn built-in extensions into regular modules

2018-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: These patches were first released with the 3.6.3 release candidate. Nothing was changed for 3.6.4. Rechecking the changes to autocomplete.py in PR 2494, the only expected effect, after the followup in #31488, PR 3612, is that changes to the popup wait time

[issue31930] IDLE: Pressing "Home" on Windows places cursor before ">>>"

2018-01-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: #17060 and #18444 are similar issues for Mac. -- ___ Python tracker <https://bugs.python.org/issue31930> ___ ___ Python-bug

[issue18533] Avoid error from repr() of recursive dictview

2018-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Not ready to merge. 1. We need the Appveyer test to pass or special action from the gateway gods. 2. After a month, the PR needed to be updated and retested anyway. I pulled, updated, pushed the update (which will trigger Travis and AV), and tested on my

[issue18533] Avoid error from repr() of recursive dictview

2018-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hold the failure comment. I forgot that I have to recompile when patch changes .c files. -- ___ Python tracker <https://bugs.python.org/issue18

[issue18533] Avoid error from repr() of recursive dictview

2018-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, test_dictviews and test_ordered_dict now pass for me, and Appveyor already ran entire suite and says OK to all. -- ___ Python tracker <https://bugs.python.org/issue18

[issue18533] Avoid error from repr() of recursive dictview

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for checking and merging. In the future, we will be reminded to change '#' to 'GH-' in the title. I only found out a couple of days ago that this is desired. David, in msg193651, and Raymond, in msg193779, already suggested ba

[issue32611] Tkinter taskbar icon (Windows)

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win10, with 3.5.4, 3.6.4, 3.7.0a4, the pinned IDLE icons on my taskbar look normal, with the notebook and snake icon. Running import tkinter as tk r = tk.Tk() stacks the edge of a shadow icon behind the IDLE icon. When I mouse over the pair, the

[issue32613] Use PEP 397 py launcher in windows faq

2018-01-26 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/issue32

[issue32613] Use PEP 397 py launcher in windows faq

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am inclined to believe. The answer to "How do I run a Python program under Windows?" should include how to use 'py'. 'python' will not work unless the install directory has been added to the path. Of course, 'py

[issue32614] Fix documentation examples of using re with escape sequences

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Definitely. x.y code, including doc examples, should free of such warnings. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue32

<    62   63   64   65   66   67   68   69   70   71   >