[issue16438] Numeric operator predecence confusing

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 80db4b4be54ccdb5b67821506b6db2b27bd7c28a by Miss Islington (bot) in branch '3.8': bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521) https://github.com/python/cpython/commit/80db4b4be54ccdb5b67821506b6db2b27bd7c28a

[issue25810] Python 3 documentation for eval is incorrect

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15552 pull_request: https://github.com/python/cpython/pull/15911 ___ Python tracker ___ __

[issue28494] is_zipfile false positives

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15553 pull_request: https://github.com/python/cpython/pull/15912 ___ Python tracker ___ __

[issue25810] Python 3 documentation for eval is incorrect

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15551 pull_request: https://github.com/python/cpython/pull/15910 ___ Python tracker ___ __

[issue38105] hash collision when hash(x) == -2 causes many calls to __eq__

2019-09-11 Thread Guido Imperiale
Guido Imperiale added the comment: Forgot a counter-example: {C(1, 0), C(2, 0)} C((1, 0)).__hash__ C((2, 0)).__hash__ C((1, 0)).__eq__(C((2, 0))) {C((1, 0)), C((2, 0))} -- ___ Python tracker ___

[issue37936] gitignore file is too broad

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: New changeset df935b5f0bcc40522c7aac1e844aa176cd8bbdef by Zachary Ware in branch '3.8': [3.8] bpo-37936: Systematically distinguish rooted vs. unrooted in .gitignore (GH-15823) (GH-15900) https://github.com/python/cpython/commit/df935b5f0bcc40522c7aac1e844aa17

[issue38054] enhance pdb.set_trace() to run when the specified condition is true

2019-09-11 Thread Jason R. Coombs
Jason R. Coombs added the comment: Or even more concise: trigger and breakpoint() -- ___ Python tracker ___ ___ Python-bugs-list m

[issue28494] is_zipfile false positives

2019-09-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset c37447481ec8f6d0e49d0587ec0de3f9e7d56b28 by Gregory P. Smith in branch 'master': bpo-28494: install ziptestdata to fix install bot (GH-15902) https://github.com/python/cpython/commit/c37447481ec8f6d0e49d0587ec0de3f9e7d56b28 -- _

[issue25810] Python 3 documentation for eval is incorrect

2019-09-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 7a0023e8d17566eb32c836b65c33663303a2224f by Gregory P. Smith (smokephil) in branch 'master': bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) https://github.com/python/cpython/commit/7a0023e8d17566eb32c836b65c33663303a2224f --

[issue38054] enhance pdb.set_trace() to run when the specified condition is true

2019-09-11 Thread Jason R. Coombs
Jason R. Coombs added the comment: You could just do breakpoint() if trigger else None Concise, easy, and avoids complicating set_trace(). -- nosy: +jaraco ___ Python tracker __

[issue38105] hash collision when hash(x) == -2 causes many calls to __eq__

2019-09-11 Thread Guido Imperiale
New submission from Guido Imperiale : Take two objects where hash(a) == hash(b) == -2 exactly, but a != b, When they are inserted in a dict or set, the __eq__ method is invoked a whopping 13 times. Does this have something to do with the special case of hash(-1) = -2? class C: def __init_

[issue33187] Document ElementInclude (XInclude) support in ElementTree

2019-09-11 Thread Stefan Behnel
Change by Stefan Behnel : -- versions: +Python 3.9 -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list m

[issue38007] Regression: name of PyType_Spec::slots conflicts with Qt macro

2019-09-11 Thread Leslie
Leslie added the comment: Some history and explanation of this problem: - Qt extends C++ with the following keywords: "slots", "signals", "emit" - This extension is compiled with a Meta-Object-Compiler (MOC) into standard C++. - Since code using Qt extensions (i.e. headers) generally used "

[issue38104] File descriptor error when subprocess call is used with event loop enabled in main thread

