[issue35832] Installation error

2019-01-26 Thread Stefano Bonalumi
New submission from Stefano Bonalumi : Hi i get the following installation error code when i try to install python 3.7.2 version on Windows 10 See the attached files -- components: Installation files: Annotazione 2019-01-26 132044.jpg messages: 334390 nosy: Stefano Bonalumi priority:

[issue35828] test_multiprocessing_* - crash in PyDict_GetItem - segmentation error

2019-01-26 Thread Michael Felt
Michael Felt added the comment: OK, I have gone as far back as "where" in dbx can bring me. Could this, somehow, be related with changes made in issue-33015 ? In any case, does it seem correct that "pthread_wrapper(void *arg) can be correct if arg is nil? +155 /* bpo-33015:

[issue35832] Installation error

2019-01-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue23930] http.cookies.SimpleCookie doesn't parse comma-only separated cookies correctly

2019-01-26 Thread Martin Panter
Martin Panter added the comment: I think making a comma start a new cookie is dangerous, and perhaps this proposal should be rejected. I’m not an expert on web programming, but this reminds me of some security problems that already affected Python:

[issue35824] http.cookies._CookiePattern modifying regular expressions

2019-01-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Yes, sorry I thought it was the format used for parsing too. Thanks for the example Martin. I am linking @MeiK PR to the issue where I asked them to open an issue for this. -- keywords: +patch pull_requests: +11517 stage: -> patch review

[issue35780] Recheck logic in the C version of the lru_cache()

2019-01-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +11515 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35780] Recheck logic in the C version of the lru_cache()

2019-01-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset d8080c01195cc9a19af752bfa04d98824dd9fb15 by Raymond Hettinger in branch 'master': bpo-35780: Fix errors in lru_cache() C code (GH-11623) https://github.com/python/cpython/commit/d8080c01195cc9a19af752bfa04d98824dd9fb15 --

[issue35780] Recheck logic in the C version of the lru_cache()

2019-01-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +11515, 11516 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35824] http.cookies._CookiePattern modifying regular expressions

2019-01-26 Thread Martin Panter
Martin Panter added the comment: I presume MeiK wants to use BaseCookie to parse the Set-Cookie header field, as in >>> BaseCookie('Hello=World; Expires=Thu, 31 Jan 2019 05:56:00 GMT;') >>> BaseCookie('Hello=World; Expires=Thu,31 Jan 2019 05:56:00 GMT;') Karthikeyan, if you meant the

[issue35780] Recheck logic in the C version of the lru_cache()

2019-01-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset b2b023c657ba8c3f4a24d0c847d10fe8e2a73d44 by Raymond Hettinger (Miss Islington (bot)) in branch '3.7': bpo-35780: Fix errors in lru_cache() C code (GH-11623) (GH-11682)

[issue35780] Recheck logic in the C version of the lru_cache()

2019-01-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35828] test_multiprocessing_* - crash in PyDict_GetItem - segmentation error

2019-01-26 Thread Michael Felt
Change by Michael Felt : -- title: test_multiprocessing_* tests - success versus fail varies over time -> test_multiprocessing_* - crash in PyDict_GetItem - segmentation error ___ Python tracker

[issue35834] get_type_hints exposes an instance of ForwardRef (internal class) in its result, with `from __future__ import annotations` enabled

2019-01-26 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Since Undef is not defined, I should get an exception when calling > get_type_hints One of the motives of PEP-563 is to make it easier to use forward references. I'm not sure, but it seems to me that given that, we should not get an exception. So I

[issue31299] Add "ignore_modules" option to TracebackException.format()

2019-01-26 Thread Dmitry Kazakov
Change by Dmitry Kazakov : -- nosy: -vaultah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31299] Add "ignore_modules" option to TracebackException.format()

2019-01-26 Thread Dmitry Kazakov
Change by Dmitry Kazakov : -- pull_requests: -5065 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31299] Add "ignore_modules" option to TracebackException.format()

