[issue30237] Access violation due to CancelSynchronousIo of console read

2019-07-22 Thread Zackery Spytz
Zackery Spytz added the comment: PR 7911 was merged and backported. Should this issue be closed? -- nosy: +ZackerySpytz ___ Python tracker ___

[issue36568] Typo in socket.CAN_RAW_FD_FRAMES library documentation

2019-07-22 Thread Zackery Spytz
Zackery Spytz added the comment: It seems that this was fixed in 1b05aa219041eb1c9dbcb4ec6c1fa5b20f060bf5. -- nosy: +ZackerySpytz ___ Python tracker ___ __

[issue37657] ERROR: grip 4.5.2 requires docopt>=0.4.0, which is not installed.

2019-07-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: grip and docopt are not a part of standard library. I assume this issue is related to Mac OS installer and tagging it as Mac OS issue for confirmation to close it as third party issue. -- components: +macOS nosy: +ned.deily, ronaldoussoren,

[issue37655] Set subset operator docs

2019-07-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs look fine to me as well. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue37656] Can't pip install because of bisect_left

2019-07-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Try deleting bisect.py from the Python37-32 directory. I suspect there is a spurious bisect file there that in shadowing the intended standard library version which would be in Python37-32/lib. -- nosy: +rhettinger __

[issue36595] IDLE: Add search to textview.ViewWindow

2019-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: If a ViewWindow has more that 24 lines, then it has a button bar at the bottom that currently has one button -- [Close]. 1. Make the bar permanent, regardless of size. The next steps are to adapt the editor code for Find. 2. Add another button [Search] or [F

[issue37657] ERROR: grip 4.5.2 requires docopt>=0.4.0, which is not installed.

2019-07-22 Thread Dima Tisnek
New submission from Dima Tisnek : I have Python-3.7.2 installed. I've just installed Python3.8.0b2 on macOS, and ran "Install Certificates.command". The terminal output contained: ERROR: grip 4.5.2 requires docopt>=0.4.0, which is not installed. (certifi-2019.6.16 got installed correctly) (Re-

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

2019-07-22 Thread Farhaan Bukhsh
Farhaan Bukhsh added the comment: Hey, this looks like an interesting feature. I want to take a stab at it. Terry can you help me understand the requirement better and may be mentor me to write it. -- nosy: +fhackdroid ___ Python tracker

[issue37655] Set subset operator docs

2019-07-22 Thread Aldwin Pollefeyt
Aldwin Pollefeyt added the comment: For 'set < other' it says sub-set ... for 'set > other' is says super-set. Subset vs superset. So I think it's correct in the documentation. -- nosy: +aldwinaldwin ___ Python tracker

[issue37655] Set subset operator docs

2019-07-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue37646] eval() in a list comprehension

2019-07-22 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm not sure we should be so quick to close this. At the very least, I think the documentation could be improved. It does seem desirable to have the invariant: `expression` == `eval("expression")` apply in any environment. Was the change in behaviour b

[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call

2019-07-22 Thread Alejandro Gonzalez
Alejandro Gonzalez added the comment: I see, that’s an interesting point. In that case, Serhiy’s approach is indeed better. PR 14166 seems stalled. I’d like to help if there’s anything left to do, if possible :) -- ___ Python tracker

[issue30864] Compile failure for linux socket CAN support

2019-07-22 Thread Zackery Spytz
Zackery Spytz added the comment: It seems that the AF_CAN issue was fixed in bpo-31927 / d3187158c09cf899e9849f335bdff10594209167. -- nosy: +ZackerySpytz ___ Python tracker _

[issue22491] Support Unicode line boundaries in regular expression

2019-07-22 Thread Zackery Spytz
Zackery Spytz added the comment: > To meet Unicode standard requirement RL1.6 [1] all Unicode line separators > should be supported: It seems that large portions of Modules/_sre.c would have to be rewritten in order to do this. -- nosy: +ZackerySpytz ___

[issue37534] In minidom module ability to add Standalone Document Declaraion is missing while generating XML documents

