Łukasz Hanuszczak

Results 6 issues of Łukasz Hanuszczak

Consider the following snippet: ```python print("{self}".format(self=42)) ``` When type-checking it with pytype we will get the following error: ``` File "(...)", line 1, in : function str.format got multiple values...

bug
cat: callables

Consider the following example: ```python from typing import Sequence from typing import TypeVar T = TypeVar("T") def size(seq: Sequence[T]) -> int: return len(seq) ``` Type checking through pytype will fail...

bug
cat: generics

Sometimes we have some interface and we would like to write a generic test suite for it, so that concrete implementations just reuse it. The problem with Python's `unittest` (and...

This is heavily inspired by #38 but fixes several issues we had with using that package: - sometimes incorrect invocations return `NULL` and sometimes they fail with an exception, for...

Just a simple function that yields a series of values.

[`From`] implementations for [`Timestamp`] and [`Duration`] well-known types that convert to standard library [`std::time::SystemTime`] and [`std::time::Duration`] state that they panic when given values out of the allowed range. However, this...