2019-01-26 Thread Dmitry Kazakov
Change by Dmitry Kazakov : -- pull_requests: +11522 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31299] Add "ignore_modules" option to TracebackException.format()

2019-01-26 Thread Dmitry Kazakov
Change by Dmitry Kazakov : -- pull_requests: -11522 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35833] Backspace not working

2019-01-26 Thread Martin Panter
Martin Panter added the comment: Ment to point to previous bug report: Issue 23220 -- ___ Python tracker ___ ___ Python-bugs-list

[issue35833] Backspace not working

2019-01-26 Thread Martin Panter
Martin Panter added the comment: I suspect Idle just passes control characters directly to an underlying Text or similar TK widget. As far as I know, TK only documents behaviour for tabs and newlines, not other control characters. Last time this was brought up, Terry added a sentence under

[issue35833] Backspace not working

2019-01-26 Thread Dude Roast
New submission from Dude Roast : Whenever I try to use Backspace(\b) it always prints square boxes instead of deleting previous string. Code Down:- import pyautogui print("Press Ctrl+c to quit") try: while True: x,y = pyautogui.position(); positionStr = "X: " +

[issue35834] get_type_hints exposes an instance of ForwardRef (internal class) in its result, with `from __future__ import annotations` enabled

2019-01-26 Thread Lincoln Quirk
New submission from Lincoln Quirk : Consider this code: ``` from __future__ import annotations import typing class A: f: 'Undef' hints = typing.get_type_hints(A) ``` Since Undef is not defined, I should get an exception when calling get_type_hints, something like "NameError: name

[issue35834] get_type_hints exposes an instance of ForwardRef (internal class) in its result, with `from __future__ import annotations` enabled

2019-01-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5028] tokenize.generate_tokens doesn't always return logical line

2019-01-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch pull_requests: +11518, 11519 stage: needs patch -> patch review ___ Python tracker ___

[issue5028] tokenize.generate_tokens doesn't always return logical line

2019-01-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch pull_requests: +11518, 11519, 11520 stage: needs patch -> patch review ___ Python tracker ___

[issue5028] tokenize.generate_tokens doesn't always return logical line

2019-01-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch, patch pull_requests: +11518, 11519, 11520, 11521 stage: needs patch -> patch review ___ Python tracker ___

[issue35834] get_type_hints exposes an instance of ForwardRef (internal class) in its result, with `from __future__ import annotations` enabled

2019-01-26 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith, lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31299] Add "ignore_modules" option to TracebackException.format()

2019-01-26 Thread Dmitry Kazakov
Dmitry Kazakov added the comment: It would seem no one is actually interested in this proposed enhancement. I'm closing my PR, since I'm not interested in resolving the file conflict. I'll probably submit a traceback-mutating patch to the issue 16217. This issue can be closed. --

[issue5028] tokenize.generate_tokens doesn't always return logical line

2019-01-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +11518 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35832] Installation error

2019-01-26 Thread Steve Dower
Steve Dower added the comment: You should have a set of log files in your %TEMP% directory. Their names will start with Python and end in .log. If you could collect these into a zip file and post them here, that would be very helpful. -- ___

[issue35834] get_type_hints exposes an instance of ForwardRef (internal class) in its result, with `from __future__ import annotations` enabled

2019-01-26 Thread Steven D'Aprano
Steven D'Aprano added the comment: Wait, I just noticed that PEP563 says: "Note: if an annotation was a string literal already, it will still be wrapped in a string." https://www.python.org/dev/peps/pep-0563/#id5 In 3.8.0a I get this: py> from __future__ import annotations py> py> class

[issue35833] IDLE: revise doc for control chars sent to Shell

2019-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, your suspicion is correct, as verified by selecting and copying the string and pasting into code between quotes. I strongly suspect that tk just sends the string as is to the OS graphics system insert text function, that the latter decides what to

[issue35537] use os.posix_spawn in subprocess

2019-01-26 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +11523 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31456] SimpleCookie fails to parse any cookie if an entry has whitespace in the name