2019-07-22 Thread Henry Harutyunyan
Change by Henry Harutyunyan : -- keywords: +patch pull_requests: +14687 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14912 ___ Python tracker __

[issue26695] pickle and _pickle accelerator have different behavior when unpickling an object with falsy __getstate__ return

2019-07-22 Thread Zackery Spytz
Zackery Spytz added the comment: Josh, would you consider creating a pull request for this issue? -- nosy: +ZackerySpytz ___ Python tracker ___ ___

[issue37656] Can't pip install because of bisect_left

2019-07-22 Thread Peter Farrell
Change by Peter Farrell : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue37656] Can't pip install because of bisect_left

2019-07-22 Thread Peter Farrell
New submission from Peter Farrell : Not able to start up Anaconda because of an error including "cannot import bisect_left" whatever that means. I uninstalled and tried to reinstall. No luck. Finally uninstalled and can't pip install anything because of this exact error. Here's my screenshot.

[issue37653] make install fails

2019-07-22 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +14686 pull_request: https://github.com/python/cpython/pull/14911 ___ Python tracker ___ __

[issue37655] Set subset operator docs

2019-07-22 Thread Frank B
New submission from Frank B : The docs say "Test whether the set is a proper subset of other" for both set < other and set > other built-in functions. Is that a misprint? How could it be both? For the <= and >= operators it properly reverses the order so one says: Test whether every element

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-22 Thread miss-islington
miss-islington added the comment: New changeset 2406672984e4c1b18629e615edad52928a72ffcc by Miss Islington (bot) in branch '3.8': bpo-36044: Reduce number of unit tests run for PGO build (GH-14702) https://github.com/python/cpython/commit/2406672984e4c1b18629e615edad52928a72ffcc --

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +14685 pull_request: https://github.com/python/cpython/pull/14910 ___ Python tracker ___ __

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-22 Thread Neil Schemenauer
Neil Schemenauer added the comment: New changeset 4e16a4a3112161a5c6981c0588142d4a4673a934 by Neil Schemenauer in branch 'master': bpo-36044: Reduce number of unit tests run for PGO build (GH-14702) https://github.com/python/cpython/commit/4e16a4a3112161a5c6981c0588142d4a4673a934 --

[issue37654] 2to3 no-ops on embeddable distribution

2019-07-22 Thread Bill Collins
New submission from Bill Collins : Firstly, I'd acknowledge that expecting 2to3 to work on the embeddable distribution might be the problem, but the mode of failure is silent and delayed. The problem is that 2to3 loads fix names by searching for files in a package that end in '.py' (https:/

[issue27682] wsgiref BaseHandler / SimpleHandler can raise additional errors when handling an error

2019-07-22 Thread Petter S
Petter S added the comment: No it is not fixed in Django, but I verified that adding ConnectionAbortedError on this line https://github.com/django/django/blob/c6581a40be3bb4c1e13861f0adbb3fe01f09107f/django/core/servers/basehttp.py#L55 fixes the error. -- __

[issue27682] wsgiref BaseHandler / SimpleHandler can raise additional errors when handling an error

2019-07-22 Thread Petter S
Petter S added the comment: Could potentially already be fixed in Django: https://github.com/django/django/commit/7785e03ba89aafbd949191f126361fb9103cb980#diff-f6d1c75ec606389da5af6558bf57f171L51 -- ___ Python tracker

[issue27682] wsgiref BaseHandler / SimpleHandler can raise additional errors when handling an error

2019-07-22 Thread Petter S
Petter S added the comment: The following message can still appear in the log when running the Django development server: Exception happened during processing of request from ('127.0.0.1', 50713) Traceback (most recent call last): File "d:\python37\L

[issue37653] make install fails

2019-07-22 Thread SilentGhost
Change by SilentGhost : -- keywords: -3.8regression versions: -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37653] make install fails

2019-07-22 Thread SilentGhost
Change by SilentGhost : -- keywords: +3.8regression nosy: +vstinner stage: -> patch review versions: +Python 3.8 ___ Python tracker ___ ___

