[issue35920] Windows 10 ARM32 platform support

2019-02-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch, patch pull_requests: +11746, 11747, 11748, 11749 stage: needs patch -> patch review ___ Python tracker ___

[issue35920] Windows 10 ARM32 platform support

2019-02-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch pull_requests: +11746, 11747 stage: needs patch -> patch review ___ Python tracker ___

[issue35913] asyncore: allow handling of half closed connections

2019-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > When recv() return 0 we may still have data to send. It seems recv() returning b"" is an alias for "connection lost". E.g. in Twisted: https://github.com/twisted/twisted/blob/06c891502be9f6389451fcc959cad5485f55d653/src/twisted/internet/tcp.py#L227-L248

[issue35904] Add statistics.fmean(seq)

2019-02-06 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35921] Use ccache by default

2019-02-06 Thread Steve Dower
Steve Dower added the comment: I think the caching that MSVC does naturally handles this well enough - certainly rebuilds normally just build those files that have not changed. Besides not rebuilding .o[bj] files where the sources have not changed, what else do these tools do? -- _

[issue35913] asyncore: allow handling of half closed connections

2019-02-06 Thread Isaac Boukris
Isaac Boukris added the comment: > It seems recv() returning b"" is an alias for "connection lost". E.g. in > Twisted: To my understanding, technically the connection is not fully closed, it is just shut-down for reading but we can still perform write operations on it (that is, the client m

[issue35921] Use ccache by default

2019-02-06 Thread Christian Heimes
Christian Heimes added the comment: The PR is not required. I have been using ccache for many years with a custom PATH. On Debian, it's recommended to modify PATH manually. On Fedora PATH is automatically modified by the ccache package. $ echo $PATH /home/heimes/bin:/usr/lib64/ccache:/usr/lo

[issue35904] Add statistics.fmean(seq)

2019-02-06 Thread Mark Dickinson
Mark Dickinson added the comment: > Are you saying that "fsum(seq) / len(seq)" is incorrect because on some > older builds there is a rare possibility of an error of 1 unit in the last > place? Just to be clear, it's not that rare a possibility, and it's not restricted to older builds. I thin

[issue35903] Build of posixshmem.c should probe for required OS functions

2019-02-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: Hi Ronald, I tested with my MacBook but I'm not sure what version of the OS. Probably the latest but I can check when I get home. Maybe my comment was not clear. On my MacBook, you don't need librt for shm_open, etc. That sounds like it is the same as y

[issue35922] robotparser crawl_delay and request_rate do not work with no matching entry

2019-02-06 Thread Joseph Myers
New submission from Joseph Myers : RobotFileParser.crawl_delay and RobotFileParser.request_rate raise AttributeError for a robots.txt with no matching entry for the given user-agent, including no default entry, rather than returning None which would be correct according to the documentation.

[issue35922] robotparser crawl_delay and request_rate do not work with no matching entry

2019-02-06 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue35921] Use ccache by default

2019-02-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: time -p make CC="/usr/bin/ccache gcc" --jobs 4 --silent > stdout.txt ^ stderr.txt real 4.36 user 3.69 sys 1.73 on a 4-thread CPU i7-7560U CPU @ 2.40GHz -- nosy: +matrixise ___ Python tracker

[issue35904] Add statistics.fmean(seq)

2019-02-06 Thread Mark Dickinson
Mark Dickinson added the comment: Double-checking my own assertions: here's an example of a list xs of floats for which `fsum(xs) / len(xs)` is out by more than 1 ulp. (Obtained simply by checking a few lists of random.random() outputs; it's probably possible to construct something more obvi

[issue19953] __iadd__() doc not strictly correct

2019-02-06 Thread Felipe Manzano
Change by Felipe Manzano : -- pull_requests: +11750, 11751, 11752 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19953] __iadd__() doc not strictly correct

2019-02-06 Thread Felipe Manzano
Change by Felipe Manzano : -- pull_requests: +11750 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19953] __iadd__() doc not strictly correct

2019-02-06 Thread Felipe Manzano
Change by Felipe Manzano : -- pull_requests: +11750, 11751 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35913] asyncore: allow handling of half closed connections

