-
The bug is self-evident.
[ ex_iterable = dst._ex_iterable.shard_data_sources(rank, world_size)](https://github.com/huggingface/datatrove/blob/fe81883d97d23ddeb591103b1b98747ed91551d5/src…
-
This is related to https://github.com/dart-lang/native/issues/1444, but broader in scope.
I wanted to convert some code that was using method channels and did a `map(_helperFunctionToConvertElement…
-
### The problem
I am running the plugin in HA and then getting this error. Is this the plugin's fault, or can it be something else?
Kind regards
### What addon are you reporting the bug for?
…
-
It's hard to debug why a type isn't considered iterable by red knot:
For example:
```py
from typing import reveal_type
class TestIter:
def __next__(self) -> str: ...
class Test:
…
-
`f=Function('f')`
`t=Symbol('t')`
`f.has(t)` returns False, but `Derivative(f,t).has(t)` raises TypeError: 'property' object is not iterable
Everything works fine if I write `Derivative(f(t),t).has(t…
-
Hi, I'm not sure if this is a bug in the pre-release version or if it's working as intended. `Model` in this case comes from Django, and its metaclass is `ModelBase`. This code typechecks just fine on…
-
Greetings!
I'm encountering the following error:
- python: 3.10.8
- OS: macos 15.0.1 (24A348)
- cmd: `python cp2022_experiments.py -exp graph`
- Error trace:
```console
Traceback (most recent…
-
你好,我在链接数据集后,运行预测代码,出现这个报错,请问是我的文件夹格式或者用的数据集有问题吗
-
To get a sequence of integers in a List, we must do either of two suboptimal choices:
1. Start from `Iterable.generate()` and use `toList()`:
```dart
List list = Iterable.generate(n).toList();
…
-
# 帶你搞懂 Python 的 Iterable, Iterator 與 Generator - MyApollo
Python 的 Iterable, Iterator 與 Generator 是經常會讓人產生混淆的事物,因為這 3 個都可以用 for 迴圈走訪,因此有些熟悉 Python 的面試官很喜歡問這 3 者之間的差異,追根究底是因為對這 3 者不熟悉的話,很容易寫出類似以下的低效率程…