[issue33864] collections.abc.ByteString does not register memoryview

2018-06-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs should be made more precise. Perhaps, "This type represents the types bytes, bytearray, and memoryview of byte sequences"? -- nosy: +rhettinger ___ Python tracker

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Addenda: Somewhere in the annals of our history this was discussed before (perhaps dating back to Stackless Python). -- ___ Python tracker

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: IIRC, Guido recognized only PyPy, Jython, and IronPython as alternate conforming implementations. A number of other projects were python-like but were also going off in their own directions not subject to his pronouncements. MicroPython is a pretty

[issue33859] Spelling mistakes found using aspell

2018-06-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c5ff553ae717c33f86d4fa984ee92de71c467f2a by Serhiy Storchaka (Xtreak) in branch '3.6': [3.6] bpo-33859: Fix spelling mistakes in docs. (GH-7691). (GH-7750) https://github.com/python/cpython/commit/c5ff553ae717c33f86d4fa984ee92de71c467f2a

[issue33861] Minor improvements of tests for os.path.

2018-06-16 Thread miss-islington
miss-islington added the comment: New changeset 5c23e21ef655db35af45ed98a62eb54bff64dbd0 by Miss Islington (bot) in branch '3.6': bpo-33861: Minor improvements of tests for os.path. (GH-7715) https://github.com/python/cpython/commit/5c23e21ef655db35af45ed98a62eb54bff64dbd0 --

[issue33861] Minor improvements of tests for os.path.

2018-06-16 Thread miss-islington
miss-islington added the comment: New changeset 633593372a8aec46644a39e8d0b68e0f1eb5ed38 by Miss Islington (bot) in branch '3.7': bpo-33861: Minor improvements of tests for os.path. (GH-7715) https://github.com/python/cpython/commit/633593372a8aec46644a39e8d0b68e0f1eb5ed38 -- nosy:

[issue33861] Minor improvements of tests for os.path.

2018-06-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 17a0088e2680e12ce2c5f2ffc6b71766299e38d5 by Serhiy Storchaka in branch 'master': bpo-33861: Minor improvements of tests for os.path. (GH-7715) https://github.com/python/cpython/commit/17a0088e2680e12ce2c5f2ffc6b71766299e38d5 --

[issue33861] Minor improvements of tests for os.path.

2018-06-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +7359 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33861] Minor improvements of tests for os.path.

2018-06-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +7360 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33861] Minor improvements of tests for os.path.

2018-06-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33874] dictviews set operations do not follow pattern of set or frozenset

2018-06-16 Thread Forest
Forest added the comment: Thank you very much for thorough explanation! It really helped me understand the issue. Since this is the intended behavior, would it be good to add some tests for the behavior? I would have found those tests helpful in working on https://bugs.python.org/issue27575

[issue33878] Doc: Assignment statement to tuple or list: case missing.

2018-06-16 Thread Julien Palard
New submission from Julien Palard : In [1] I read: > If the target list is a comma-separated list of targets, or a single target > in square brackets This come from https://bugs.python.org/issue23275 (patch is [2]). I suspect there's a missing case "list of targets in square brackets" (and

[issue33859] Spelling mistakes found using aspell

2018-06-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for finding these mistakes :-) -- nosy: +rhettinger ___ Python tracker ___ ___

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is easy to test it. Encoding/decoding with '874' should give the same result as with 'cp874'. -- ___ Python tracker ___

[issue11380] Improve reporting of broken stdout pipe during interpreter shutdown

2018-06-16 Thread Martin Panter
Martin Panter added the comment: Issue 33550 was opened about Mike’s case of ignoring broken pipe conditions. BTW a side effect of closing sys.stderr is that error messages reported by interpreter shutdown will be missing (even if there was no broken pipe). For example, exception messages

[issue33874] dictviews set operations do not follow pattern of set or frozenset

2018-06-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: It's true the concrete set API differs in some ways from the Set abstract base class followed by dictviews. The concrete set-to-set operators are restricted to only work with other sets, leaving the named set methods (union, intersection, difference,

[issue33830] Error in the output of one example in the httplib docs

2018-06-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33630] test_posix: TestPosixSpawn fails on PPC64 Fedora 3.x