2019-09-11 Thread Manoj C
New submission from Manoj C : I have been using asyncio to run subprocess calls in a separate thread. For this purpose I start an event loop in my main thread as per the recommendation - https://docs.python.org/3/library/asyncio-subprocess.html#subprocess-and-threads . Now when I use a norm

[issue37409] relative import without parent succeeds with builtins.__import__

2019-09-11 Thread Brett Cannon
Brett Cannon added the comment: New changeset 92420b3e679959a7d0ce875875601a4cee45231e by Brett Cannon (Ben Lewis) in branch 'master': bpo-37409: fix relative import with no parent (#14956) https://github.com/python/cpython/commit/92420b3e679959a7d0ce875875601a4cee45231e -- ___

[issue37424] subprocess.run timeout does not function if shell=True and capture_output=True

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 5fe153c21de020f37712910b0dcce93341bba272 by Miss Islington (bot) in branch '3.7': bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490) https://github.com/python/cpython/commit/5fe153c21de020f37712910b0dcce93341bba272 ---

[issue37424] subprocess.run timeout does not function if shell=True and capture_output=True

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 872c85a1796290baef89a20dbde819c4da45830c by Miss Islington (bot) in branch '3.8': bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490) https://github.com/python/cpython/commit/872c85a1796290baef89a20dbde819c4da45830c ---

[issue37585] Comparing PyDictValues does not give expected results

2019-09-11 Thread Brett Cannon
Change by Brett Cannon : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list maili

[issue37585] Comparing PyDictValues does not give expected results

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15549 pull_request: https://github.com/python/cpython/pull/15908 ___ Python tracker ___ __

[issue37585] Comparing PyDictValues does not give expected results

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15550 pull_request: https://github.com/python/cpython/pull/15909 ___ Python tracker ___ __

[issue37585] Comparing PyDictValues does not give expected results

2019-09-11 Thread Brett Cannon
Brett Cannon added the comment: New changeset 6472ece5a0fe82809d3aa0ffb281796fcd252d76 by Brett Cannon (Kyle Stanley) in branch 'master': bpo-37585: Add clarification regarding comparing dict.values() (GH-14954) https://github.com/python/cpython/commit/6472ece5a0fe82809d3aa0ffb281796fcd252d76

[issue35168] shlex punctuation_chars inconsistency

2019-09-11 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11403 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15548 pull_request: https://github.com/python/cpython/pull/15907 ___ Python tracker ___ ___

[issue35168] shlex punctuation_chars inconsistency

2019-09-11 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11401 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue16438] Numeric operator predecence confusing

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15545 pull_request: https://github.com/python/cpython/pull/15904 ___ Python tracker ___ __

[issue35168] shlex punctuation_chars inconsistency

2019-09-11 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11402 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue38103] Duplicate label "examples" in the Docs

2019-09-11 Thread Ezio Melotti
Change by Ezio Melotti : -- keywords: +patch pull_requests: +15547 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15906 ___ Python tracker

[issue16438] Numeric operator predecence confusing

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15546 pull_request: https://github.com/python/cpython/pull/15905 ___ Python tracker ___ __

[issue16438] Numeric operator predecence confusing

2019-09-11 Thread Julien Palard
Julien Palard added the comment: New changeset 4576b5431bd597df7581fe3c852b315e47e4b230 by Julien Palard (Anjali) in branch 'master': bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521) https://github.com/python/cpython/commit/4576b5431bd597df7581fe3c852b315e47e4b

[issue38103] Duplicate label "examples" in the Docs

2019-09-11 Thread Ezio Melotti
New submission from Ezio Melotti : I just rebuilt the docs and got the following error: Warning, treated as error: Doc/c-api/typeobj.rst:2456:duplicate label examples, other instance in Doc/distutils/examples.rst Makefile:49: recipe for target 'build' failed make: *** [build] Error 2 -

[issue37945] test_locale failing

