create_convert_utility_code() in PyrexTypes needs a rewrite
|Reported by:||scoder||Owned by:||dagss|
Description (last modified by scoder)
Currently, the create_convert_utility_code() methods in PyrexTypes are used to generate utility functions on the fly. However, this is done at type analysis time, not at code generation time. As things like temp allocation, utility code injection and constant caching have now moved to code generation time, the code generation at analysis time can no longer depend on anything code related being place. That makes it crash in the current cython-unstable branch.
The methods should be split into one that checks for prerequisites (called at type analysis time) and one that generates the code, which can then be called during normal code generation.
Change History (5)
comment:1 Changed 7 years ago by scoder
- Description modified (diff)
- Priority changed from major to critical