Ticket #257 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

create_convert_utility_code() in PyrexTypes needs a rewrite

Reported by: scoder Owned by: dagss
Priority: critical Milestone: 0.12
Component: Code Generation Keywords:
Cc:

Description (last modified by scoder) (diff)

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

Changed 5 years ago by scoder

  • priority changed from major to critical
  • description modified (diff)

Changed 5 years ago by scoder

This is required to finish #144.

Changed 5 years ago by dagss

I might end up doing this (check ticket assignment).

Changed 5 years ago by dagss

  • owner changed from somebody to dagss

Changed 5 years ago by dagss

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.