[issue32615] Inconsistent behavior if globals is a dict subclass

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I did take the code, and it would not run because of the indent. With that fixed, it still did not run because the the indent in the quoted code fed to exec. This does run: import builtins class K(dict): def __getitem__(self, k): if k not

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

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can one of the Windows experts look at the attached log? -- ___ Python tracker <https://bugs.python.org/issue32545> ___ ___

[issue32615] Inconsistent behavior if globals is a dict subclass

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was referring back to your original a) and b) items. Perhaps 'accidental' versus 'intentional, for whatever reason', would be the better contrast. The weekly new issue report comes out on Fridays around noon eastern US. I hope someone

[issue32616] Significant performance problems with Python 2.7 built with clang 3.x or 4.x

2018-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue32616> ___ ___ Python-bug

[issue32621] Problem of consistence in collection.abc documentation

2018-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +rhettinger ___ Python tracker <https://bugs.python.org/issue32621> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32621] Problem of consistence in collection.abc documentation

2018-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> docs@python components: +Documentation, Library (Lib) nosy: +docs@python stage: -> needs patch ___ Python tracker <https://bugs.python.org/i

[issue32626] Subscript unpacking raises SyntaxError

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tuples often need parentheses when embedded in expressions. So often that beginners often think that they are required. I believe this should be closed as 'not a bug'. I nosied the two authors of the implementation for their opinion. -

[issue32664] Connector "|" missing between ImportError and LookupError

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed, like there is a bar between NameError and OSError. The 2.7 version does not have the problem. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue32

[issue32664] Connector "|" missing between ImportError and LookupError

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR-1173 fixed this for 3.7, but it was not backported then. I added a comment there. -- keywords: -patch stage: patch review -> backport needed versions: -Python 3.7 ___ Python tracker <https://bugs.pyth

[issue32644] unittest.mock.call len() error

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please either upload or include in a post a minimal testcase that reproduces the problem. We can neither debug the problem or know if we fix it without one. -- nosy: +michael.foord, terry.reedy ___ Python tracker

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I ran f:\dev\3x>python -m test -j5 test_asyncio test_asyncio test_asyncio test_asyncio test_asyncio on fresh Win10 build and got ... 0:01:02 [5/5] test_asyncio passed (62 sec) F:\dev\3x\lib\asyncio\selector_events.py:648: ResourceWarning: unclosed transp

[issue32666] Valgrind documentation seems to need updating

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Christian or Brett, do either of you know who maintains the Valgrind stuff? There is no listing in the Expert's index. -- nosy: +brett.cannon, christian.heimes, terry.reedy ___ Python tracker &

[issue32668] deepcopy() fails on ArgumentParser instances

2018-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hi, you seem to be in luck, regardless of version. Python 3.7.0a4+ (heads/master:a49ac99029, Jan 27 2018, 00:11:50) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more inform

[issue32611] Tkinter taskbar icon (Windows)

2018-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at the animated .gif, Jim's problem has nothing to do with IDLE in particular, and is as least partly specific to his system, as I do not have the same problem on my system. (That does not mean that improvements are not possible, so that reboot

[issue30715] Test_winreg, test_dynamic_key hangs on my Win 10

2018-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_winreg now works, taking about 5 seconds. It has been working recently but I dont' know when or why the problem disappeared. -- resolution: -> out of date stage: -> resolved status: ope

[issue32611] Tkinter taskbar icon (Windows)

2018-02-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

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

2018-02-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python -> terry.reedy components: +Library (Lib) stage: patch review -> commit review versions: +Python 3.6, Python 3.8 ___ Python tracker <https://bugs.python.org/i

[issue32297] Few misspellings found in Python source code comments.

2018-02-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.6 ___ Python tracker <https://bugs.python.org/issue32297> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32746] More misspellings, mostly in source code.

2018-02-01 Thread Terry J. Reedy
New submission from Terry J. Reedy : This is similar to #32297. I intend to backport, if not too much problem, for the reason Victor gave on the PR 4803: "to reduce conflicts when backporting fixes into Python 3.6." I propose to not backport to Python 2.7, again for the reason V

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

