Vasily Zakharov
Vasily Zakharov
I've found the following solution that seems to work for my case, though I'm not sure if it's fully correct: ```kotlin class MyScreen : FragmentScreen { override fun createFragment(factory: FragmentFactory):...
Hi! Is there a chance to move on with this?
I've provided a test to reproduce the problem.
Problem with `@overload` is a separate issue, I agree. But the problem I hit was with file locations, not content. For example, I have a `typeshed`-like project of my own...
It probably comes from `__file__`. Yes, it's a C-extension module. It's one more reason why it needs stubs. :) ```python3 $ python3 Python 3.6.8 (default, Jan 14 2019, 11:02:34) [GCC...
Probably https://github.com/Stewori/pytypes/blob/master/pytypes/util.py#L71 should be ```python3 bn = os.path.basename(module.__file__).partition('.')[0] ``` instead of `rpartition`.
I wonder why use `.__file__` in the first place, while there's `.__name__`.
I wonder how `mypy` resolves this. For example: https://github.com/python/typeshed/tree/master/stdlib/3/os Contains `path.pyi` stubs for `os.path` module. However, on Windows: ```python3 C:\>python3 Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64...
Sounds cool, thank you!