-
This is might sound like a cross over proposal between this one and the decorators proposal. But I guess once the decorators proposal reaches stage 4 this could be added as an extension.
Maybe some…
-
### Current Tensorclass interface
To define a Tensorclass, we could write:
```python
@tensorclass
class MyTensorclass:
foo: Tensor
bar: Tensor
```
The `@tensorclass` decorator then gen…
-
**Bug Report**
(A clear and concise description of what the bug is.)
We expect that adding a decorator to a method will never produce a new mypy error unless the decorator itself introdu…
-
**Bug Report**
I've boiled down a minimal example -- this pattern is used by `pyupgrade` (and `reorder-python-imports`) to register ast functions and has been working with mypy since version 0.71…
-
Decorators are heavily used. Currently you can disable warning, but there is zero flow support for function signature of the decorator arguments.
There are other experimental functions in flow alread…
-
Right now I use this hack for enums in columns:
```python
def yt_enum(yt_type: yt_type_info.Type | None = None):
def decorator(py_type: Type[EnumType]) -> Type[EnumType]:
_yt_type = …
-
In this issue, we record various **low priority** tasks or ideas to explore which we feel do not deserve a separate issue. The content is updated periodically.
- [ ] Special quoting for filenames …
-
Hi there!
I just started using *hug* a couple of days ago and I like it a lot. It feels very intuitive and the docs are nice to read. Kudos! :)
I get an error when I use `Union` or `Optional` fr…
-
I just tried to start the [disco-node](http://github.com/disco-network/disco-node) server after upgrading to the last commit of irony, encountering the following error:
```
[...]/irony/build/lib/s…
-
Currently, the `isinstance` check doesn't work with anything existing in the typing module.
For example, you can't do the following:
```python
from typing import Dict
x = {'a': 'b'}
isinstan…