[issue37653] make install fails

2019-07-22 Thread Erlend Egeberg Aasland
New submission from Erlend Egeberg Aasland : Make install is broken in subtarget libinstall. This was introduced with commit e8692818afd731c1b7e925c626ac8200b1f1c31e. Fix in attached patch. -- components: Build files: fix.patch keywords: patch messages: 348300 nosy: Erlend Egeberg Aas

[issue37496] Support annotations in signature strings.

2019-07-22 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue37652] Multiprocessing shared_memory ValueError on race with ShareableList

2019-07-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37652] Multiprocessing shared_memory ValueError on race with ShareableList

2019-07-22 Thread Ben
New submission from Ben : When running the attached on 3.8 and 3.9 (master) I get the following: Process Process-3: Traceback (most recent call last): File "/home/bjs/.pyen

[issue37642] timezone allows no offset from range (23:59, 24:00)

2019-07-22 Thread Paul Ganssle
Paul Ganssle added the comment: I have been thinking about this more and I think the two issues (`min` and `max` vs. the incompatibility between C and Python) should be considered two separate issues. My reasoning is that a change of the value of `timezone.min` and `timezone.max` is not som

[issue37648] Fix minor inconsistency in the order of == operands

2019-07-22 Thread Josh Rosenberg
Change by Josh Rosenberg : -- nosy: +josh.r ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue37651] Change of inheritance of asyncio.CancelledError needs documentation

2019-07-22 Thread Gary van der Merwe
New submission from Gary van der Merwe : asyncio.CancelledError inheritance was changed in 3.8. https://bugs.python.org/issue32528 https://github.com/python/cpython/commit/431b540bf79f0982559b1b0e420b1b085f667bb7 The documentation still instructs the user to perform a pattern needed before t

[issue37631] EXTRA_CFLAGS get overrided by CFLAGS_NODIST

2019-07-22 Thread Marcel Plch
Marcel Plch added the comment: I believe you mean this downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=1712977 That issue is but only a consequence of a bad flag handling. The bad flag handling affects not only test_gdb on that specific architecture, but the entire optimization

[issue37650] TemporaryDirectory objects should LOCK_SH to avoid being deleted by systemd-tmpfiles

2019-07-22 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +14684 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14908 ___ Python tracker ___ __

[issue37650] TemporaryDirectory objects should LOCK_SH to avoid being deleted by systemd-tmpfiles

2019-07-22 Thread Ryan Gonzalez
New submission from Ryan Gonzalez : If e.g. a tar archive is extracted that has dates from several months ago, if systemd-tmpfiles runs to clean up data, then it may delete that data while the directory is still being used. This can be avoided by holding a LOCK_SH on the directory while it's

[issue37630] Investigate replacing SHA3 code with OpenSSL

2019-07-22 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- nosy: +cstratak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue37226] Asyncio Fatal Error on SSL Transport - IndexError Deque Index Out Of Range

2019-07-22 Thread Ben Brown
Ben Brown added the comment: I can fully confirm the issue is due to flow control or lack of in my code the system runs out of resources and this is when it errors, I have implemented flow control in my protocol and it now works without errors. One thing I did find is that the documentation

[issue37646] eval() in a list comprehension

2019-07-22 Thread Grzegorz Krasoń
Grzegorz Krasoń added the comment: Steven, I believed that any `` replaced by `eval('')` will not change behaviour of the code. Now I understand that my assumption was incorrect. Raymond, thanks for helping me understand this. -- resolution: -> not a bug stage: -> resolved status:

[issue37649] calculate_init fails to check that EXEC_PREFIX was decoded

2019-07-22 Thread Orivej Desh
New submission from Orivej Desh : See https://github.com/python/cpython/pull/14897 The bug was introduced in https://github.com/python/cpython/commit/0327bde9da203bb256b58218d012ca76ad0db4e4#diff-fa81ddea06129e7a2ef6b5a1c6a0af4dR925 -- components: Interpreter Core messages: 348292 nos

[issue21478] mock calls don't propagate to parent (autospec)