2018-06-16 Thread Martin Panter
Martin Panter added the comment: I doubt it is a race condition. “Waitpid” only returns after the child has terminated, and the file should be created as the child starts, before it terminates. Surely it is just the buggy glibc opening the DBDBDB file, when the test case expects it to create

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-16 Thread Carol Willing
Carol Willing added the comment: Thanks Raymond :-) The FAQ seems like a good place to share. Cython would be a nice addition and perhaps IPython too. -- ___ Python tracker

[issue33859] Spelling mistakes found using aspell

2018-06-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks much @rhettinger and the team for all the work on documentation. This is my first patch and I am pretty amazed at the smooth experience for a beginner like me with GitHub and helpful bots. I hope to contribute more. Just wanted to leave a

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @serhiy.storchaka . I looked into the code and it seems the resolution is done in `search_function` at Lib/encodings/__init__.py . It seems that encoding is normalized using some logic and then we use the normalized encoding to check

[issue31966] [EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u

2018-06-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-16 Thread Andrés Delfino
Andrés Delfino added the comment: Sorry, I didn't knew that :) I'll update the PR adding an entry in the FAQ. With "CPython" in "pythonesque implementation like MicroPython, CircuitPython, CPython" did you mean Cython? -- ___ Python tracker

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am able to verify the newly added aliases using the below assert statement assert codecs.encode('a', '874') == codecs.encode('a', 'cp874') I am struck on the part where it could be patched in the search_function and I hope this is the approach

[issue33878] Doc: Assignment statement to tuple or list: case missing.

2018-06-16 Thread Martin Panter
Martin Panter added the comment: I think I intended the third option to include all comma-separated lists, including: a, b, c = x # No brackets (a, b, c) = x # Round brackets [a, b, c] = x # Square brackets a, = x # Single target with comma Perhaps something like this would be clearer:

[issue16428] turtle with compound shape doesn't get clicks

2018-06-16 Thread Carol Willing
Carol Willing added the comment: This issue is "new contributor"-friendly. The next steps would be to apply the patch to a recent version of Python 3, check if tests run cleanly, and if the patch resolves the issue. I'm sorry ingrid that the patch review languished on the issue tracker.

[issue33879] Item assignment in tuple mutates list despite throwing error

2018-06-16 Thread njayinthehouse
New submission from njayinthehouse : Seems like a bug. >>> a = (1, [1]) >>> a[1] += [2] Traceback (most recent call last): File "", line 1, in TypeError: 'tuple' object does not support item assignment >>> a (1, [1, 2]) -- messages: 319748 nosy:

[issue14117] Turtledemo: exception and minor glitches.

2018-06-16 Thread Carol Willing
Carol Willing added the comment: Hi @terry.reedy, I'm triaging open "turtle" issues. What do you think would be a reasonable next step for this issue? Perhaps: a contributor runs the demo and reports back here with the current behavior experienced. -- nosy: +willingc

[issue27461] Optimize PNGs

2018-06-16 Thread Carol Willing
Change by Carol Willing : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23922] Refactor icon setting to a separate function for Turtle

2018-06-16 Thread Carol Willing
Carol Willing added the comment: I've updated the issue title to reflect Terry's comments and changed the stage to needs patch. -- nosy: +willingc stage: test needed -> needs patch title: turtle.py and turtledemo use the default tkinter icon -> Refactor icon setting to a separate

[issue31725] Turtle/tkinter: NameError crashes ipython with "Tcl_AsyncDelete: async handler deleted by the wrong thread"

2018-06-16 Thread Carol Willing
Carol Willing added the comment: Hi Rick, I'm closing this issue as not reproducible. Thanks for filing it and using Turtle. -- nosy: +willingc resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue33879] Item assignment in tuple mutates list despite throwing error

2018-06-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Interesting. I googled this and came across this note which covers this : https://docs.python.org/2/faq/programming.html#why-does-a-tuple-i-item-raise-an-exception-when-the-addition-works -- nosy: +xtreak

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Congratulations! All the changes and patches are collected in Misc/NEWS.d file. You can find more information and the process to create one here : https://devguide.python.org/committing/?highlight=blurb#what-s-new-and-news-entries . Happy hacking

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Steven, On Thursday, I gave a python training with some Windows computers and I have executer python, just the REPL, normally, you have Python 3.6.5 (default, Apr 4 2018, 15:01:18) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux Type "help",

[issue10531] write tilted text in turtle

