parametrized_dag_factory behaviour #63
Replies: 3 comments 2 replies
-
|
Great observations and I agree on both:
This is a first draft of the function, so maybe it's an actual bug that we can resolve. Unfortunately, there's a chance it may be a bit more involved than that. Maybe it's a bug else where (ancestors? partial?). Or maybe, and that would suck, it's one of those "can't satisfy all expectations" kind of problem. Example; the non-obvious C3 linearization solution to getting a method-resolution-order (MRO) that would preserve the order of classes as defined by the programmer, while also preserving the monotonicity of the inheritance graph. Either way, I'm moving this to a discussion so we can figure out what behavior we actually want (we now have two examples of what we do not want. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
This issue is linked to two others:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Non intuitive behavior
The behaviour of parametrized_dag_factory
is not too intuitive: one gets the following
Inconsistent behavior
Also, when a function in the dag has no params, the parametrized_dag is not consistent with the above:
Beta Was this translation helpful? Give feedback.
All reactions