2018-02-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since this modifies the output of a library module function for a specific input, I will not backport unless and until there is agreement on doing so. -- versions: -Python 3.6, Python 3.7 ___ Python tracker

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

2018-02-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I posted "Is object the most base type? (bpo-20285)" on pydev. -- ___ Python tracker <https://bugs.python.o

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

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue32614> ___ ___ Python-bugs-list mailin

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

2018-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 66771422d0541289d0b1287bc3c28e8b5609f6b4 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265) https://github.com/python/cpyt

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

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +5333 ___ Python tracker <https://bugs.python.org/issue32614> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c7de1d7ca62e2b67b90d6c178e63453c03833b75 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265) (#5499) https://github.com/python/cpyt

[issue13553] Tkinter Tk args and Gnome Shell application name

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.6, Python 3.8 ___ Python tracker <https://bugs.python.org/issue13553> ___ ___ Python-bugs-list mailing list Unsub

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

2018-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset fbf8e823c02ac1c93a48609cc74e439e19ccb426 by Terry Jan Reedy in branch '3.6': [3.6] bpo-32614: Modify re examples to use a raw string to prevent wa… …rning (GH-5265) (GH-5500) https://github.com/python/cpyt

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

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker <https://bugs.python

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +5339 ___ Python tracker <https://bugs.python.org/issue30968> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8722] Documentation for __getattr__

2018-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nick, this is about better documenting the behavior of __get(set/del)attr__ in 3.x it relations to AttributeError in a property. I think I understand what it does and think the patch is correct. Could you either review or suggest someone else who better

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

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

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -5339 ___ Python tracker <https://bugs.python.org/issue30968> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +5342 ___ Python tracker <https://bugs.python.org/issue30968> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 72584d23a54855ef5843d7475b7c5a904e3ef713 by Terry Jan Reedy in branch '3.6': [3.6] bpo-30928: prepare idlelib/NEWS.txt for 3.6.5 entries. (#5508) https://github.com/python/cpython/commit/72584d23a54855ef5843d7475b7c5a

[issue32692] test_threading.test_set_and_clear fails in AppVeyor CI

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue32692> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32730] Allow py launcher to launch other registered Pythons

2018-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue32730> ___ ___ Python-bugs-list mailin

[issue32746] More misspellings, mostly in source code.

2018-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c3d9508ff22ece9a96892b628dd5813e2fb0cd80 by Terry Jan Reedy (Leo Arias) in branch 'master': bpo-32746: Fix multiple typos (GH-5144) https://github.com/python/cpython/commit/c3d9508ff22ece9a96892b628dd581

[issue32746] More misspellings, mostly in source code.

2018-02-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +5351 ___ Python tracker <https://bugs.python.org/issue32746> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32746] More misspellings, mostly in source code.

2018-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) https://github.com/python/cpython/commit/e86db34dd3b43dc9c9beb21a82cd2c

[issue32746] More misspellings, mostly in source code.

2018-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c90a5dec03fbef3a26479c800d5d6d15c44d5afb by Terry Jan Reedy in branch '3.6': [3.6] bpo-32746: Fix multiple typos (GH-5144) (GH-5522) https://github.com/python/cpython/commit/c90a5dec03fbef3a26479c800d5d6d

[issue32746] More misspellings, mostly in source code.

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

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

2018-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Add 1 new entry to all 3 versions. There will likely be merge conflicts to be resolved because the lower context is not the same, but this should establish a uniform lower context for the immediate future. -- versions: +Python 3.8

[issue32765] IDLE: Update configdialog docstrings to reflect extension integration

2018-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 845d86485e35a26478aedb3dc127d632fdc65759 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-32765: Update configdialog General tab create page docstring (GH-5529) https://github.com/python/cpyt

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

2018-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Correction: entries currently go under "What's New in IDLE 3.7.0" for both master and 3.7 branches. Each "What's New in IDLE 3.x.0" is "since 3.(x-1).0 was released. (We used to not branch off x+1 until the first x.0rc1, i

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

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

[issue32765] IDLE: Update configdialog docstrings to reflect extension integration

