deprecated icon indicating copy to clipboard operation
deprecated copied to clipboard

Type Annotations?

Open alanhdu opened this issue 1 year ago • 1 comments

I was wondering whether you'd be open to lifting the typestubs from typeshed (https://github.com/python/typeshed/tree/main/stubs/Deprecated/deprecated) directly into this repository. That would make the types easier to maintain (since they live with the code) and make it easier for users to consume (since they can get them directly when installing deprecated instead of having to install the separate types-deprecated module.

If you're open to this, I'd be happy to spend some time doing the port!

alanhdu avatar May 11 '23 01:05 alanhdu

Hi Alan,

Sorry for the late reply. Yes, I agree with adding the typestubs to Deprecated.

However, please make sure that this does not lead to regression with Python 2.7 as I want it to remain compatible (we still have users using this old version).

The best thing to do is to make a PR (on the develop branch) to prepare for this.

tantale avatar May 27 '23 16:05 tantale