2019-01-26 Thread Martin Panter
Martin Panter added the comment: The main cause of this behaviour is that whitespace (matching the ASCII RE “\s”) is treated as separation between cookie “morsels”. It looks like this has always been the behaviour, but I’m not sure it was intended. >>> print(BaseCookie('first=morsel

[issue35823] Use vfork() in subprocess on Linux

2019-01-26 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: I've checked subprocess.Popen() error reporting in QEMU user-mode and WSL and confirm that it works both with my patch (vfork/exec) and the traditional fork/exec, but doesn't work with glibc's posix_spawn. The first command below uses posix_spawn()

[issue35833] IDLE: revise doc for control chars sent to Shell

2019-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Example code for the tracker should not use 3rd-party modules unless essential. It should be reduced to the minimum testcase needed to show the behavior. In this case, "print('a\b')", resulting, on Windows 10, in "a", is enough. (On macOS Mohave, the

[issue35823] Use vfork() in subprocess on Linux

2019-01-26 Thread Gregory P. Smith
Gregory P. Smith added the comment: > * Decide whether "setxid problem"[5] is important enough to worry about. > [5] https://ewontfix.com/7 This is a scary issue. But I think a reasonable approach could be to never use vfork when running as whatever we choose to define a "privileged user"

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2019-01-26 Thread Martin Panter
Martin Panter added the comment: Same as Issue 11315, where Éric suggested documenting the behaviour. -- nosy: +martin.panter resolution: -> duplicate superseder: -> unicode support in Cookie module ___ Python tracker

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2019-01-26 Thread Martin Panter
Change by Martin Panter : -- stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue34628] urllib.request.urlopen fails when userinfo is present in URL

2019-01-26 Thread Windson Yang
Windson Yang added the comment: Why requests library didn't raise an error because urllib3 (the library requests using) ignore the auth part right now > Currently we expect our users to handle authentication headers themselves. > It's unfortunate that we silently strip this information

[issue35835] There is no mention of breakpoint() in the pdb documentation

2019-01-26 Thread jcrmatos
New submission from jcrmatos : In the Pdb documentation, found at https://docs.python.org/3.7/library/pdb.html?highlight=pdb#module-pdb there is no mention of breakpoint(). In my opinion, this text import pdb; pdb.set_trace() should be replaced with import pdb; pdb.set_trace() New in

[issue32129] Icon on macOS

2019-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: A Branch Seidenman posted 'Retina Icons' on idle-dev. He posted a screenshot similar to Kevin's. He says Apple recommends having all these sizes: 1024px × 1024px 512px × 512px 256px × 256px 128px × 128px 64px × 64px 32px × 32px 16px × 16px Creating new

[issue19670] SimpleCookie Generates Non-RFC6265-Compliant Cookies

2019-01-26 Thread Martin Panter
Martin Panter added the comment: I think the solution here is to document what “SimpleCookie.value_encode” really does: RFC 2109 quoted-string escaping. If you want to a generate RFC-6265-compliant Set-Cookie string, do not include non-compliant characters in the cookie value, and consider

[issue11315] unicode support in Cookie module

2019-01-26 Thread Martin Panter
Martin Panter added the comment: Sorry, but changing to bytes after ten years of using str in this module in Python 3 is not going to happen. Let’s just document the state of Python 2 (see Éric: https://bugs.python.org/issue11315#msg129448). -- assignee: -> docs@python components:

[issue32129] Icon on macOS

2019-01-26 Thread Kevin Walzer
Kevin Walzer added the comment: Making the icon 512x512 pixels will make it look correct on Retina displays on the Mac. -- ___ Python tracker ___

[issue35823] Use vfork() in subprocess on Linux

2019-01-26 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks for your _extremely detailed_ analysii of the (often sad) state of posix_spawn() on platforms in the world today. My first reaction to this was "but then we'll be owning our own custom posix_spawn-like implementation as if we'll do better at it

[issue35537] use os.posix_spawn in subprocess

2019-01-26 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +11523, 11524, 11525 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35537] use os.posix_spawn in subprocess

2019-01-26 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +11523, 11524 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: