[issue33084] Computing median, median_high an median_low in statistics library

2018-03-16 Thread Luc
Luc added the comment: If we are trying to fix this, the behavior should be like computing the mean or harmonic mean with the statistics library when there are missing values in the data. At least that way, it is consistent with how the statistics library works when computing with NaNs in

[issue33084] Computing median, median_high an median_low in statistics library

2018-03-16 Thread Luc
Luc added the comment: Just to make sure we are focused on the issue, the reported bug is with the statistics library (not with numpy). It happens, when there is at least one missing value in the data and involves the computation of the median, median_low and median_high using the statistics

[issue33084] Computing median, median_high an median_low in statistics library

2018-03-15 Thread Luc
New submission from Luc : When a list or dataframe serie contains NaN(s), the median, median_low and median_high are computed in Python 3.6.4 statistics library, however, the results are wrong. Either, it should return a NaN just like when we try to compute a mean or point the user to drop

[issue30941] Missing line in example program

2017-07-16 Thread Luc Bougé
New submission from Luc Bougé: On page <https://docs.python.org/3.6/_sources/library/stdtypes.txt>, the following program is listed. It raises a syntactic error. An empty line is missing after "... n += val" to close the loop body. >>> # iteration &g

[issue30741] https://www.pypi-mirrors.org/ error 503

2017-06-23 Thread Luc Zimmermann
New submission from Luc Zimmermann: is that linked with the certificate error on pypi ? you redirect http request to https, but you still listen 80 and not 443 ? -- messages: 296721 nosy: Luc Zimmermann priority: normal severity: normal status: open title: https://www.pypi-mirrors.org

[issue30739] pypi ssl errors [CERTIFICATE_VERIFY_FAILED]

2017-06-23 Thread Luc Zimmermann
New submission from Luc Zimmermann: Hi Guys, I've a strange behavior. We use python for configure our new boxes with openWRT and coovaChilli. But since yesterday, when i ask to pip to dowload PyJWT, json-cfg and speedtest-cli, some boxes can download these packages, and some can

[issue24515] docstring of isinstance

2015-06-26 Thread Luc Saffre
New submission from Luc Saffre: The docstring of built-in function 'isinstance' should explain that if the classinfo is a tuple, the object must be instance of *any* (not *all*) of the class objects. -- assignee: docs@python components: Documentation messages: 245841 nosy: