You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. It's unclear to me right now how this needs to be handled between AttributeNode.infer_type() and AttributeNode.analyse_as_cimported_attribute_node(). I think the problem is that the latter behaves helpfully when called (and failing) in analyse_types() but not when called (and failing) in infer_types(). 1) it shouldn't fail in this case but correctly handle submodules, and 2) if it fails, infer_type() should understand that and handle it.
I think we can just handle (1) first, (2) is less of a priority now (i.e. it's not as problematic if the compiler crash instead of giving helpful diagnostic on erroneous code, as long as it compiles correctly on well-formed code)
Describe the bug
Encountered while trying to build SageMath with the latest Cython.
Code to reproduce the behaviour:
No response
Expected behaviour
No response
OS
Linux
Python version
3.11
Cython version
Latest master
Additional context
No response
The text was updated successfully, but these errors were encountered: