grantjenks / python-diskcache

Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.
http://www.grantjenks.com/docs/diskcache/
Other
2.38k stars 134 forks source link

Add typing #323

Open ZivRonen opened 4 months ago

ZivRonen commented 4 months ago

I would like to add typing support to this library. However, as multiple changes will be required to support this, I wanted to verify that it is something that is wanted before I start to do so.

Note that it will require future code to support typing as well. If typing is wanted, but you don't want to change the code base here or promise future support, I can add it to typeshed instead.

phi-friday commented 2 months ago

https://github.com/grantjenks/python-diskcache/issues/202#issuecomment-918806514

He doesn't seem to be willing to support typing, at least for the time being. I also needed type hints, so I created a related library.