ptpython: _and_cache attribute error (seen in CI)
opt/conda/envs/default_env/lib/python3.8/site-packages/bliss/shell/cli/ptpython_signature_patch.py:94: in NEWsignature_toolbar
HasSignature(python_input) &
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ptpython.filters.HasSignature object at 0x7f253565efd0>
other = <ptpython.filters.ShowSignature object at 0x7f253565eee0>
def __and__(self, other: Filter) -> Filter:
"""
Chaining of filters using the & operator.
"""
assert isinstance(other, Filter), "Expecting filter, got %r" % other
if isinstance(other, Always):
return self
if isinstance(other, Never):
return other
> if other in self._and_cache:
E AttributeError: 'HasSignature' object has no attribute '_and_cache'
/opt/conda/envs/default_env/lib/python3.8/site-packages/prompt_toolkit/filters/base.py:45: AttributeError