2018-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5b933aa8ec8b1c04488c26b3d61b813e237f55d9 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-32765: Update configdialog General tab create page docstring (GH-5529) (GH-5537) https://github.com/python/cpyt

[issue32765] IDLE: Update configdialog docstrings to reflect extension integration

2018-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1c2b138671656abf8563a0cd7ef27c8c2e0be4e6 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': bpo-32765: Update configdialog General tab create page docstring (GH-5529) (GH-5538) https://github.com/python/cpyt

[issue32765] IDLE: Update configdialog docstrings to reflect extension integration

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

[issue32765] IDLE: Update configdialog docstrings to reflect extension integration

2018-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for catching this. -- ___ Python tracker <https://bugs.python.org/issue32765> ___ ___ Python-bugs-list mailing list Unsub

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

2018-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4abcbc0f0de8dc3c245950e118cd9d374dbfe42b by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-30928: IDLE - update NEWS.txt. (GH-5539) (GH-5540) https://github.com/python/cpython/commit/4abcbc0f0de8dc3c245950e118cd9d

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

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

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

2018-02-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: On #32761, Raymond reports that is ^A ('Home' for him) is bound to <>, he sees the same behavior. So this is not Windows only. Any change to EditorWindow.home_callback must be tested on all 3 major systems before merging. I hope to fix this

[issue32761] Create IDLE Modern Mac keyset

2018-02-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mac key bindings and Shell home method behavior are separate and long-standing issues. They were discussed together in #18444, and this could be considered a duplicate thereof. However, the two issues need to be discussed and solved separately. 1. The

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

2018-02-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7bd5a75bbe28219d3fc18a239c2c554d1850abcb by Terry Jan Reedy in branch '3.6': bpo-30928: IDLE - update NEWS.txt [GH-5539] (GH-5545) https://github.com/python/cpython/commit/7bd5a75bbe28219d3fc18a239c2c55

[issue5594] IDLE: execute stored startup code on each Shell start.

2018-02-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Currently, Shell start and restart act differently. Start can execute one of -s file, -c command, or neither (and there are other command line options). Restart prints a RESTART separator banner and optionally runs an edit buffer, but ignores all or most

[issue5594] IDLE: execute stored startup code on each Shell start.

2018-02-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -5367 ___ Python tracker <https://bugs.python.org/issue5594> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30825] csv.Sniffer does not detect lineterminator

2018-02-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The csv expert listed in https://devguide.python.org/experts/ is marked as inactive, and I have never used the module. So you might need to ask for help on core-mentorship list. The csv doc for Sniffer.sniff says "Analyze the given sample and ret

[issue30825] csv.Sniffer does not detect lineterminator

2018-02-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at the code and docstring, lineterminator was intentionally (knowingly) not sniffed, making this a feature addition. -- ___ Python tracker <https://bugs.python.org/issue30

[issue30825] csv.Sniffer does not detect lineterminator

2018-02-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: While Sniffer *returns* a dialect with lineterminator = '\r\n', it *uses* '\n' for splitting. This is slightly odd, as it leaves lines terminated by '\r' while detecting within-line parameters, but it does not affect such dete

[issue32750] lib2to3 log_error method behavior is inconsitent with documentation

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson versions: -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue32750> ___ ___ Pytho

[issue32755] Several cookies with the same name get intermixed

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for modifying the cpython distribution -- the interpreter, stdlib, doc, and other associated files. Questions about using cpython and 3rd party libraries like aiohttp should be directed elsewhere. So, the relevant question here is whether

[issue32756] argparse: parse_known_args: raising exception on unknown arg following known one

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +bethard ___ Python tracker <https://bugs.python.org/issue32756> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32757] Python 2.7 : Buffer Overflow vulnerability in exec() function

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am pretty sure that if one deletes the prefix 'exec(' and suffic ')' and just executes argument expression that has something on the order of 1 chr(nn) calls added together, one would get the same result. In other words, I believe

[issue32757] Python 2.7 : Buffer Overflow vulnerability in exec() function

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: #32758 is about situations where stackoverflow *can* occur in 3.x. -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue32

