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

[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

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

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

[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

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

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

[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

[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

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

[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

[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 miss-islington
Change by miss-islington : -- pull_requests: +15539 pull_request: https://github.com/python/cpython/pull/15898 ___ Python tracker ___ __

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

[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

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

[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

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

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

[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

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

[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

[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

[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

[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

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

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

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

[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 Steve Dower
Steve Dower added the comment: Thanks for the report! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[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

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

[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

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

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

[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

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

[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

[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
Change by Brett Cannon : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list maili

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

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

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

[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

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

[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

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

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

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

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

[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

[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

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

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

[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: +15552 pull_request: https://github.com/python/cpython/pull/15911 ___ Python tracker ___ __

[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

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

2019-09-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4601f7a49fe8ed00c4b6b70b0eda2b3922568e9b by Andrew Svetlov in branch '3.8': [3.8] bpo-36373: Fix deprecation warnings (GH-15889) (GH-15901) https://github.com/python/cpython/commit/4601f7a49fe8ed00c4b6b70b0eda2b3922568e9b -- _

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

2019-09-11 Thread Brett Cannon
Change by Brett Cannon : -- pull_requests: +15554 pull_request: https://github.com/python/cpython/pull/15913 ___ Python tracker ___

[issue16438] Numeric operator predecence confusing

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

[issue16438] Numeric operator predecence confusing

2019-09-11 Thread Julien Palard
Change by Julien Palard : -- 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
miss-islington added the comment: New changeset 57491de7c33c5886c4cae2f468b474d9b4e6fed2 by Miss Islington (bot) in branch '3.8': bpo-38081: Fixes ntpath.realpath('NUL') (GH-15899) https://github.com/python/cpython/commit/57491de7c33c5886c4cae2f468b474d9b4e6fed2 -- nosy: +miss-islin

[issue37585] Comparing PyDictValues does not give expected results

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 3cd147bf599f116593dc06ed7dfe948b759aabd3 by Miss Islington (bot) in branch '3.7': bpo-37585: Add clarification regarding comparing dict.values() (GH-14954) https://github.com/python/cpython/commit/3cd147bf599f116593dc06ed7dfe948b759aabd3 -

[issue37585] Comparing PyDictValues does not give expected results

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 690a16d455603500a0c6df0bd87e49c9b37a6950 by Miss Islington (bot) in branch '3.8': bpo-37585: Add clarification regarding comparing dict.values() (GH-14954) https://github.com/python/cpython/commit/690a16d455603500a0c6df0bd87e49c9b37a6950 -

[issue37769] Windows Store installer should warn user about MAX_PATH

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

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

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f2173ae38fa49235c3cdc28ae2ca2e19a375a596 by Benjamin Peterson in branch 'master': bpo-35066: Make trailing percent test more portable. (GH-15907) https://github.com/python/cpython/commit/f2173ae38fa49235c3cdc28ae2ca2e19a375a596 -- n

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

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

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

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

[issue37769] Windows Store installer should warn user about MAX_PATH

2019-09-11 Thread Steve Dower
Steve Dower added the comment: I don't know that it's a great idea, but I did PR 15914 just to see how an additional message on OSError would look. -- stage: patch review -> ___ Python tracker

[issue25810] Python 3 documentation for eval is incorrect

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 4e914ab29f6d48a9fd045ea6a25dbf9e2fb603f9 by Miss Islington (bot) in branch '3.8': bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) https://github.com/python/cpython/commit/4e914ab29f6d48a9fd045ea6a25dbf9e2fb603f9 -- nosy

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

2019-09-11 Thread STINNER Victor
STINNER Victor added the comment: On Windows, the following pattern _can_ hang: proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) try: return proc.communicate(timeout=1.0) except TimeoutExpired: proc.kill() return proc.communicate() # <== HERE Even if the first child process is kille

[issue25810] Python 3 documentation for eval is incorrect

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset d378fdb10a5476b86b5a01d74c1bcc4e2f52e003 by Miss Islington (bot) in branch '3.7': bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) https://github.com/python/cpython/commit/d378fdb10a5476b86b5a01d74c1bcc4e2f52e003 -- ___

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-11 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-37424. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue38103] Duplicate label "examples" in the Docs

2019-09-11 Thread Lisa Roach
Lisa Roach added the comment: New changeset 2d8d597bb8f882a7677db5a2739df0e617098634 by Lisa Roach (Ezio Melotti) in branch 'master': bpo-38103: fix conflicting labels in the docs. (GH-15906) https://github.com/python/cpython/commit/2d8d597bb8f882a7677db5a2739df0e617098634 -- nosy:

[issue38103] Duplicate label "examples" in the Docs

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

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

2019-09-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: Here's a possibly simpler version which nevertheless still shows multiple calls to __eq__ (in this case, only 6, not 13): class C(object): def __eq__(self, other): print('eq') return super().__eq__(other) def __hash__(self): r

[issue37151] Calling code cleanup after PEP 590

2019-09-11 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 7a6873cdb1f496447ac5d57ae457eacbb56b7972 by Petr Viktorin (Jeroen Demeyer) in branch 'master': bpo-37151: remove special case for PyCFunction from PyObject_Call (GH-14684) https://github.com/python/cpython/commit/7a6873cdb1f496447ac5d57ae457eacbb

[issue32972] unittest.TestCase coroutine support

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

[issue32972] unittest.TestCase coroutine support

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 6a9fd66f6e4445a418c43c92585b9e06d76df4b1 by Miss Islington (bot) (Xtreak) in branch 'master': bpo-32972: Document IsolatedAsyncioTestCase of unittest module (GH-15878) https://github.com/python/cpython/commit/6a9fd66f6e4445a418c43c92585b9e06d76d

[issue35168] shlex punctuation_chars inconsistency

2019-09-11 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 972cf5c06a5ba16ad243a442dbb9c15307fbed95 by Vinay Sajip (Alex) in branch 'master': bpo-35168: Make shlex.punctuation_chars read-only (#11631) https://github.com/python/cpython/commit/972cf5c06a5ba16ad243a442dbb9c15307fbed95 -- __

[issue2771] Test issue

2019-09-11 Thread ZW Test User
Change by ZW Test User : -- components: +Tests -Documentation nosy: +zach.ware type: enhancement -> behavior versions: -Python 3.8 ___ Python tracker ___ __

[issue36518] Avoid conflicts when pass arbitrary keyword arguments to Python function

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

[issue20504] cgi.FieldStorage, multipart, missing Content-Length

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

[issue20504] cgi.FieldStorage, multipart, missing Content-Length

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 2d7cacacc310b65b43e7e2de89e7722291dea6a4 by Benjamin Peterson (Pierre Quentel) in branch 'master': bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (#10638) https://github.com/python/cpython/commit/2d7cacacc310b65b43e7e2d

[issue20504] cgi.FieldStorage, multipart, missing Content-Length

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15561 pull_request: https://github.com/python/cpython/pull/15920 ___ 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: Of course, the chances that in real life a custom object will have hash == -2 are very small. Different story however is for the actual numbers -1 and -2: In [2]: %timeit {-1, -3}

[issue28494] is_zipfile false positives

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 7acb22e6e9061f85988c0c6c5ee25ebdf2950841 by Miss Islington (bot) in branch '3.8': bpo-28494: install ziptestdata to fix install bot (GH-15902) https://github.com/python/cpython/commit/7acb22e6e9061f85988c0c6c5ee25ebdf2950841 -- __

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

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

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2019-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Michael, any thoughts on this? This more feels like an enhancement to me and I have marked it as 3.9 since I am not sure someone might be depending on the behavior where they have used wraps but still expect default values for magicmethods as they

[issue37326] Windows LICENSE.txt do not contain libffi license

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

[issue32972] unittest.TestCase coroutine support

2019-09-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 0ba5dbd992d68d7df23396148ad55624200a1dbc by Andrew Svetlov (Miss Islington (bot)) in branch '3.8': bpo-32972: Document IsolatedAsyncioTestCase of unittest module (GH-15878) (GH-15918) https://github.com/python/cpython/commit/0ba5dbd992d68d7df23

[issue37326] Windows LICENSE.txt do not contain libffi license

2019-09-11 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower versions: -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___ Pytho

[issue38106] Race in PyThread_release_lock - can lead to MEMORY CORRUPTION and DEADLOCK

2019-09-11 Thread Kirill Smelkov
New submission from Kirill Smelkov : Hello up there. I believe I've discovered a race in PyThread_release_lock on Python2.7 that, on systems where POSIX semaphores are not available and Python locks are implemented with mutexes and condition variables, can lead to MEMORY CORRUPTION and DEADLOCK.

[issue32972] unittest.TestCase coroutine support

2019-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

  1   2   3   4   5   >