2018-06-16 Thread Ammar Askar
Ammar Askar added the comment: I don't think backwards compatibility matters too much for the turtle package but the way its proposed in the initial report makes it so that text in previous versions would now be angled to the turtle's heading. To keep the previous behavior a keyword arg

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the following means 'No' and that you can close this. f:\dev\27>python -m test.regrtest test___all__ test_tcl Running Debug|Win32 interpreter... Run tests sequentially 0:00:00 [1/2] test___all__ 0:00:24 [2/2] test_tcl All 2 tests OK. --

[issue33856] IDLE: "help" is missing from the sign-on message

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c488558faaff4ffa44ba20e0c1f1fc8f18fe722f by Terry Jan Reedy in branch '2.7': [2.7] bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) (GH-7758) https://github.com/python/cpython/commit/c488558faaff4ffa44ba20e0c1f1fc8f18fe722f

[issue33856] IDLE: "help" is missing from the sign-on message

2018-06-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33882] doc Mention breakpoint() in debugger-related FAQ

2018-06-16 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7367 stage: -> patch review ___ Python tracker ___ ___

[issue33878] Doc: Assignment statement to tuple or list: case missing.

2018-06-16 Thread Martin Panter
Martin Panter added the comment: I think it is okay to leave out the options for the unpacking case. But I think it is worth clarifying that the single-target case also applies without parentheses, but that it doesn’t apply if there is a trailing comma. So: ‘‘‘ If the target list is a single

[issue6717] Some problem with recursion handling

2018-06-16 Thread Carol Willing
Carol Willing added the comment: Hi Gregor and others, I'm triaging 'turtle' issues. I'm recommending, if I don't hear an objection in two weeks, closing this issue with a resolution of "outdated". Thanks. -- nosy: +willingc ___ Python tracker

[issue33830] Error in the output of one example in the httplib docs

2018-06-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I was making a patch for this and both Python 2.7 and Python 3.6 returned "404 OK" for the example instead of "404 Not Found". I think the end-point is misleading and it's better to use httpbin.org for this. cpython git:(master) ./python Python

[issue33880] namedtuple should use NFKD to find duplicate members

2018-06-16 Thread John Cooke
New submission from John Cooke : from collections import namedtuple # create a namedtuple whose members are: # 00B5;MICRO SIGN;Ll; # 03BC;GREEK SMALL LETTER MU;Ll # these are both legal identifier names names = ['\u00b5', '\u03bc'] for name in names: assert name.isidentifier() mu =

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Ammar Askar
Ammar Askar added the comment: Can't recreate from latest Python 3.6.5 downloaded off python.org > D:\Python365\python.exe Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2018-06-16 Thread Zachary Ware
Zachary Ware added the comment: The root of this issue was fixed by #20035 for 3.5+. Terry, do you still have issues with this with 2.7, and is it still worth trying to fix? -- ___ Python tracker

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2018-06-16 Thread Zachary Ware
Zachary Ware added the comment: Excellent. Thanks, Terry! -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue1702036] Make Turtle thread-safe so it does not crash

2018-06-16 Thread Carol Willing
Carol Willing added the comment: Hi all, I'm triaging 'turtle' open issues. I'm going to close this issue with a resolution of not a Turtle bug. Thanks. -- nosy: +willingc resolution: -> not a bug stage: test needed -> resolved status: open -> closed

[issue24990] Foreign language support in turtle module

2018-06-16 Thread Carol Willing
Carol Willing added the comment: A good next step with this issue would be to look at the languages mentioned in the devguide experts page (https://devguide.python.org/experts/#documentation-translations) with people interested in translations -- nosy: +willingc

[issue33877] doc Mention Windows along UNIX for script running instructions

2018-06-16 Thread Ned Deily
Change by Ned Deily : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue33877] doc Mention Windows along UNIX for script running instructions

2018-06-16 Thread Ned Deily
Change by Ned Deily : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-16 Thread Carol Willing
Carol Willing added the comment: I think your suggestion for Brython and Skulpt is excellent. I believe that it's important to point out that Python can be used client-side, and both your suggestions have been around for a while, are stable, and often used in large courses such as OpenEdX.

[issue21077] Turtle Circle Speed 0

2018-06-16 Thread Carol Willing
Carol Willing added the comment: The next step on this issue would be to test if this behavior is still present in Python 3.6 and 3.7 and report the result of your test here. -- nosy: +willingc ___ Python tracker

[issue33871] Possible integer overflow in iov_setup()

