Greg Wilson <gvwilson@nevex.com>: > This is an interesting alternative I hadn't thought of --- add operators, > with associated special methods and in-place assignment forms, but do not > provide a "standard" definition (i.e. leave all functionality open to the > user). Yes. This steers a Pythonic middle path between user-definable syntax (too big a can of worms) and doing nothing at all to help out constituencies like the MatLab people. Overloading otherwise undefined special method names for operators is a well-understood way to add functionality to classes. Lrt's use it. -- <a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a> Rapists just *love* unarmed women. And the politicians who disarm them.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4