[scikit-learn] Is there any official position on PEP484/mypy?

Andreas Mueller t3kcit at gmail.com
Thu Jul 28 12:10:03 EDT 2016



On 07/28/2016 12:03 PM, Matthew Brett wrote:
> Hi,
>
> On Wed, Jul 27, 2016 at 10:08 PM, Andreas Mueller <t3kcit at gmail.com> wrote:
>> Hi Daniel.
>> This hasn't been brought up before so there is no "official position".
>> I am generally in favor, though I'm not sure how doable it is.
>> We are generally pretty generous in accepting all kinds of inputs, and many
>> of our options can have different types: (None, int, float, string,
>> nd-array) is relatively common as a type for an option.
>> As we still support 2.6, we would need to do comments or external files.
> Given numpy has dropped support for 2.6, maybe it would be reasonable
> for scikit-learn to do the same, to make this process easier?
>
How would it change the process?
We have been discussing this. My stance is that we should drop it
as soon as it creates a major nuisance, but not just for the sake
of dropping it.


More information about the scikit-learn mailing list