2019-09-11 Thread Steve Dower
Steve Dower added the comment: FYI I just closed issue10466 as a duplicate (even though that one's been around longer, this issue has more relevant information on it). -- ___ Python tracker

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-11 Thread Steve Dower
Steve Dower added the comment: Thanks for the report! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15544 pull_request: https://github.com/python/cpython/pull/15903 ___ Python tracker ___ __

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: New changeset 92521fea5d0d4aeb9b6a3c3fdd4654af700ad5c8 by Zachary Ware (Steve Dower) in branch 'master': bpo-38081: Fixes ntpath.realpath('NUL') (GH-15899) https://github.com/python/cpython/commit/92521fea5d0d4aeb9b6a3c3fdd4654af700ad5c8 -- _

[issue10466] locale.py resetlocale throws exception on Windows (getdefaultlocale returns value not usable in setlocale)

2019-09-11 Thread Steve Dower
Steve Dower added the comment: issue37945 is a duplicate and has more up-to-date information on it, so I'm going to close this one even though it's older. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_locale failing _

[issue28494] is_zipfile false positives

2019-09-11 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +15543 pull_request: https://github.com/python/cpython/pull/15902 ___ Python tracker ___

[issue38102] Document importlib.machinery.WindowsRegistryFinder.DEBUG_BUILD

2019-09-11 Thread Brett Cannon
New submission from Brett Cannon : importlib.machinery.WindowsRegistryFinder.DEBUG_BUILD has existed since Python 3.3 (https://hg.python.org/cpython/file/v3.3.0/Lib/importlib/_bootstrap.py#l1750). -- assignee: docs@python components: Documentation messages: 351784 nosy: brett.cannon,

[issue38101] Update devguide triaging keywords

2019-09-11 Thread Lisa Roach
New submission from Lisa Roach : Currently the devguide triaging keywords page is out of date: https://devguide.python.org/triaging/#keywords It is missing keywords like "easy (C)", "security_issue", and "pep3121". -- assignee: docs@python components: Documentation keywords: easy mes

[issue37445] Some FormatMessageW() calls use FORMAT_MESSAGE_FROM_SYSTEM without FORMAT_MESSAGE_IGNORE_INSERTS

2019-09-11 Thread Steve Dower
Steve Dower added the comment: New changeset 289c5ea7737e44e3b150532b3498e3d3d4c70d99 by Steve Dower (Zackery Spytz) in branch '2.7': bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-15822) https://github.com/python/cpython/commit/289c5ea7737e44e3b150532b3498e3d

[issue37445] Some FormatMessageW() calls use FORMAT_MESSAGE_FROM_SYSTEM without FORMAT_MESSAGE_IGNORE_INSERTS

2019-09-11 Thread Steve Dower
Steve Dower added the comment: Thanks, Zackery! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue37993] os.path.realpath on Windows resolves mapped network drives

2019-09-11 Thread Steve Dower
Steve Dower added the comment: I'm closing this as not a bug. It's a few steps deep, but DefineDosDeviceW() [1] specifies that it creates junctions, and while it's not necessarily obvious how to get from SUBST to that page, Wikipedia managed it [2]. And I don't think it's unreasonable to exp

[issue37936] gitignore file is too broad

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: Ok, now it's done :) Thanks, Greg. -- stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker ___

[issue38100] Spelling error in unittest.mock code

2019-09-11 Thread Lisa Roach
New submission from Lisa Roach : Good first issue. There is a spelling error in the unittest.mock library, "return_calulator" should be "return_calculator". This is in the `_set_return_value` method in `Lib/unittest/mock.py`. -- components: Library (Lib) keywords: easy, newcomer frie

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +15542 pull_request: https://github.com/python/cpython/pull/15901 ___ Python tracker ___ __

[issue37936] gitignore file is too broad

2019-09-11 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +15541 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/15900 ___ Python tracker ___

[issue35784] document that hashlib.new takes kwargs

