neumond

Results 38 comments of neumond

I would rather rely on getting `EAGAIN` twice in a row. Looks like this mechanism can be abstracted away as an iterator of pictures, which takes iterator of source data...

Iterators are lazy, they don't require all the data in memory. This is roughly my idea with iterators, without optimizations and with some unwraps inside: ```rust struct Dav1dDecoder { decoder:...

I'm not sure I'm able to invent an API wrapper that would fit everyone. Iterators solve my specific task quite well. It would be fine to have that as just...

Monkeypatch workaround ``` import yarl original_with_query = yarl.URL.with_query def new_with_query(self, *args, **kwargs): if kwargs: query = kwargs elif len(args) == 1: query = args[0] if isinstance(query, Mapping) and 'refresh' in...

There're two ways of solving this problem: modifying yarl for bool support and replacing bool parameters everywhere is aioes. What can you consider correct?

@wintamute I would prefer to be able to convert from bool instead passing as is. `refresh=True` looks more reasonable than `refresh=1`.

Hi, this is probably a Django bug. Fails for me if I do: ```python class AbstractModelG(models.Model): field = models.ForeignKey('ReferencedModelG', on_delete=models.CASCADE) class Meta: abstract = True class RealModelG(AbstractModelG): other_field = models.CharField(max_length=100)...

Reported this to django: https://code.djangoproject.com/ticket/29466

As far as I remember `UnitTypes.Terran_Marine` is already an object of class `UnitType`. You _can't_ create your own UnitTypes, you only can use predefined ones, as a database.

UnitCommand class isn't wrapped yet, so that's why getLastCommand is missing.