[issue32758] Stack overflow when parse long expression to AST

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Experimenting on Windows with IDLE's current 3.7 Shell, where a user process crash restarts Shell, compile('+a'*31365, '?', 'eval') consistently gives RecursionError, values a bit larger sometimes crash, and values much l

[issue32758] Stack overflow when parse long expression to AST

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ditto as to the limit for ast.parse. >>> import ast; ast.parse('+chr(33)'*32000) RESTART: Shell = >>> import ast; ast.parse('+chr(33)'*3100

[issue32766] 4.7.7. Function Annotations

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.5 and its docs are frozen except for security patches. The 3.7 doc is identical. The sentence refers to the def statement and perhaps should say so. It should end with 'a required argument, an optional argument, and the return value annotated&

[issue32767] Mutating a list while iterating: clarify the docs

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Replace 'sequence' with 'collection' and I agree. The for loop code just calls iter() and it.next() until an exception. The behavior of it.next for builtins should be documented with the builtins. (I think there is something already

[issue32779] urljoining an empty query string doesn't clear query string

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +orsenthil ___ Python tracker <https://bugs.python.org/issue32779> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge versions: -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue32

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

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker <https://bugs.python.org/issue32782> ___ ___ Python-bugs-list m

[issue32786] Didnot work strftime() when hangeul in format sting

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are hundreds of bug fixes in 3.6 that are not in 3.4. If there is a Django version that works with 3.6 and you can otherwise upgrade, think about doing so. -- nosy: +terry.reedy resolution: -> out of date stage: -> resolved status

[issue32793] smtplib: duplicated debug message

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +giampaolo.rodola versions: -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue32793> ___ ___ Python-bug

[issue32800] Replace deprecated link to new page on w3c site

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ah, yes, the 'big red message' nicely gives the replacement. Please submit a PR against master. Include a news blurb if you can (explained in the devguide). If you cannot set the backport labels (I don't know of non-committer author&#

[issue32801] Lib/_strptime.py: utilize all()

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: This looks straightforward. I believe we normally do not backport this type of change. The tests for _strptime.py are in test_strptime.py, not test__strptime.py. -- nosy: +terry.reedy stage: -> patch review type: -> perfo

[issue32804] urllib.retrieve documentation doesn't mention context parameter

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +orsenthil ___ Python tracker <https://bugs.python.org/issue32804> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32800] Replace deprecated link to new page on w3c site

2018-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. This could have been done without a PR. -- ___ Python tracker <https://bugs.python.org/issue32800> ___ ___ Python-bug

[issue32801] Lib/_strptime.py: utilize all()

2018-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: And the conditional return can be done before sorting. -- ___ Python tracker <https://bugs.python.org/issue32801> ___ ___ Pytho

[issue32800] Replace deprecated link to new page on w3c site

2018-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8d1f2f40389c476d9240ec87a33da0373597c6af by Terry Jan Reedy (sblondon) in branch 'master': bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) https://github.com/python/cpython/commit/8d1f2f40389c476d9240ec87a33da0

[issue32800] Replace deprecated link to new page on w3c site

2018-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e6033209754c5b01870791645044a791da1fa73f by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) (GH-5611) https://github.com/python/cpyt

[issue32800] Replace deprecated link to new page on w3c site

2018-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9d8c24b79162711551394c8f8e6002342554791b by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) GH-5612) https://github.com/python/cpyt

[issue32800] Replace deprecated link to new page on w3c site

2018-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ea6e6444bdf983c99d9175a22dd054bf02ee22b4 by Terry Jan Reedy (Miss Islington (bot)) in branch '2.7': bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) (GH-5613) https://github.com/python/cpyt

[issue32800] Replace deprecated link to new page on w3c site

2018-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I meant, could have been done without a bpo issue. And since the blurb was added, I kept it. Thanks 'sbondon'. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue32758] Stack overflow when parse long expression to AST

2018-02-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: If ast_parse returns, a correct tree (A) rather than a buggy tree is a hard requirement. If ast_parse does not return, an exception (B) rather than a crash is strongly desired. We should not risk A to get B. I presume that Serhiy is suggesting that

