Patrick R. Michaud wrote:
 >
In the case of dynamically generated code, using add_method is somewhat more challenging because we can't perform the add_method until after the PIR source has been compiled and loaded into the
namespace.

Aye. There's a dividing line that's more a matter of style than of function: In some use cases it makes sense to just eval a huge chunk of PIR code, and in other use cases it makes sense to use 'add_method'. The key point is that both should work (and will in a half-hour or so).

Allison

Reply via email to