You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several people have expressed interest in versioning stub files.
Here are some reasons:
A library maintainer is worried that stubs maintained by 3rd parties for his or her library will get out of date, and people will complain to the library maintainer instead of the one who maintains the stubs.
A new version of a library breaks compatibility with earlier versions and it's no longer possible to use the same stub with all version of the library in any meaningful way.
I like the TypeScript approach of putting the version into the file name. If we do the same thing, we might have something like
typeshed/python3/dist-packages/numpy-1.8.2.pyi
Activity
vlasovskikh commentedon Apr 13, 2015
TypeScript guys have created a set of tools for managing their stubs:
This is their contribution guide.
matthiaskramm commentedon Apr 17, 2015
I like the TypeScript approach of putting the version into the file name. If we do the same thing, we might have something like
typeshed/python3/dist-packages/numpy-1.8.2.pyi
gvanrossum commentedon Jan 26, 2016
Closing. We now have a policy for this.
Add stubs for haversine (python#3)
Add stubs for haversine (python#3)
Add stubs for haversine (python#3)
Merge pull request python#3 from cocoatomo/utils
Attempt at fixing CI #3
renovate: Try disabling Python updates (try #3)
renovate: Try disabling Python updates (try #3) (#13790)
renovate: Try disabling Python updates (try python#3) (python#13790)
update links (python#3)