On Sun, Sep 26, 2010 at 7:07 AM, Nick Coghlan firstname.lastname@example.org wrote:
On Sun, Sep 26, 2010 at 9:05 PM, Mark Dickinson email@example.com wrote:
A less invasive proposal would be just to introduce __sin__, etc. magic methods [...]
I'm not sure how I feel about the entailed magic method explosion, though.
Couple that with the extra function call overhead (since these wouldn't have real typeslots) and it still seems like a less than stellar idea.
This could certainly be implemented so as to be fast for floats and flexible for everything else.