Alexander Schepanovski

Results 42 issues of Alexander Schepanovski

**Crash Report** A crash happens while using `_W` wrapper below, which is a cut down version of `functools._Wrapped`. **Traceback** ``` _broken.pyi:13: error: INTERNAL ERROR -- Please try using mypy master...

crash

No need to make people guess or search package name on pypi first.

It could be done dynamically like: ``` js let String.prototype.reverse = function (...) {...}; 'abc'.reverse() getString().reverse() ``` In second example JavaScript implementation can't know statically whether `getString()` will return string,...

Using master branch. When we save dir cache we [convert filenames](https://github.com/iterative/dvc/blob/29fd8e2e41d0741b0a7870cbbe133c724ebe1fe6/dvc/remote/base.py#L180-L188) in it to posix style in a lossy way: ``` "hey\there" -> "hey/there" "hey/there" -> "hey/there" ``` which will...

bug
p3-nice-to-have
P: windows

Problem is that lambdas body sometimes has `Return` and sometimes hasn't: ``` python In [72]: print_ast(decompile_func(lambda: lambda: None)) Lambda(args=arguments(args=[], defaults=[], kwarg=None, vararg=None), body=Return(value=Lambda(args=arguments(args=[], defaults=[], kwarg=None, vararg=None), body=Name(ctx=Load(), id='None')))) ``` The...

This won't decompile: ``` python lambda: 1 if x else 2 if y else 3 ```

For example, this fails ``` python from meta.decompiler import decompile_func decompile_func(lambda x: 1 < x < 10) ```