2019-02-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Technically the change seems correct, we have the same logic for asyncio half-closed streams. But I want to raise the flag again: why we are adding new functionality to the *deprecated* module? It violates our on deprecation policy, isn't it? -- __

[issue35913] asyncore: allow handling of half closed connections

2019-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I agree. The problem I have with this is that it introduces a new method (handle_eof), which ends up in the "new functionality" bucket (even though it's not backward incompatible per-se, as it defaults on calling handle_close() anyway, but still it is tec

[issue35887] Doc string for updating the frozen version of importlib in _bootstrap.py incorrect

2019-02-06 Thread Nina Zakharenko
Change by Nina Zakharenko : -- keywords: +patch pull_requests: +11753 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue35887] Doc string for updating the frozen version of importlib in _bootstrap.py incorrect

2019-02-06 Thread Nina Zakharenko
Change by Nina Zakharenko : -- keywords: +patch, patch, patch pull_requests: +11753, 11754, 11755 stage: -> patch review ___ Python tracker ___ ___

[issue35887] Doc string for updating the frozen version of importlib in _bootstrap.py incorrect

2019-02-06 Thread Nina Zakharenko
Change by Nina Zakharenko : -- keywords: +patch, patch pull_requests: +11753, 11754 stage: -> patch review ___ Python tracker ___ _

[issue35921] Use ccache by default

2019-02-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Besides not rebuilding .o[bj] files where the sources have not changed, what > else do these tools do? That's a different caching scheme. MSVC, make, ninja and friend will compare timestamps of the .c and .o files are avoid rebuilding if the .o file is yo

[issue35921] Use ccache by default

2019-02-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: (sorry for the typos; a bit sick today) -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue35923] Update the BuiltinImporter in importlib to use loader._ORIGIN instead of a hardcoded value

2019-02-06 Thread Nina Zakharenko
New submission from Nina Zakharenko : Update the BuiltinImporter in importllib to set the origin from the shared `loader._ORIGIN` attribute instead of using the hard-coded value of 'built-in' in order to match the functionality of FrozenImporter. The FrozenImporter was updated to use this att

[issue35913] asyncore: allow handling of half closed connections

2019-02-06 Thread Isaac Boukris
Isaac Boukris added the comment: > But I want to raise the flag again: why we are adding new functionality to > the *deprecated* module? It violates our on deprecation policy, isn't it? I'm biased but I see this as more of a small and subtle fix for the current logic that incorrectly treats

[issue35924] curses segfault resizing window

2019-02-06 Thread Josiah Ulfers
New submission from Josiah Ulfers : To provoke a segmentation fault, run the attached, then grab the top or bottom edge of the window. Move it down or up until it overlaps the box. Might need to wiggle the edge a little, but it's reliably reproducible. Expected error, which is what happens when

[issue22474] No explanation of how a task gets destroyed in asyncio 'task' documentation

2019-02-06 Thread Cheryl Sabella
Cheryl Sabella added the comment: It seems that the note about a warning being logged if a pending task is destroyed does not exist in the new, rewritten version of the asyncio docs. Therefore, I'm going to close this as out of date. -- nosy: +cheryl.sabella resolution: -> out of d

[issue35921] Use ccache by default

2019-02-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: Antoine, thanks for pointing out that ccache exists. I got immediate build-time improvements. For the Mac, I did a "brew install ccache" and prepended "/usr/local/opt/ccache/libexec". No modification of our files was necessary. -- nosy: +rhettin

[issue35914] [2.7] PyStructSequence objects not behaving like nametuple

2019-02-06 Thread Eric Snow
Eric Snow added the comment: Sounds good. I hope that helped. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue35606] Add prod() function to the math module

2019-02-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR 11359 has the following properties in its current state: Performance vs naive implementation --- ./python -m perf timeit -s "import functools;import operator;iterable=list(range(1))" 'functools.reduce(operator.mu

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Ubuntu 3.7 and ARMv7 Ubuntu 3.x buildbots

2019-02-06 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Example failures https://buildbot.python.org/all/#/builders/117 https://buildbot.python.org/all/#/builders/106 == ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest) --

[issue35923] Update the BuiltinImporter in importlib to use loader._ORIGIN instead of a hardcoded value

2019-02-06 Thread Dong-hee Na
Dong-hee Na added the comment: @nnja Hi, Can I work on this issue if no one works on it? -- nosy: +corona10 ___ Python tracker ___ ___

