-
Scipy uses enumerated types in a number of places: for example, when selecting the `method` used by `scipy.optimize.minimize`. Historically, the pattern here has been to use strings. However, this is …
-
Add support for enumerations, i.e. types whose value can be one of a closed set of symbolic constants
-
I just came across a case where I could've used an enum rather than a bunch of constants. Not saying Spider should necessarily have them, but it's worth discussing.
timdp updated
9 years ago
-
Hi Wim,
Is it possible to call a method that will affect the value of a variable that has a custom enumerated data type? I've been trying to call a method using pyuaf to change such a variable, but i…
-
The current documentation of [enumerated types](https://docs.scipy.org/doc/numpy-dev/reference/c-api.dtype.html) makes me think there are 8 values possible for integers ((signed, unsigned) * (8, 16, 3…
-
## Problem statement
I am trying to define an enumerated integer type with well-named constants using the **x-go-const-names:** property. I can't get the generated type to include any constants fo…
-
- [ ] apu_machine_t
- [ ] arp_scheme_mode_t
- [ ] buffer_event_t
- [ ] chan_id_t
- [ ] chip_level_t
- [ ] chunk_type_t
- [ ] color_items_t
- [x] column_t
- [ ] command_t
- [x] cursor_column_t
- [ ] ED…
-
## Search Terms
conditional type inference enum enumerated narrowing branching generic parameter type guard
## Suggestion
Improve inference / narrowing for a generic type parameter and a related …
-
@camsaul My postgres db has an enumerated type. I see [this possible hack](https://stackoverflow.com/questions/14719207/how-do-you-insert-a-postgres-enum-value-using-clojure-jdbc) for making that work…
-
[This](https://github.com/NeurodataWithoutBorders/nwb-schema/pull/425) field in the NWB schema specifies a text field that can take on one of three values. The ability to formally specify these values…