Comments (8)
Not going to do, invalid syntax for old versions.
from collections-extended.
Maybe only support recent versions in 1.0
from collections-extended.
Can support 2 & 3 by putting the annotations in a stub file or as a comment
- https://www.python.org/dev/peps/pep-0484/#stub-files
- https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code
from collections-extended.
Check that autodoc uses type annotations https://pypi.org/project/sphinx-autodoc-typehints/
from collections-extended.
Need to create a unique type for each Sentinel so that we can add that type to the annotation.
from collections-extended.
Need to use backported typing library for Python <3.6
from collections-extended.
Can move annotations out of stubs now.
from collections-extended.
Can setlists and rest of types be annotated? When I am using this module mypy tells me Type of variable becomes "Any" due to an unfollowed import
. It would be nice to have annotations. Thank you.
from collections-extended.
Related Issues (20)
- It's 2021
- Python 3.9.1 is out
- Use tox instead of GitHub matrix HOT 1
- Re-enable coverage HOT 1
- GitHub Action to publish HOT 1
- Dict views should be introspectable - From Python.org HOT 1
- bijection.__init__ tuples need to be len == 2
- Docs aren't updating HOT 2
- Duplicate history in change log
- Deploying docs deletes CNAME file HOT 1
- I don't know why this project only has 40 stars HOT 1
- MappedRange does not implement expected equality semantics HOT 3
- Ranges in RangeMap not always merged HOT 2
- Better pickling
- bags.CountsView a Mapping instead of Collection of tuples
- Remove remaining travis-ci references
- Type annotation for RangeMap keys being comparable
- bijection kwargs in __init__ aren't typed
- Python 3.11 compatibility HOT 1
- How about adding performace metrics for setlist vs dict/set/tuple
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collections-extended.