[issue31972] Inherited docstrings for pathlib classes are confusing

2018-01-25 Thread Chason Chaffin
Change by Chason Chaffin : -- nosy: +chason ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-25 Thread bbayles
Change by bbayles : -- pull_requests: +5176 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-25 Thread Yury Selivanov
Yury Selivanov added the comment: The following snippet crashes with SIGABRT: import asyncio async def f(): pass asyncio.gather(f()) llvm tells that the crash is in _PyGen_Finalize/_PyErr_WarnUnawaitedCoroutine -- ___ Python tracker

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-25 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread Chason Chaffin
Chason Chaffin added the comment: I'm writing a PR for this right now. Is it worth it to write a test to make sure that mail_options isn't being mutated or is it enough just to update the code to use non-mutable defaults? Interesting side effect of looking into this is #32663 where I found th

[issue2793] Dictionary fails to index when adding list when in a deeply nested loop

2018-01-25 Thread Jay Yin
Change by Jay Yin : -- pull_requests: +5177 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2018-01-25 Thread Dean Liao
Dean Liao added the comment: I planned to upgrade Chromium OS's mock module to 2.0.0. I also encountered the issue that classmethod cannot be patched as callable mock. Reviewers, can we start the review process? -- nosy: +deanliao ___ Python tracke

[issue27931] Email parse IndexError <""@wiarcom.com>

2018-01-25 Thread Xiang Zhang
Change by Xiang Zhang : -- type: -> behavior versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue32571] Speed up and clean up getting optional attributes in C code

2018-01-25 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +5178 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-25 Thread Mariatta Wijaya
Change by Mariatta Wijaya : -- keywords: +patch pull_requests: +5179 stage: needs patch -> patch review ___ Python tracker ___ ___ Py

[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-25 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: GH-5333 clarifies that str.join can return a Unicode object if iterable contains a Unicode object, and that it will raise TypeError if there is any non string or non unicode object. -- ___ Python tracker

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread Chason Chaffin
Change by Chason Chaffin : -- keywords: +patch pull_requests: +5180 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32672] .then execution of actions following a future's completion

2018-01-25 Thread dancollins34
New submission from dancollins34 : To my knowledge, python currently has no capability to chain future execution, requiring another future to begin executing with the result from the first. I have submitted a pr to enable this functionality with a .then(self, fn) method on the concurrent.futur

[issue32672] .then execution of actions following a future's completion

2018-01-25 Thread R. David Murray
R. David Murray added the comment: I think this requires a discussion on the python-ideas mailing list, since API changes to Future need consideration in the asyncio context as well. -- components: +Library (Lib) -Interpreter Core nosy: +r.david.murray type: -> enhancement versions: +

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread R. David Murray
R. David Murray added the comment: It's probably enough to fix it. I fear that if we also change them in sendmail we'll break someone's code, but maybe we should do that anyway, for 3.7 only. -- versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.8 __

[issue32672] .then execution of actions following a future's completion

2018-01-25 Thread dancollins34
Change by dancollins34 : -- keywords: +patch pull_requests: +5182 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue32672] .then execution of actions following a future's completion

2018-01-25 Thread dancollins34
dancollins34 added the comment: Okay, I'll post something. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread Chason Chaffin
Chason Chaffin added the comment: > It's probably enough to fix it. I fear that if we also change them in > sendmail we'll break someone's code, but maybe we should do that anyway, for > 3.7 only. Should I make a separate issue for that, or attach it to this PR? --

[issue29237] Create enum for pstats sorting options

2018-01-25 Thread Ethan Furman
Ethan Furman added the comment: New changeset 863b1e4d0e95036bca4e97c1b8b2ca72c19790fb by Ethan Furman (mwidjaja) in branch 'master': bpo-29237: Create enum for pstats sorting options (GH-5103) https://github.com/python/cpython/commit/863b1e4d0e95036bca4e97c1b8b2ca72c19790fb --

[issue29237] Create enum for pstats sorting options

