d-t-w

authorSylvain Th?nault <sylvain.thenault@logilab.fr>
changeset65a5679e8a94
branchdefault
phasepublic
hiddenno
parent revision#c0a307bd6161 fix crash when decorators are accessed through more than one dot. Closes #87192
child revision#c6cbb867a882 InferenceError may be raised when running the next iteration, but we don't want it to propagate
files modified by this revision
test/input/func_newstyle_property.py
# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1329985271 -3600
# Thu Feb 23 09:21:11 2012 +0100
# Node ID 65a5679e8a94cd74a9f91a20b7f1897244d30496
# Parent c0a307bd6161031ceb5a447eb5bd36ee34c83564
d-t-w

diff --git a/test/input/func_newstyle_property.py b/test/input/func_newstyle_property.py
@@ -8,15 +8,15 @@
1      return self
2 
3  class OkOk(object):
4      """correct usage"""
5      method = property(getter, doc='hop')
6 -    
7 +
8  class HaNonNonNon:
9      """bad usage"""
10      method = property(getter, doc='hop')
11 -    
12 +
13      def __init__(self):
14          pass
15 
16  import logilab.common.decorators
17