-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
project: policyOrganization of the typeshed projectOrganization of the typeshed project
Description
This came up in #5284 and at other places before: Currently we have no way to signal that a stub was removed from the stdlib. We hack around this by using a top-level version_info check, but that's not ideal.
I suggest we make use of the stdlib/VERSIONS file we have since the restructuring. Extend it a little so that no only versions are allowed, but also version ranges:
foo: 3.8
bar: 2.7-3.8
This would need a change in type checkers to parse the new format, but a simple first solution is to just add an equivalent of version = version.split("-")[0].
Metadata
Metadata
Assignees
Labels
project: policyOrganization of the typeshed projectOrganization of the typeshed project