[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

[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:

[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

[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):

[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.

[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

[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

[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

[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

[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:

Scanner freakishness [was Re: Python list vs google group]

2018-06-16 Thread Steven D'Aprano
On Sat, 16 Jun 2018 11:54:15 +1000, Chris Angelico wrote: > On Sat, Jun 16, 2018 at 11:00 AM, Jim Lee wrote: >> I once had a Mustek color scanner that came with a TWAIN driver. If >> the room temperature was above 80 degrees F, it would scan in color - >> otherwise, only black & white. I was

Re: text mining

2018-06-16 Thread Brian Oney via Python-list
На 15 юни 2018 г. 14:57:46 GMT+02:00, Steven D'Aprano написа: >Seriously, you are asking strangers to help you out of the goodness of >their heart. If your intention was to send the message that you're >lazy, >drunk, or just don't give a damn about the question, you were >successful.

[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

[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

[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

[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:

[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

[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 ___

[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:

XSD data mapper lib

2018-06-16 Thread Nagy László Zsolt
  Hello! I wonder what kind of XSD <-> Python class mapper should I use for my project. I need something that can generate classes from XSD files, and then parse XML to an objecttree and also dump object trees to XML. I'll be using Python version 3.6 and I would prefer to use something that is

[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 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 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 --

[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

[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 ___

[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 ___

[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

[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

[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

[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,

[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

[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 ___ ___

[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

<    1   2