Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Generics & typing module (support for module specializations) #406

Closed
MikhailArkhipov opened this issue Nov 19, 2018 · 2 comments
Closed
Assignees
Milestone

Comments

@MikhailArkhipov
Copy link

MikhailArkhipov commented Nov 19, 2018

  • Instead of using protocols, provide proper implementation of IPythonModule that replaces standard module by specialized implementation.
  • Ditto for any module member

Basically rework typeinfo wrapper

@MikhailArkhipov MikhailArkhipov changed the title Ability to replace module and module member by in-code implementation Rework typing wrapper Nov 23, 2018
@karthiknadig karthiknadig added this to the Dec 2018.1 milestone Nov 26, 2018
@MikhailArkhipov MikhailArkhipov removed this from the Dec 2018.1 milestone Nov 27, 2018
@zooba
Copy link
Member

zooba commented Dec 13, 2018

One of the other ideas of protocols was to be able to infer them from usage, so you could determine that a function parameter has a particular minimum type. This is much closer to how Python's type system actually works (annotations are an orthogonal type system that is different), and could provide value for our users distinct from what other tools offer.

@MikhailArkhipov MikhailArkhipov changed the title Rework typing wrapper Generics & typing module (support for module specializations) Jan 2, 2019
@MikhailArkhipov MikhailArkhipov added this to the Jan 2019.1 milestone Jan 9, 2019
@MikhailArkhipov
Copy link
Author

#465

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants