≈ the.bay.news

ValueError: Invalid CFG, inconsistent stackdepth

Discussions on Python.org
ValueError: Invalid CFG, inconsistent stackdepth
ValueError: Invalid CFG, inconsistent stackdepth I’m writing my own match pattern that calls a python function that returns true and false for match and fail given def Logic(a): return a then case $Logic(1): matches as expected but case $Logic(1) | $Logic(0): gives ValueError: Invalid CFG, inconsistent stackdepth and does not run any code. The error is related to the runtime stack, generated in flowgraph.c The DOLLAR is simply used to make the grammar work. The code that do...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.