Projects / PyMultimethods

PyMultimethods

PyMultimethods is a library that enables users to create multimethods (a.k.a. generic functions) in Python. In other words, you can create multiple versions of the same function/method. The one that is invoked depends on the runtime parameters. This is similar to polymorphism in the sense that the object type determines which version of the function is invoked. Multimethods go beyond the polymorphism found in conventional object oriented languages, however, because all parameters are taken into account (as opposed to only the "implied this", as in C++ or Java). PyMultimethods can also be used to "overload" a function or method.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  19 Aug 2009 09:14

    Release Notes: This is a beta-quality release. There are several bugfixes and a few new features since 0.1.

    •  21 Feb 2009 00:36

    No changes have been submitted for this release.

    Screenshot

    Project Spotlight

    STX B+ Tree

    C++ template classes implementing a B+ tree key/data container in main memory.

    Screenshot

    Project Spotlight

    FVWM-Crystal

    A powerful and pretty desktop environment for Linux and Unix-like systems.