[issue35740] openssl version 1.1.1 need to be there in cpython-source-deps for windows ARM64

2019-02-06 Thread Paul Monson
Change by Paul Monson : -- nosy: +Paul Monson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35705] libffi support is not there for windows on ARM64

2019-02-06 Thread Paul Monson
Change by Paul Monson : -- nosy: +Paul Monson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

2019-02-06 Thread Paul Monson
New submission from Paul Monson : Need code and test changes to match https://bugs.python.org/issue35740 -- assignee: christian.heimes components: SSL, Windows messages: 334998 nosy: Paul Monson, christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

2019-02-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +11757 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

2019-02-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch pull_requests: +11757, 11758 stage: -> patch review ___ Python tracker ___ ___

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

2019-02-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch pull_requests: +11757, 11758, 11759 stage: -> patch review ___ Python tracker ___ _

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

2019-02-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch, patch pull_requests: +11757, 11758, 11759, 11760 stage: -> patch review ___ Python tracker ___ ___

[issue35906] Header Injection in urllib

2019-02-06 Thread Sihoon Lee
Sihoon Lee added the comment: Sorry, I'm late. My review is here. https://github.com/python/cpython/pull/11768 -- ___ Python tracker ___ __

[issue35906] Header Injection in urllib

2019-02-06 Thread Martin Panter
Martin Panter added the comment: Maybe related to Victor's "Issue 1" described in Issue 32085. That is also a security bug about CRLF in the URL's path, but was opened before Issue 30500 was opened and the code changed, so I'm not sure if it is the same as this or not. Also there is Issue 1

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Ubuntu 3.7 and ARMv7 Ubuntu 3.x buildbots

2019-02-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: FYI - the name of this bot is misleading. It is now Debian testing as of 18 hours ago instead of obsolete Ubuntu 14.04. I finally upgraded it. Opens version says 1.1.1a. -- blame half the typos on my phone. On Wed, Feb 6, 2019, 5:45 PM Pablo Galindo Salga

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Ubuntu 3.7 and ARMv7 Ubuntu 3.x buildbots

2019-02-06 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35927] Intra-package References Documentation Incomplete

2019-02-06 Thread ADataGman
New submission from ADataGman : Attempting to follow https://docs.python.org/3.6/tutorial/modules.html#intra-package-references I was unable to recreate the intra-package reference as described. "For example, if the module sound.filters.vocoder needs to use the echo module in the sound.effe

[issue22228] Adapt bash readline operate-and-get-next function

2019-02-06 Thread Steven D'Aprano
Steven D'Aprano added the comment: If the licencing issue is resolved, can we reconsider this for 3.8? -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___

[issue35923] Update the BuiltinImporter in importlib to use loader._ORIGIN instead of a hardcoded value

2019-02-06 Thread Nina Zakharenko
Nina Zakharenko added the comment: Hey Dong-hee, Unfortunately, I already started the work on this which is why I assigned the ticket to myself when I opened it. This work came up as a continuation of another ticket I worked on - bpo-35321 / GH-11732. I wanted to keep them as separate issues

[issue35906] Header Injection in urllib

2019-02-06 Thread Sihoon Lee
Sihoon Lee added the comment: Yes, I thought so. before the commit version i said, the previous version(~3.4.6), raised an exception(no host given~) in urlopen failing parsing host. If this patch wants to be same as the previous version, It is right to raise an exception like the previous ve

[issue22228] Adapt bash readline operate-and-get-next function

2019-02-06 Thread Lele Gaifax
Lele Gaifax added the comment: Luckily the referenced branch is still around on GH: https://github.com/lelit/cpython-hg-mirror/tree/issue8_2 As the name says, it is not related to modern CPython' git repo though. -- ___ Python tracker

[issue35606] Add prod() function to the math module

2019-02-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset bc098515864d0d1ffe8fb97ca1a0526c30fee45a by Raymond Hettinger (Pablo Galindo) in branch 'master': bpo-35606: Implement math.prod (GH-11359) https://github.com/python/cpython/commit/bc098515864d0d1ffe8fb97ca1a0526c30fee45a -- __

[issue35606] Add prod() function to the math module

2019-02-06 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

<    1   2