2018-06-16 Thread Ned Deily
Ned Deily added the comment: Test case: import os fo = open('/tmp/temp', 'wb') fi = open('/tmp/temp', 'rb') os.sendfile(fo.fileno(), fi.fileno(), 0, 0, headers=[b'x' * 2**16] * 2**15) -- run against current master HEAD (2f9cbaa8b2190b6dfd3157ede9b6973523a3b939, as of 2018-06-15)

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-16 Thread Andrés Delfino
Andrés Delfino added the comment: What do you think about also mentioning Skulpt and Brython? On one hand, they -like MicroPython/CirtcuitPython- cover a focus no other implementation does (and a special one: client side Web scripting); but on the other hand, we shouldn't make space for

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-16 Thread Valeriya Sinevich
Change by Valeriya Sinevich : -- keywords: +patch pull_requests: +7361 stage: -> patch review ___ Python tracker ___ ___

[issue10531] write tilted text in turtle

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: c.create_text(100, 100, angle=90.0, text='test text') is a tclerror in 8.5 and works in 8.6. -- nosy: +serhiy.storchaka -BreamoreBoy ___ Python tracker

[issue22571] Remove import * recommendations and examples in doc?

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am going to accept Raymond's rejection of a general change. I will reconsider the tkinter doc should I ever work on it. For IDLE code, I have settled on 'from tkinter import Tk, Text, ..., perhaps followed by 'from tkinter.ttk import Scrollbar, ...'.

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-16 Thread Valeriya Sinevich
Valeriya Sinevich added the comment: Hello! I created a PR for this but I am new to the process, so I don't know what to do with the error on "no news entry" issue. Could someone please help me with the next steps? -- nosy: +valer ___ Python

[issue24978] Contributing to Documentation. Translation to Russian.

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are now several official translations: see current doc pages, the bottom of https://devguide.python.org/experts/, and https://www.python.org/dev/peps/pep-0545/. According to the pep, discussion is on doc-sig.

[issue24990] Foreign language support in turtle module

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Al did post to python-ideas, with a link to a prototype. I think a fair summary is that core-developers had at least the same reluctance to be involve with code translations as with doc translations. We rejected doing the latter as part of cpython by

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +7363 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: PR proposed -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29560] Tkinter and turtle graphics fill differs between Windows and *nix

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Behavior has not changed. It is a legitimate doc issue for both tkinter and turtle. The turtle intro, https://docs.python.org/3/library/turtle.html#introduction, currently 24.1.1. says nothing about the sidebar and image. I think there should be a short

[issue23922] Refactor icon setting to a separate function for Turtle

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing and rejecting this as not worth the bother and "ain't gonna happen" at things now stand. The 'IDLE icons' are not IDLE icons. They are Python application icons which I adapted for IDLE. The one on the Windows taskbar are set by the Windows

[issue33856] IDLE: "help" is missing from the sign-on message

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the clarification. >>> help works but is not in the sign-on message, even though it is by far the most important item mentioned. I just merged to master. -- assignee: -> terry.reedy components: +IDLE resolution: not a bug -> stage:

[issue33856] IDLE: "help" is missing from the sign-on message

2018-06-16 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +7365 stage: backport needed -> patch review ___ Python tracker ___

[issue33856] Type "help" is not present on win32

2018-06-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +7364 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33856] IDLE: "help" is missing from the sign-on message

2018-06-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7366 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33856] IDLE: "help" is missing from the sign-on message

2018-06-16 Thread miss-islington
miss-islington added the comment: New changeset 6bb770445192e19aef94111c6a9913e1526c4d64 by Miss Islington (bot) in branch '3.7': bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) https://github.com/python/cpython/commit/6bb770445192e19aef94111c6a9913e1526c4d64 --

[issue22571] Remove import * recommendations and examples in doc?

2018-06-16 Thread Carol Willing
Carol Willing added the comment: Hi @terry.reedy @rhettinger, I'm triaging the 'turtle' open issues. I'm wondering if we can close this issue with a resolution of "Remind". If there are '*' imports that folks feel strongly about changing, then those could be opened now or in the future as a

[issue23660] Turtle left/right inverted when using different coordinates orientation

2018-06-16 Thread Carol Willing
Carol Willing added the comment: Hi aroberge, Thanks for filing this issue. I'm triaging all of the open 'turtle' issues. I'm closing this issue since introducing this suggested change would impact teaching materials and resources that have already been published. This would be a change

