Skip to content

Roadmap for Static Type Hints in Low-level Algorithms #11170

Closed
@chrisconlan

Description

@chrisconlan

Will scikit-learn accept pull requests for low-level code with static type hints? Does it ever plan to?

I don't know where the core team stands on static type hints in Python, but I think they make it 10x easier to grok code and convert users to contributors.

2018 seems like a great time to make this change, in light of Numpy dropping support for new features in Python 2.7. #11115

Supported version would need to change from Python (>= 2.7 or >= 3.4) to Python (>= 3.5) to support static type hints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions