| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python-prioritized-methods | Distribution: Extras Packages for Enterprise Linux |
| Version: 0.2.1 | Vendor: Fedora Project <http://bugzilla.redhat.com/bugzilla> |
| Release: 1.el4 | Build date: Thu Sep 18 00:49:29 2008 |
| Group: Development/Languages | Build host: ppc2.fedora.redhat.com |
| Size: 27301 | Source RPM: python-prioritized-methods-0.2.1-1.el4.src.rpm |
| Packager: Fedora Project <http://bugzilla.redhat.com/bugzilla> | |
| Url: http://pypi.python.org/pypi/prioritized_methods | |
| Summary: An extension to PEAK-Rules to prioritize methods in order | |
This module provides four decorators: `prioritized_when`, `prioritized_around`, `prioritized_before`, and `prioritized_after`. These behave like their `peak.rules` counterparts except that they accept an optional `prio` argument which can be used to provide a comparable object (usually an integer) that will be used to disambiguate situations in which more than rule applies to the given arguments and no rule is more specific than another. That is, situations in which an `peak.rules.AmbiguousMethods` would have been raised. This is useful for libraries which want to be extensible via generic functions but want their users to easily override a method without figuring out how to write a more specific rule or when it is not feasible.
MIT
* Wed Sep 17 2008 Luke Macken <lmacken@redhat.com> - 0.2.1-1 - Initial package for Fedora
/usr/lib/python2.3/site-packages/prioritized_methods-0.2.1-py2.3.egg-info /usr/lib/python2.3/site-packages/prioritized_methods-0.2.1-py2.3.egg-info/PKG-INFO /usr/lib/python2.3/site-packages/prioritized_methods-0.2.1-py2.3.egg-info/SOURCES.txt /usr/lib/python2.3/site-packages/prioritized_methods-0.2.1-py2.3.egg-info/dependency_links.txt /usr/lib/python2.3/site-packages/prioritized_methods-0.2.1-py2.3.egg-info/requires.txt /usr/lib/python2.3/site-packages/prioritized_methods-0.2.1-py2.3.egg-info/top_level.txt /usr/lib/python2.3/site-packages/prioritized_methods-0.2.1-py2.3.egg-info/zip-safe /usr/lib/python2.3/site-packages/prioritized_methods.py /usr/lib/python2.3/site-packages/prioritized_methods.pyc
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon May 20 08:09:58 2013