Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
72093034
Commit
72093034
authored
Aug 19, 2010
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove failing __getattr__ missing test.
May revert depending on what the final decision is for this slot.
parent
e9f4217b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
Cython/Compiler/DebugFlags.py
Cython/Compiler/DebugFlags.py
+2
-2
tests/run/special_methods_T561.pyx
tests/run/special_methods_T561.pyx
+0
-7
No files found.
Cython/Compiler/DebugFlags.py
View file @
72093034
debug_disposal_code
=
0
debug_disposal_code
=
0
debug_temp_alloc
=
0
debug_temp_alloc
=
1
debug_coercion
=
0
debug_coercion
=
0
# Write comments into the C code that show where temporary variables
# Write comments into the C code that show where temporary variables
...
@@ -7,7 +7,7 @@ debug_coercion = 0
...
@@ -7,7 +7,7 @@ debug_coercion = 0
debug_temp_code_comments
=
0
debug_temp_code_comments
=
0
# Write a call trace of the code generation phase into the C code
# 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
# Do not replace exceptions with user-friendly error messages
debug_no_exception_intercept
=
0
debug_no_exception_intercept
=
0
...
...
tests/run/special_methods_T561.pyx
View file @
72093034
...
@@ -203,13 +203,6 @@ __doc__ = u"""
...
@@ -203,13 +203,6 @@ __doc__ = u"""
>>> vs0_str = vs0.__str__
>>> vs0_str = vs0.__str__
>>> vs0_str()
>>> vs0_str()
VS __str__ 0
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 = object.__getattribute__(GetAttr(), '__getattribute__')
>>> g01('attr')
>>> g01('attr')
GetAttr getattr 'attr'
GetAttr getattr 'attr'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment