This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients jfine2358, josh.r, remi.lapeyre, vstinner
Date 2019-01-09.22:15:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547072123.22.0.493682682315.issue35698@roundup.psfhosted.org>
In-reply-to
Content
> vstinner: The problem isn't the averaging, it's the type inconsistency.

>>> type(statistics.median([1]))
<class 'int'>
>>> type(statistics.median([1,2]))
<class 'float'>

Which consistency? :-)
History
Date User Action Args
2019-01-09 22:15:24vstinnersetrecipients: + vstinner, josh.r, remi.lapeyre, jfine2358
2019-01-09 22:15:23vstinnersetmessageid: <1547072123.22.0.493682682315.issue35698@roundup.psfhosted.org>
2019-01-09 22:15:23vstinnerlinkissue35698 messages
2019-01-09 22:15:23vstinnercreate