summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-02-19 18:57:08 -0500
committerJohn Szakmeister <john@szakmeister.net>2014-02-20 05:04:55 -0500
commitc51ff6ffda7e8b36eaa1152090e6238479610d7d (patch)
tree8ac32f2c292e841d378b85bf87c9b50e0413e670 /CHANGELOG
parent023124f42b9e49c105a077dbb2416c64eb0e9f32 (diff)
downloadnose-c51ff6ffda7e8b36eaa1152090e6238479610d7d.tar.gz
Fix #728: attrib plugin rejects any staticmethod
The issue is that static methods get wrapped in an UnboundMethod object, and the attribute plugin is unable to grab the associated class, since UnboundMethod does not have the im_class attribute. Since the goal of UnboundMethod is to mimic an actual method, let's go ahead and implement the im_class attribute.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 33acaa7..8522637 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -67,6 +67,8 @@ In Development
- Fix #771: attr plugin is broken when parent and child share same method
name with different attributes
Patch by John Szakmeister. Test case provided by Thomas Grainger.
+- Fix #728: attrib plugin rejects any staticmethod
+ Patch by John Szakmesiter. Test case provided by Thomas Kluyver.
1.3.0