Joshua Bronson

Results 197 comments of Joshua Bronson

> for anyone else ending up here, here is what worked for me. you have to use the nix-collect-garbage produced by nix-darwin This didn't work for me: ``` nix-darwin on...

Thanks @StephenWithPH! That worked for me too. Great to have a workaround while a fix for this is still pending.

> a similar thing also occurs with bidict Bidict author here. Just noticed this spurious error from pylint when using Python 3.9 and found my way to this issue. ```...

@davidhalter, this issue calls for a way to tell mypy (and not other type checkers) to ignore *a specific line*, i.e. via an inline comment. Currently `# mypy: ignore-errors=True` only...

Still hitting this with mypyc 1.8.0, so figured I'd update this issue again now that mypyc is a lot farther along since this was opened. Is this an easy one...

In case it helps anyone else in the meantime, I realized I could work around this by (dropping support for Python < 3.8 and) replacing the overloads with a single...

Is running a benchmark under (warmed up) PyPy and comparing to interpreted CPython predictive (to a crude approximation) of whether mypyc would enable a significant speedup?

I hit this while trying out `mypyc` with [bidict](https://github.com/jab/bidict) (excited to see how much mypyc could speed it up). In bidict we have a use case that reduces to the...

> What would you suggest in this situation? Meant to say, I know removing the `if TYPE_CHECKING` and actually calling the inherited implementation works: ```python class Child(Box[T1, T2]): def inverse(self)...

Great there is interest in this! Looks like the same thing applies to E302 with overloaded free functions (not just methods): I'm not very familiar with pycodestyle, but it looks...