[issue32178] Some invalid email address groups cause an IndexError instead of a HeaderParseError

2017-11-30 Thread Massimiliano Torromeo
Change by Massimiliano Torromeo : -- pull_requests: -4558 ___ Python tracker ___

[issue32179] Empty email address in headers triggers an IndexError

2017-11-30 Thread Massimiliano Torromeo
New submission from Massimiliano Torromeo : In case an address email header contains and empty string, the tokenizer return a BareQuotedString which is also a TokenList, but this list is empty and the parser fails to check this and insteads raises an

[issue32178] Some invalid email address groups cause an IndexError instead of a HeaderParseError

2017-11-30 Thread Massimiliano Torromeo
Massimiliano Torromeo added the comment: In case an address email header contains and empty string, the tokenizer return a BareQuotedString which is also a TokenList, but this list is empty and the parser fails to check this and insteads raises an IndexError.

[issue31705] test_sha256 from test_socket fails on ppc64le arch

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: > It would be nice to get the exact version in which sha256 was fixed on ppc64, > but it's not a requirements. Ah, I think that I found the bugfix (8 Jan 2016): https://github.com/torvalds/linux/commit/6de62f15b581 So it was fixed

[issue31705] test_sha256 from test_socket fails on ppc64le arch

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: Charalampos Stratakis, Ryan Decker, Fomalhaut Weisszwerg: * What is the value of os.uname().machine on ppc64le? 'ppc64le'? Is there a 'ppcbe' architecture? * Can you please try attached PR 4643 on a kernel 3.10 and confirms that the

[issue31705] test_sha256 from test_socket fails on ppc64le arch

2017-11-30 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4557 stage: -> patch review ___ Python tracker ___

[issue31705] test_sha256 from test_socket fails on ppc64le arch

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: Charalampos Stratakis told me that the test pass on kernel 4.11. The bug comes from the kernel, there is nothing that Python can do to workarond this kernel bug. So I suggest to skip the test on kernel < 4.11, or at least skip it on

[issue32104] add method throw() to asyncio.Task

2017-11-30 Thread Oleg K
Oleg K added the comment: What is an "advanced" task? Why CancelledError is not enough? What's the actual use case? -- for instance, i want to create a task which is responsible for controlling a "slow resource" that should accessed carefully not

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: Thanks Antoine and Nick for reviews and the feedback! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32178] Some invalid email address groups cause an IndexError instead of a HeaderParseError

2017-11-30 Thread Massimiliano Torromeo
New submission from Massimiliano Torromeo : With some malformed email address list, the parser for email groups raises an `IndexError` instead of the correct `HeaderParseError`. This results in a complete failure to parse the email while it is still preferable

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5e3806f8cfd84722fc55d4299dc018ad9b0f8401 by Victor Stinner in branch 'master': bpo-32101: Add PYTHONDEVMODE environment variable (#4624) https://github.com/python/cpython/commit/5e3806f8cfd84722fc55d4299dc018ad9b0f8401

[issue32177] spammers mine emails from bugs.python.org

2017-11-30 Thread Jörn Hees
Jörn Hees added the comment: oh, how convenient... as a logged in user i can just see every other user's email... but there's more, I can just go to https://bugs.python.org/user?@startwith=0&@pagesize=3&@sort=username and see all "obfuscated" emails. A low hanging

[issue31705] test_sha256 from test_socket fails on ppc64le arch

2017-11-30 Thread Fomalhaut Weisszwerg
Fomalhaut Weisszwerg added the comment: I've got the same error on CentOS 7.4 on x86_64. --- $ cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) $ uname -a Linux localhost.localdomain 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64

[issue32171] Inconsistent results for fractional power of -infinity

2017-11-30 Thread Mark Dickinson
Mark Dickinson added the comment: > I continue to wonder what is the rationale for these specifications So I can't speak with any authority: I'm only an interested bystander when it comes to IEEE 754, but I believe this particular behaviour stems from two desires: 1. The

[issue32177] spammers mine emails from bugs.python.org

2017-11-30 Thread Jörn Hees
New submission from Jörn Hees : On every platform that i create an account on, i use a new randomized email address. This allows me to track which platforms sell my account info to spammers. The one i used for bugs.python.org now receives astonishing amounts of spam

<    1   2