[issue11015] Bring test.support docs up to date

2018-02-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since Nick already merged and backported, at least a new PR is needed. Since this is an old issue with a long discussion and several inactives on the nosy list, I suggest a new issue starting from the merge result as a base: "More revisions to test.su

[issue32801] Lib/_strptime.py: utilize all()

2018-02-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, Is there any reason to not combine last two lines in one? -regex = '(?P<%s>%s' % (directive, regex) -return '%s)' % regex +return '(?P<%s>%s)' % (directive, regex) or to use f

[issue32823] Regression in test -j behavior and time in 3.7.0b1

2018-02-11 Thread Terry J. Reedy
New submission from Terry J. Reedy : For me, on Windows, recent changes, since 3.7.0a4, have greatly reduced the benefit of j0 (= j14 on my system). For 3.6.4 (installed), the times are around 13:30 and 2:20. The times for 3.7.0a4 (installed) are about the same parallel and would have been

[issue32823] Regression in test -j behavior and time in 3.7.0b1

2018-02-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: For me, on Windows, the tests for time, datetime, and _strptime have failures on the master branch, so I don't want to submit a PR just now. -- ___ Python tracker <https://bugs.python.org/is

[issue32823] Regression in test -j behavior and time in 3.7.0b1

2018-02-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg312021 ___ Python tracker <https://bugs.python.org/issue32823> ___ ___ Python-bugs-list m

[issue32801] Lib/_strptime.py: utilize all()

2018-02-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: For me, on Windows, the tests for time, datetime, and _strptime have failures on the master branch, so I don't want to submit a PR just now. -- ___ Python tracker <https://bugs.python.org/is

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

2018-02-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Reponses on the pydev thread, which include 3 other coredevs: "a base for all classes." object entry in lib ref, function "the ultimate base class of all other classes." Martin Panter object is neither a base or superclass of itself,

[issue32826] idle test fails at least on the 3.6 branch

2018-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: What system? test_idle passes on Windows. Unfortunately, none of the *nix or Mac buildbots run tkinter and hence no tests that require a live tk window, and this one does. Cheryl, what do you see on your linux? Byte 0xc3 in position 1540 is the first byte

[issue32826] idle test fails at least on the 3.6 branch

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

[issue32826] idle test fails at least on the 3.6 branch

2018-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just discovered that the default for me is some version of latin1, not ascii, so that utf-8 'ö' is read as 'ö'. Hence, no UnicodeDecodeError even if 'ö' is being read and decoded by the initial readline call. I presum

[issue32826] idle test fails at least on the 3.6 branch

2018-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reproduced the exact failure by temporarily replacing 'utf-8' with 'ascii' in my clone. So I don't need anyone else to verify the fix. -- ___ Python tracker <https:

[issue32826] idle test fails at least on the 3.6 branch

2018-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f34e03ec0ea6a4cef8d966087c77e616c4a5893b by Terry Jan Reedy in branch 'master': bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_about. (GH-5639) https://github.com/python/cpython/commit/f34e03ec0ea6a4cef8d9

[issue32837] IDLE: require encoding argument for textview.view_file

2018-02-12 Thread Terry J. Reedy
New submission from Terry J. Reedy : Built-in open has an encoding parameter whose default value depends on the system: 'ascii' for some POSIX locales; 'latin1' or similar for most Windows sold in the USA or western Europe; and ???. In idlelib.textview, the signature for

[issue32837] IDLE: require encoding argument for textview.view_file

2018-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +5447 stage: commit review -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32826] idle test fails at least on the 3.6 branch

2018-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, thanks for comment and review. Cheryl, #32837 expands upon your comment. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bug

[issue32837] IDLE: require encoding argument for textview.view_file

2018-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 688722cedd6437910ff185ecf94fb3b749ad37f2 by Terry Jan Reedy in branch 'master': bpo-32837: IDLE - require encoding argument for textview.view_file. (GH-5646) https://github.com/python/cpython/commit/688722cedd6437910ff185ecf94fb3

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