On Dec 3, 2008, at 5:55 AM, Stan Schymanski wrote: > Dear all, > > Could anyone tell me how to controll the order in which arguments are > evaluated when they are passed to python functions? It seems that the > functions are evaluated first and then the variables are substituted, > which leads to failures in the following example:
To answer the original question, Python doesn't give control over this. Arguments are always evaluated before passed to the function. (What one can do, as Jason demonstrated, is pass in a function to be evaluated later). - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---