[issue26571] turtle regression in 3.5

2018-06-16 Thread Carol Willing
Change by Carol Willing : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31725] Turtle/tkinter: NameError crashes ipython with "Tcl_AsyncDelete: async handler deleted by the wrong thread"

2018-06-16 Thread Rick J. Pelleg
Rick J. Pelleg added the comment: Thanks! On Sat, Jun 16, 2018, 18:53 Carol Willing wrote: > > Carol Willing added the comment: > > Hi Rick, > > I'm closing this issue as not reproducible. Thanks for filing it and using > Turtle. > > -- > nosy: +willingc > resolution: -> not a bug

[issue33882] doc Mention breakpoint() in debugger-related FAQ

2018-06-16 Thread Andrés Delfino
New submission from Andrés Delfino : IMHO, it's a good opportunity to advertise the convenience of breakpoint(). PR adds a mention. -- assignee: docs@python components: Documentation messages: 319796 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc

[issue33821] IDLE subsection of What's New 3.7

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: There will be more IDLE entries when features are added to maintenance releases. See What's New 3.6 for examples, and PEP 434 for further explanation. I prefer to have one issue for all patches to that section. --

[issue33883] doc Mention mypy, pytype and PyAnnotate in FAQ

2018-06-16 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7368 stage: -> patch review ___ Python tracker ___ ___

[issue33872] doc Add list access time to list definition

2018-06-16 Thread Ammar Askar
Ammar Askar added the comment: I don't think this should be documented at all, not in the glossary, nor the stdtypes section. A quick search through of the glossary and stdtypes indicates that the glossary entry of list is the only place where a time complexity is documented. The problem

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-16 Thread Ma Lin
Ma Lin added the comment: You are right. I found a Normalization Test Suite for Unicode 3.2 http://www.unicode.org/Public/3.2-Update/NormalizationTest-3.2.0.txt \u1176 is not in the range of the second character. \u11a7, \u11c3 are not in the range of the third character. --

[issue33883] doc Mention mypy, pytype and PyAnnotate in FAQ

2018-06-16 Thread Andrés Delfino
New submission from Andrés Delfino : As far as I know, mypy and pytype are more advanced that any of the other tools mentioned in the FAQ for static analysis, however we are not touching them. PR adds mentions. -- assignee: docs@python components: Documentation messages: 319798 nosy:

[issue26917] unicodedata.normalize(): bug in Hangul Composition

2018-06-16 Thread Ma Lin
Ma Lin added the comment: This issue can be closed, already fixed in issue29456 Also, PyPy's current code is correct. -- ___ Python tracker ___

[issue33872] doc Add list access time to list definition

