Gregory P. Smith
Gregory P. Smith
It should determine if `t` is meaningful to use in an `isinstance` check. We've got some code in 3.6 that was simply doing: `isinstance(t, type)` for this purpose. It worked....
Take this example code, I was hoping pytype would flag the bug of blindly using an `&` on the result of an `Optional[int]` function without checking for None. It unfortunately...
The example below is inferring amount as `Iterable` and claiming that `balance` is an unknown attribute as well as claiming that `Account.deposit` returns a `list`. Potentially multiple different issues. Or...
### Proposed new feature or change: In https://github.com/numpy/numpy/issues/9968 code was added so that `longdouble(int)` would be more precise (good feature from a numpy perspective!) without transiting through a 64-bit double....
We can pass `-D DISABLEMILLIS` to the compiler to turn off TIMER0 use and millis/micros support. But `INITIALIZE_SECONDARY_TIMERS` is a blind `#define` in header files like `variants/tinyX5/pins_arduino.h` so it cannot...
Your dependency `google-apputils` is deprecated. Please migrate to `absl-py` instead.
### Steps to reproduce Run pylint on this file: ``` """Demonstrate invalid-unary-operand-type deficiency.""" class Klass: """Demonstration.""" def __init__(self, param=None): self._param = param def method(self): """Returns -param or None.""" if self._param...
My first use of snoop was to compare execution logs for a buggy area of the code between two runs to figure out where their behavior diverged. _(A weak form...
My Adafruit Feather nRF52 doesn't seem to wake up to the serial console connection until a read is performed. Adding this fixes ampy for me. (it is running the circuitpython...