-
I think I've noticed a tiny bug.
Python 3.6.1
mypy 0.521
````
from typing import Tuple, Dict
from itertools import product
# works fine
XY_1: Dict[str, Tuple[int, int]] = dict(zip('abcd', p…
-
I stumbled across this issue when working on some code structured like this:
```python
# seq1 has a type of list[int]
# seq2 has a type of list[str]
# Neither has None anywhere in their values
…
-
Not surprising after reading the source and discovering `partitionby` merely wraps `groupby`, but my use of groupby is a bottleneck for run-length encoding and I was hoping to see gains by leveraging …
-
Recommended by @gwerbin in #39. The comments in [cran-comments.md](https://github.com/ramhiser/itertools2/blob/master/cran-comments.md) might be a good starting place.
-
Recent B031 addition: https://github.com/PyCQA/flake8-bugbear/pull/347
A code that defines a `groupby` function (not `itertools.groupby`) will still raise B031 error.
Example:
```python
def gr…
-
Oluşturduğum kombinasyonlara ve permütasyonlara nasıl yazı ekleyebilirim?Ayrıca tekrarlı permütasyonda tekrar eden durumları silme yani bir tane gibi yazdırma var mı?Varsa da nasıl yapılıyor?
-------…
-
## Description
I came across this issue when trying to create an iterator to iterate over a `Map[String, Map[String, T]]`, where `T` can be `Any #share`. It looks like the code should compile, and …
-
- itertools: https://github.com/narimiran/itertools
- tkinter: https://github.com/neroist/nimtk nimtk/tkinter
- zipfile: https://github.com/nim-lang/zip
-
might come handy!
**itertools**
https://docs.python.org/3/library/itertools.html
**more-itertools**
https://github.com/erikrose/more-itertools
-
This will be a better write up when I get back to it but for now just putting a link dump:
#### Rx (reactive programming)
- https://en.wikipedia.org/wiki/Reactive_programming
- https://en.wikiped…