2018-06-16 Thread Andrés Delfino
Andrés Delfino added the comment: If O(1) time complexity for element access is not a requirement (which it seems it's not), I agree that this PR as it is should be closed, and the Glossary entry should have this detail removed. In that case, can I edit the PR or should I open a new one?

[issue33872] doc Add list access time to list definition

2018-06-16 Thread Ammar Askar
Ammar Askar added the comment: I'd say edit the PR and the bug tracker issue to reflect the change. Though you might want to wait for the opinion of a core dev or someone with more documentation experience than me. -- ___ Python tracker

[issue33095] Cross-reference isolated mode from relevant locations

2018-06-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There are four parts where I could see sys.path manipulation being mentioned while running scripts : -c option (https://docs.python.org/3/using/cmdline.html#cmdoption-c) -m option (https://docs.python.org/3/using/cmdline.html#cmdoption-m) -

[issue21914] Create unit tests for Turtle guionly

2018-06-16 Thread Carol Willing
Carol Willing added the comment: A reasonable next step for this patch review would be to review these tests to see if they still apply for more recent Python versions as well. This is a "new contributor"-friendly issue. I'm sorry Lita.Cho that these patches languished on the issue tracker.

[issue33878] Doc: Assignment statement to tuple or list: case missing.

2018-06-16 Thread Julien Palard
Julien Palard added the comment: Agree, the empty list could be merged, the only special-case is the "single item in parenthesis", as always. I'm still exploring the path to simplicity over explicitly listing everything (but in the reference, explicitly listing could be what we need):

[issue21941] Clean up turtle TPen class

2018-06-16 Thread Carol Willing
Carol Willing added the comment: Hi ingrid, Thanks for your work on this issue. I'm triaging the open "turtle" issues, and I'm going to go ahead and close this one. If you would like to open a new, more specific issue, I would welcome that. Thanks. -- nosy: +willingc resolution:

[issue29560] Turtle graphics fill behavior differs between versions

2018-06-16 Thread Carol Willing
Carol Willing added the comment: The next action for this issue would be to run the demo listed on Python 3.7 and report the results back here. We can then document expected behavior if it differs. -- nosy: +willingc ___ Python tracker

[issue33855] IDLE: Minimally test every non-startup module.

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 833b3d2dcc7043be20ac19f7821552fcb21f4365 by Terry Jan Reedy in branch '3.6': [3.6] bpo-33855: Minimally test all IDLE modules. (GH-7689) (GH-7734) https://github.com/python/cpython/commit/833b3d2dcc7043be20ac19f7821552fcb21f4365 --

[issue33881] dataclasses should use NFKC to find duplicate members

2018-06-16 Thread Eric V. Smith
Change by Eric V. Smith : -- title: dataclasses should use NFKD to find duplicate members -> dataclasses should use NFKC to find duplicate members ___ Python tracker ___

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Zachary Ware
Zachary Ware added the comment: I suspect you either had a non-python.org version of Python, or had the embeddable distribution rather than a proper installation (the embeddable distribution should not be used unless you're embedding, hence the name :)). Either way, the standard

[issue33856] IDLE: "help" is missing from the sign-on message

2018-06-16 Thread miss-islington
miss-islington added the comment: New changeset 25531fb7b8338a21cdcdf2ce0f981d781d21641f by Miss Islington (bot) in branch '3.6': bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) https://github.com/python/cpython/commit/25531fb7b8338a21cdcdf2ce0f981d781d21641f --

[issue10531] write tilted text in turtle

2018-06-16 Thread Carol Willing
Carol Willing added the comment: This would be a fun feature to add. The next step on this issue would be to determine if this can be accomplished with Tk 8.6. -- nosy: +willingc versions: +Python 3.8 -Python 3.5 ___ Python tracker

[issue6717] Some problem with recursion handling

2018-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reran Dino's test.py on current master on Win10 and got Traceback (most recent call last): File "f:/dev/tem/recursion_crash.py", line 23, in f() File "f:/dev/tem/recursion_crash.py", line 18, in f f() File "f:/dev/tem/recursion_crash.py",

[issue33881] dataclasses should use NFKD to find duplicate members

2018-06-16 Thread Eric V. Smith
New submission from Eric V. Smith : See issue 33880 for the same issue with namedtuple. This shows up on dataclasses only through make_dataclass. This is an expected ValueError: >>> make_dataclass('a', ['a', 'b', 'c', 'a']) Traceback (most recent call last): File "", line 1, in File

[issue33880] namedtuple should use NFKD to find duplicate members

2018-06-16 Thread Eric V. Smith
Eric V. Smith added the comment: Not that it really matters to this issue, but here's how dataclasses and attrs deal with this: dataclasses has the same issue, via make_dataclass(). attrs gives a syntax error with your field names, but interestingly this succeeds: >>> Foo =

[issue33880] namedtuple should use NFKD to find duplicate members

2018-06-16 Thread Eric V. Smith
Eric V. Smith added the comment: See issue 33881 for the corresponding dataclasses issue. -- nosy: +rhettinger ___ Python tracker ___

[issue33880] namedtuple should use NFKD to find duplicate members

2018-06-16 Thread Eric V. Smith
Eric V. Smith added the comment: Actually, should this be NKFC? >From https://docs.python.org/3.6/reference/lexical_analysis.html#identifiers : "All identifiers are converted into the normal form NFKC while parsing; comparison of identifiers is based on NFKC." --

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-16 Thread Steve Dower
Steve Dower added the comment: For the NEWS entry, I'd suggest putting "Library" for the category and use your commit message for the text at the end. You should also fill out the CLA form posted in your PR by the bot. While we *can* overlook it for very simple changes, best to get it done

[issue33856] Type "help" is not present on win32

2018-06-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Zach, in fact, it's not a problem with Python itself, but with Idle. I just downloaded a virtualbox image via (https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/) and started the installation of Python 3.6.5 and when you execute IDLE,

[issue33879] Item assignment in tuple mutates list despite throwing error

2018-06-16 Thread R. David Murray
Change by R. David Murray : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

  1   2   >