[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-10-15 Thread STINNER Victor
STINNER Victor added the comment: This change needs to be backported to 3.7 and 3.8, but I prefer to wait to see if buildbots like this new change, before doing the backport. -- ___ Python tracker _

[issue38490] statistics: add covariance and Pearson's correlation

2019-10-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: These two functions are right on the boundary edge of what the statistics module is trying to do, """The module is not intended to be a competitor to third-party libraries such as NumPy, SciPy, or proprietary full-featured statistics packages aimed at pro

[issue32856] Optimize the `for y in [x]` idiom in comprehensions

2019-10-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I just discovered that the assignment operator leaks variables > out of comprehensions. > ... > So it does not supersedes this optimization. That's a real bummer. IIRC, it was discussion of this proposal that motivated the creation of the walrus operato

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-10-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16367 pull_request: https://github.com/python/cpython/pull/16816 ___ Python tracker ___ __

[issue38070] visit_decref(): add an assertion to check that the object is not freed

2019-10-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16368 pull_request: https://github.com/python/cpython/pull/16816 ___ Python tracker ___ __

[issue38492] Microsoft Store app IDLE (Python 3.8) has dependency on msvcp140.dll

2019-10-15 Thread evaldas
New submission from evaldas : OS: x64 Windows 10 Professional 1903 fresh installation (with latest updates) Python 3.8 app (final version 3.8.0, not RC) installation from Microsoft Store adds two shortcuts to the Start menu: - Python 3.8 - IDLE (Python 3.8) Clicking the "Python 3.8" (python3.

[issue38492] Microsoft Store app IDLE (Python 3.8) needs msvcp140.dll

2019-10-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> components: +Installation title: Microsoft Store app IDLE (Python 3.8) has dependency on msvcp140.dll -> Microsoft Store app IDLE (Python 3.8) needs msvcp140.dll type: crash -> behavior ___ Pyt

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-15 Thread Neil Schemenauer
Neil Schemenauer added the comment: New changeset 392a13bb9346331b087bcd8bb1b37072c126abee by Neil Schemenauer in branch 'master': bpo-38006: Add unit test for weakref clear bug (GH-16788) https://github.com/python/cpython/commit/392a13bb9346331b087bcd8bb1b37072c126abee --

[issue38477] magiccube2x2 permutations 28% slower with Python 3.8.0rc1 vs 3.7

2019-10-15 Thread Louis Huemiller
Louis Huemiller added the comment: Attached is a chart, which shows the results from the runs mentioned in the initial post. This chart was produced through the use of: ../permutations2x2_chart_results \ -f ./20191011b_chart.svg \ C++unordered_map:./20191011b_magiccube2x2_permutation

[issue38477] magiccube2x2 permutations 28% slower with Python 3.8.0rc1 vs 3.7

2019-10-15 Thread Louis Huemiller
Louis Huemiller added the comment: Each of the Python runs mentioned in the initial post took around 4 hours to execute. Although not as accurate, the issue can be demonstrated in less than 5 minutes through the use of: # If needed use the following to install Python3.8.0rc1 $ apt-get up

[issue38493] os.CLD_KILLED should be implemented

2019-10-15 Thread clintolsen
New submission from clintolsen : I was running some experiments with os.waitid() and noticed that os.CLD_KILLED is not listed in the documentation. However, if a process is killed by the system this (missing) value is returned from this function. It seems like possible constant values should

[issue38490] statistics: add covariance and Pearson's correlation

2019-10-15 Thread Raymond Hettinger
Change by Raymond Hettinger : -- components: +Library (Lib) versions: -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list maili

[issue38477] magiccube2x2 permutations 28% slower with Python 3.8.0rc1 vs 3.7

2019-10-15 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue38494] Add assert_not_called_with

2019-10-15 Thread valkheim
New submission from valkheim : This would be nice to integrate an assert_not_called_with feature. I had to implement it to test a publish/subscribe patterns where multiple subscibers got called but not with the same arguments. Here is my implementation: ``` def assert_not_called_with(self, *

[issue38474] digit check logic can be replaced by Py_ISDIGIT on prepare_s

2019-10-15 Thread Mark Dickinson
Mark Dickinson added the comment: > Rewriting all this code just because we have Py_ISDIGIT() is a code churn. I'm inclined to agree: the current code works and is efficient; there's no strong reason to change it. -- ___ Python tracker

[issue38477] magiccube2x2 permutations 28% slower with Python 3.8.0rc1 vs 3.7

2019-10-15 Thread Inada Naoki
Inada Naoki added the comment: I can not confirm performance regression in 3.8.0. $ time ~/pyenv/versions/3.7.3/bin/python permutations2x2 --max_depth 6 | egrep "^# Total_Time" ; time ~/pyenv/versions/3.8.0/bin/python permutations2x2 --max_depth 6 | egrep "^# Total_Time" # Total_Time: 50.24

[issue38477] magiccube2x2 permutations 28% slower with Python 3.8.0rc1 vs 3.7

2019-10-15 Thread Inada Naoki
Inada Naoki added the comment: Ah, my bad. I meant `perf stat python ...`. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38477] magiccube2x2 permutations 28% slower with Python 3.8.0rc1 vs 3.7

2019-10-15 Thread Inada Naoki
Inada Naoki added the comment: Deadsneak Python 3.8: >>> sysconfig.get_config_var('CFLAGS') '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security' Disco /usr/bin/python3.7: >>> sysconfig.get_config_var('CFLAGS') '-Wno

[issue38494] Add assert_not_called_with

2019-10-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak versions: +Python 3.9 ___ Python tracker ___ _

[issue38490] statistics: add covariance and Pearson's correlation

2019-10-15 Thread Tymek Wołodźko
Tymek Wołodźko added the comment: I think I see your point, that the module is intended for the most basic features, but I would argue that correlation is one of such "most basic" statistics. Correlation and covariance can be thought as equivalents for standard deviation and variance, but when

<    1   2