> On the same lines, I would be happy is tab completion worked in the > following scenario. > > sage: SupersingularModule(11). > > Should this be legal? And should be implemented without actually creating > the oject with *just* syntatic checking? What say folks?
No! If you want to know the type of object returned by a function, use a strongly typed language. Consider the following. def f() { if round(random): return CC(7,3) else: return lambda x: x^2 What should a tab completion of f(). look like? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---