Chris Wesseling
Chris Wesseling
### Thema / Theme Other ### Omschrijving / Description `SubmissionState` and `SubmissionValueVariablesState` are "cache" classes that optimize read access to the database during API calls like "Store submission step data"...
We have a runtime dependency on setuptools: https://github.com/adafruit/circup/blob/86ff01c5fb33d130ffb8d9ed3ed144cedb220c03/circup/__init__.py#L23 but it's not named in the `install_requires` https://github.com/adafruit/circup/blob/86ff01c5fb33d130ffb8d9ed3ed144cedb220c03/setup.py#L25-L34 Alternatively we could migrate to `importlib.resources` (new in Python 3.7, but a backport for...
Names in Python are references to boxes, not variables. The `is` operator does not compare identity of names, it compares identity of values: ```python >>> a = 1 >>> A...
Closes #3716
This doesn't type check: ```python def is_hashable(v) -> bool: try: hash(v) return True except Exception: return False def hashables() -> st.SearchStrategy[Hashable]: # not all values of all Hashable types are...
**Describe the bug** The type narrowing of `isinstance(obj, class_or_tuple, /)` doesn't happen if one of the classes in `class_or_tuple` is not just a type, but a term. I understand that...
This is consistent with the definition in _core.c: ```c static int unset_bool(PyObject *obj) { return 0; }; static PyNumberMethods unset_as_number = { .nb_bool = unset_bool, }; PyTypeObject Unset_Type = {...
### Description ```python from typing import assert_type from msgspec import UnsetType def f(s: str | UnsetType): if s: assert_type(s, str) # this fails ``` `UNSET` is the only `UnsetType` value...