diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-08-04 17:02:47 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-08-04 17:02:47 +0000 |
| commit | 0f5d8befb0f7a77c3b1ac96e43f9924f512d7fb7 (patch) | |
| tree | 00f4d7cab03cf86cc192906dacc0a8079eebae9b /CHANGES.txt | |
| parent | ff65a5a7b6177759191071be8790d02bd4c0ce8e (diff) | |
| download | pyramid-0f5d8befb0f7a77c3b1ac96e43f9924f512d7fb7.tar.gz pyramid-0f5d8befb0f7a77c3b1ac96e43f9924f512d7fb7.tar.bz2 pyramid-0f5d8befb0f7a77c3b1ac96e43f9924f512d7fb7.zip | |
- Allow ``repoze.bfg.traversal.find_interface`` API to use a class
object as the argument to compare against the ``model`` passed in.
This means you can now do ``find_interface(model, SomeClass)`` and
the first object which is found in the lineage which has
``SomeClass`` as its class (or the first object found which has
``SomeClass`` as any of its superclasses) will be returned.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 8b0a3cbcb..173204a9c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,13 @@ Next release ============ +- Allow ``repoze.bfg.traversal.find_interface`` API to use a class + object as the argument to compare against the ``model`` passed in. + This means you can now do ``find_interface(model, SomeClass)`` and + the first object which is found in the lineage which has + ``SomeClass`` as its class (or the first object found which has + ``SomeClass`` as any of its superclasses) will be returned. + - Fixed documentation bugs related to forget and remember in security API docs. |
