gimperiale

Results issues of gimperiale

In my project I wrote a module ``pycompat.py``: ``` import sys from collections import abc if sys.version < '3.5.3': class _ABCDummyBrackets(type(abc.Mapping)): # abc.ABCMeta def __getitem__(cls, name): return cls class Mapping(abc.Mapping,...

## Summary * OS: MacOS Big Sur. I did not test this issue on other OSs. * Architecture: Intel 64bit * Psutil version: 5.8.0 * Python version: 3.8.6 * Type:...

bug
macos
need-more-info

The cachetools.TTLCache implementation is happy to support sub-second time-to-live. The official documentation says nothing about ttl needing to be an integer either. ```python import cachetools cachetools.TTLCache(maxsize=10, ttl=0.1) ``` mypy 0.790...

PyCharm inspects docstrings to figure out the return type of functions. In the case of xarray.concat(), it believes it is 'type'; this causes it to prominently highlight the user code...

```python >>> ureg.Quantity([0, 1], "kg") == 0 array([ True, False]) >>> ureg.Quantity([0, 1], "kg") == numpy.array([0, 0]) array([ True, False]) >>> ureg.Quantity([0, 1], "kg") == numpy.array([0, 1]) array([False, False]) ```...

When importing distributed, Python 3.7 emits the following: heapdict.py:11: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working...