2019-09-11 Thread Christian Heimes
Christian Heimes added the comment: Thanks for the bug report. While you are technically correct, I would like to hold off on this change for a bit more. I plan to replace our internal vendored copies of sha3 and blake2 with OpenSSL code. OpenSSL 1.1.1 has some of the new required APIs. Open

[issue36960] Make datetime docs more user-friendly

2019-09-11 Thread Paul Ganssle
Change by Paul Ganssle : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ __

[issue37936] gitignore file is too broad

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: New changeset 455122a0094c8cfdf7e062eccc5e5b5885c75e8b by Zachary Ware (Greg Price) in branch 'master': bpo-37936: Systematically distinguish rooted vs. unrooted in .gitignore (GH-15823) https://github.com/python/cpython/commit/455122a0094c8cfdf7e062eccc5e5b58

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-11 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +15540 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15899 ___ Python tracker ___

[issue37424] subprocess.run timeout does not function if shell=True and capture_output=True

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15539 pull_request: https://github.com/python/cpython/pull/15898 ___ Python tracker ___ __

[issue37424] subprocess.run timeout does not function if shell=True and capture_output=True

2019-09-11 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +15538 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15897 ___ Python tracker ___ _

[issue37424] subprocess.run timeout does not function if shell=True and capture_output=True

2019-09-11 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 580d2782f70f8e0bed7ec20abb03d740cb83b5da by T. Wouters (Gregory P. Smith) in branch 'master': bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490) https://github.com/python/cpython/commit/580d2782f70f8e0bed7ec20abb03d740cb

[issue36960] Make datetime docs more user-friendly

2019-09-11 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset 3fb1363fe87a24cdb2ee1dd9746f1c49046af958 by Paul Ganssle (Brad) in branch 'master': Overhaul datetime documentation (GH-13410) https://github.com/python/cpython/commit/3fb1363fe87a24cdb2ee1dd9746f1c49046af958 --

[issue37879] Segfaults in C heap type subclasses

2019-09-11 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset ff023ed36ea260ab64be5895f1f1f087c798987a by Petr Viktorin (Eddie Elizondo) in branch 'master': bpo-37879: Suppress subtype_dealloc decref when base type is a C heap type (GH-15323) https://github.com/python/cpython/commit/ff023ed36ea260ab64be589

[issue38089] Make macOS tests optional on Azure Pipelines

2019-09-11 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue29171] blake2: Remove unused function to avoid undefined references

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Numerous warnings with blake2 module ___ Python tracker __

[issue38099] __dict__ attribute is incorrectly stated to be read-only

2019-09-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: Oh, another point... Python is a little more complicated than some other languages, like Java, because Python classes (types) are themselves instances (objects) of yet another class (the so called "metaclass"). Ultimately, all classes are instances of the

[issue38034] Typo on logging.handlers.QueueListener documentation

2019-09-11 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue38099] __dict__ attribute is incorrectly stated to be read-only

2019-09-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: "The implementation adds a few special read-only attributes to several object TYPES" [emphasis added] py> class MyType: ... pass ... py> MyType.__dict__ = {} Traceback (most recent call last): File "", line 1, in AttributeError: attribute '__dict__' o

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15537 pull_request: https://github.com/python/cpython/pull/15896 ___ Python tracker ___ __

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 7264e92b718d307cc499b2f10eab7644b00f0499 by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-36373: Fix deprecation warnings (GH-15889) https://github.com/python/cpython/commit/7264e92b718d307cc499b2f10eab7644b00f0499 --

[issue11664] Add patch method to unittest.TestCase

2019-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I concur with Raymond here. Since mock is also part of stdlib and this issue predates mock being merged to stdlib. I think adding it to unittest sort of expands the unittest API being just an alias to mock.patch. mock.patch is used in lot of places

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-11 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +15536 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15895 ___ Python tracker __

<    1   2   3   4   5