-
### Describe the issue:
According to the spec the `stream` parameter for `__dlpack__` and `to_device` should be `Optional[Union[int, Any]]`. The current implementation just uses `None`.
### Repr…
-
### How would this feature be useful?
Let us assume I develop a Python package. In my PEP 621 `pyproject.toml` I have:
```toml
[project]
# ...
dependencies = [
"django >= 3.2, < 5.2",
…
-
I have this little module:
```python
'xxx'
import typing
def main() -> None:
'collapse rows if the first column is empty'
rows: typing.Iterable[typing.List[str]] = [['foo', 'bar'…
-
```
It should be possible to play chess with PyChess using no mouse.
Keys like TAB, space, enter and arrowkeys should be fine.
Optionally typing moves, while board has focus, could also work.
```
Or…
-
```
It should be possible to play chess with PyChess using no mouse.
Keys like TAB, space, enter and arrowkeys should be fine.
Optionally typing moves, while board has focus, could also work.
```
Or…
-
Repro:
**bug.py**:
```python
from __future__ import annotations
from typing import *
class B:
pass
class A:
name: Optional[Union[str, B]]
def foo(a: A):
if is…
-
When a dep is not required by the current python version, pdm translator raises an exception.
```
MismatchedVersionException: Found no packages to satisfy dependency (name=exceptiongroup, spec=>=1…
-
Отлично поработали 🔥
1. Конфиг `fastapi-solution/src/core/config.py` правильнее было оформить в виде класса:
```python
from pydantic_settings import BaseSettings, SettingsConfigDict
…
-
I believe it would be a fantastic idea if we could mark tuple fields as optional. Something like:
```
tuple<
name: str,
optional_data: optional str
>
```
This would remove 90% o…
-
The translation button can pop-up without us wanting it to (for example selecting text to remove it then continuing typing without clicking, or selecting text to search it). An optional timeout would …