2018-01-25 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +5183 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-25 Thread Nathaniel Smith
Nathaniel Smith added the comment: Right, I *knew* I should be nervous about calling into Python from a C-level destructor... what's happening is: - Somehow, that coroutine object is managing to survive until the very, very end of the shutdown sequence (PyImport_Cleanup). I'm not sure how exa

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-25 Thread Nathaniel Smith
Change by Nathaniel Smith : -- pull_requests: +5184 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue32662] Implement Server.serve_forever and corresponding APIs

2018-01-25 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5185 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32673] update tutorial dict part to reflect dict is ordered

2018-01-25 Thread Xiang Zhang
New submission from Xiang Zhang : Ordered builtin dict is the rule in 3.7, the tutorial part about dict[1] needs updating. [1] https://docs.python.org/3.7/tutorial/datastructures.html#dictionaries -- assignee: docs@python components: Documentation messages: 310737 nosy: docs@python, xi

[issue32673] update tutorial dict part to reflect dict is ordered

2018-01-25 Thread Chason Chaffin
Change by Chason Chaffin : -- nosy: +chason ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue32630] Migrate decimal to use PEP 567 context variables

2018-01-25 Thread Guido van Rossum
Guido van Rossum added the comment: You guys both need to calm down. Stefan, what's your objection against this, assuming the crash is fixed? -- ___ Python tracker ___ ___

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-25 Thread Guido van Rossum
Guido van Rossum added the comment: Maybe it's better to roll this back and take a deep breath. The feature freeze should not be treated as an excuse to cram in things at the last minute. Before this week I had never heard of this proposal. And the sarcasm is a bad start of your stint as a co

[issue32662] Implement Server.serve_forever and corresponding APIs

2018-01-25 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 4112c5b97d9c1c7b034653d0e017ffa894a45c74 by Yury Selivanov in branch 'master': bpo-32662: Try making test_asyncio.test_server more reliable (#5338) https://github.com/python/cpython/commit/4112c5b97d9c1c7b034653d0e017ffa894a45c74 -- __

[issue32674] minor documentation fix for '__import__'

2018-01-25 Thread Qian Yun
New submission from Qian Yun : This is a minor documentation for builtin function '__import__'. -- assignee: docs@python components: Documentation messages: 310741 nosy: Qian Yun, docs@python priority: normal severity: normal status: open title: minor documentation fix for '__import__' v

[issue32674] minor documentation fix for '__import__'

2018-01-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: minor documentation? I don't understand, the documentation of __import__ is well done, could you explain ? https://docs.python.org/3/library/functions.html#__import__ thank you -- nosy: +matrixise ___ Python tra

[issue32674] minor documentation fix for '__import__'

2018-01-25 Thread Qian Yun
Change by Qian Yun : -- keywords: +patch pull_requests: +5186 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue32674] minor documentation fix for '__import__'

2018-01-25 Thread Qian Yun
Qian Yun added the comment: Sorry, a typo, it's "minor documentation fix". See https://github.com/python/cpython/pull/5339 diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index d8971bef2a..80b4f9447c 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -317,7 +317,7 @@ PyDo

[issue32674] minor documentation fix for '__import__'

2018-01-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Don't worry, but in fact, I did not understand because when you post your issue, there was no associated PR. Now, I do understand. Thank you -- ___ Python tracker

[issue32571] Speed up and clean up getting optional attributes in C code

2018-01-25 Thread INADA Naoki
INADA Naoki added the comment: New changeset e76daebc0c8afa3981a4c5a8b54537f756e805de by INADA Naoki in branch 'master': bpo-32571: Fix reading uninitialized memory (GH-5332) https://github.com/python/cpython/commit/e76daebc0c8afa3981a4c5a8b54537f756e805de -- ___

[issue32673] update tutorial dict part to reflect dict is ordered

2018-01-25 Thread Martin Panter
Martin Panter added the comment: See Issue 32337 -- nosy: +martin.panter ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue32673] update tutorial dict part to reflect dict is ordered

2018-01-25 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for reminding, Martin. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Dict order is now guaranteed, so add tests and doc for it ___ Python tracker

<    1   2