2019-07-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Jack for the report. Thanks Mario and Chris for reviews. I am closing this as resolved. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37647] Wrong lineno in traceback when formatting strings with % and multilines

2019-07-22 Thread Bruno P. Kinoshita
Bruno P. Kinoshita added the comment: Hi, Thanks for the explanation. Could you elaborate a bit on this one: >In Python 3.8 the traceback points to the start of the subexpression that >raises an exception. Just wanted to understand why I get the desired line number when I call Z().__str__(

[issue37648] Fix minor inconsistency in the order of == operands

2019-07-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue37648] Fix minor inconsistency in the order of == operands

2019-07-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue37648] Fix minor inconsistency in the order of == operands

2019-07-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +14682 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14904 ___ Python tracker ___

[issue21478] mock calls don't propagate to parent (autospec)

2019-07-22 Thread Chris Withers
Chris Withers added the comment: New changeset e9b187a2bfbb0586fc5d554ce745b7fe04e0b9a8 by Chris Withers (Miss Islington (bot)) in branch '3.7': bpo-21478: Record calls to parent when autospecced objects are used as child with attach_mock (GH 14688) (GH-14903) https://github.com/python/cpyth

[issue21478] mock calls don't propagate to parent (autospec)

2019-07-22 Thread Chris Withers
Chris Withers added the comment: New changeset 22fd679dc363bfcbda336775da16aff4d6fcb33f by Chris Withers (Miss Islington (bot)) in branch '3.8': bpo-21478: Record calls to parent when autospecced objects are used as child with attach_mock (GH 14688) (GH-14902) https://github.com/python/cpyth

[issue37648] Fix minor inconsistency in the order of == operands

2019-07-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There is two ways to write the comparison when we search an item equal to the needle: item == needle and needle == item In most cases they get the same result. But if __eq__ of the item or the needle is not correctly implemented (returns False

[issue37635] Using constant for whence arg in seek()

2019-07-22 Thread Kyle Stanley
Kyle Stanley added the comment: > I would agree with changing the tutorial. The rest doesn't need to be > changed. Fair enough, that's understandable. I'll look into creating a PR for the tutorial to attach to this issue. Thanks for the feedback Antoine and Raymond. >AFAIK there is an ope

[issue21478] mock calls don't propagate to parent (autospec)

2019-07-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +14680 pull_request: https://github.com/python/cpython/pull/14902 ___ Python tracker ___ __

[issue21478] mock calls don't propagate to parent (autospec)

2019-07-22 Thread Chris Withers
Chris Withers added the comment: New changeset 7397cda99795a4a8d96193d710105e77a07b7411 by Chris Withers (Xtreak) in branch 'master': bpo-21478: Record calls to parent when autospecced objects are used as child with attach_mock (GH 14688) https://github.com/python/cpython/commit/7397cda99795

[issue21478] mock calls don't propagate to parent (autospec)

2019-07-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +14681 pull_request: https://github.com/python/cpython/pull/14903 ___ Python tracker ___ __

[issue37647] Wrong lineno in traceback when formatting strings with % and multilines

2019-07-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Line 9 is not where the error actually happened. The exception is raised not when you call Z(), but when you implicitly call Z.__str__() when evaluate the % operator. In Python 3.8 the traceback points to the start of the subexpression that raises an exce

[issue37635] Using constant for whence arg in seek()

2019-07-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: AFAIK there is an open PR which sweeps through the standard library, changing seek() everywhere to use named constants. -- nosy: +serhiy.storchaka ___ Python tracker

[issue37635] Using constant for whence arg in seek()

2019-07-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would agree with changing the tutorial. The rest doesn't need to be changed. -- ___ Python tracker ___ ___

[issue32912] Raise non-silent warning for invalid escape sequences

2019-07-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The warning in docutils was fixed in https://sourceforge.net/p/docutils/code/8255/ 1.5 months ago. It was an outliner, all other occurrences of \leavevmode were either with the double backslash or in raw string literals. The Bottle code was written 5 year