Fedora 9 Update: python-prioritized-methods-0.2.1-1.fc9

updates at fedoraproject.org updates at fedoraproject.org
Thu Oct 9 21:31:35 UTC 2008


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2008-8166
2008-10-09 04:48:21
--------------------------------------------------------------------------------

Name        : python-prioritized-methods
Product     : Fedora 9
Version     : 0.2.1
Release     : 1.fc9
URL         : http://pypi.python.org/pypi/prioritized_methods
Summary     : An extension to PEAK-Rules to prioritize methods in order
Description :
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.

--------------------------------------------------------------------------------
ChangeLog:

--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #462523 - Review Request: python-prioritized-methods - An extension to PEAK-Rules to prioritize methods in order to to avoid AmbiguousMethods situations
        https://bugzilla.redhat.com/show_bug.cgi?id=462523
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use 
su -c 'yum update python-prioritized-methods' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
http://fedoraproject.org/keys
--------------------------------------------------------------------------------




More information about the package-announce mailing list