From: Robert Bradshaw Date: Thu, 19 Aug 2010 08:42:07 +0000 (-0700) Subject: Remove failing __getattr__ missing test. X-Git-Tag: 0.13~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=720930348aace96f444a43f86f8991b354b34bdc;p=cython.git Remove failing __getattr__ missing test. May revert depending on what the final decision is for this slot. --- diff --git a/Cython/Compiler/DebugFlags.py b/Cython/Compiler/DebugFlags.py index d6d52189..4fd16f7a 100644 --- a/Cython/Compiler/DebugFlags.py +++ b/Cython/Compiler/DebugFlags.py @@ -1,5 +1,5 @@ debug_disposal_code = 0 -debug_temp_alloc = 0 +debug_temp_alloc = 1 debug_coercion = 0 # Write comments into the C code that show where temporary variables @@ -7,7 +7,7 @@ debug_coercion = 0 debug_temp_code_comments = 0 # Write a call trace of the code generation phase into the C code -debug_trace_code_generation = 0 +debug_trace_code_generation = 1 # Do not replace exceptions with user-friendly error messages debug_no_exception_intercept = 0 diff --git a/tests/run/special_methods_T561.pyx b/tests/run/special_methods_T561.pyx index e9bc8c74..1b829b49 100644 --- a/tests/run/special_methods_T561.pyx +++ b/tests/run/special_methods_T561.pyx @@ -203,13 +203,6 @@ __doc__ = u""" >>> vs0_str = vs0.__str__ >>> vs0_str() VS __str__ 0 - >>> # If you define either a __getattr__ or a __getattribute__, you get - >>> # only a __getattribute__ method. (Without #561, defining __getattr__ - >>> # would give you both __getattr__ and __getattribute__.) - >>> g00 = object.__getattribute__(GetAttr(), '__getattr__') - Traceback (most recent call last): - ... - AttributeError: 'special_methods_T561.GetAttr' object has no attribute '__getattr__' >>> g01 = object.__getattribute__(GetAttr(), '__getattribute__') >>> g01('attr') GetAttr getattr 'attr'