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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
8cef4203
Commit
8cef4203
authored
Apr 11, 2021
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefix old trac ticket numbers with "t" to separate them from (plain) github issue numbers.
parent
0d72a239
Changes
171
Show whitespace changes
Inline
Side-by-side
Showing
171 changed files
with
172 additions
and
172 deletions
+172
-172
tests/compile/cast_ctypedef_array_T518.pyx
tests/compile/cast_ctypedef_array_T518.pyx
+1
-1
tests/compile/cimport_package_module_T4.pyx
tests/compile/cimport_package_module_T4.pyx
+1
-1
tests/compile/cimportfrom_T248.pyx
tests/compile/cimportfrom_T248.pyx
+1
-1
tests/compile/cpp_templates.pyx
tests/compile/cpp_templates.pyx
+1
-1
tests/compile/ctypedef_public_class_T355.pyx
tests/compile/ctypedef_public_class_T355.pyx
+1
-1
tests/compile/ellipsis_T488.pyx
tests/compile/ellipsis_T488.pyx
+1
-1
tests/compile/weakref_T276.pyx
tests/compile/weakref_T276.pyx
+1
-1
tests/errors/bufaccess_noassignT444.pyx
tests/errors/bufaccess_noassignT444.pyx
+1
-1
tests/errors/buffertypedef_T117.pyx
tests/errors/buffertypedef_T117.pyx
+1
-1
tests/errors/callingnonexisting_T307.pyx
tests/errors/callingnonexisting_T307.pyx
+1
-1
tests/errors/cdef_class_properties_decorated.pyx
tests/errors/cdef_class_properties_decorated.pyx
+1
-1
tests/errors/cdef_members_T517.pyx
tests/errors/cdef_members_T517.pyx
+1
-1
tests/errors/compile_time_unraisable_T370.pyx
tests/errors/compile_time_unraisable_T370.pyx
+1
-1
tests/errors/declareafteruse_T158.pyx
tests/errors/declareafteruse_T158.pyx
+1
-1
tests/errors/e2_packedstruct_T290.pyx
tests/errors/e2_packedstruct_T290.pyx
+1
-1
tests/errors/e_cdef_keywords_T241.pyx
tests/errors/e_cdef_keywords_T241.pyx
+1
-1
tests/errors/e_tuple_args_T692.py
tests/errors/e_tuple_args_T692.py
+1
-1
tests/errors/missing_baseclass_in_predecl_T262.pyx
tests/errors/missing_baseclass_in_predecl_T262.pyx
+1
-1
tests/errors/missing_self_in_cpdef_method_T156.pyx
tests/errors/missing_self_in_cpdef_method_T156.pyx
+1
-1
tests/errors/missing_self_in_cpdef_method_T165.pyx
tests/errors/missing_self_in_cpdef_method_T165.pyx
+1
-1
tests/errors/notcimportedT418.pyx
tests/errors/notcimportedT418.pyx
+1
-1
tests/errors/pxd_cdef_class_declaration_T286.pyx
tests/errors/pxd_cdef_class_declaration_T286.pyx
+1
-1
tests/errors/pyobjcastdisallow_T313.pyx
tests/errors/pyobjcastdisallow_T313.pyx
+1
-1
tests/errors/return_outside_function_T135.pyx
tests/errors/return_outside_function_T135.pyx
+1
-1
tests/errors/typoT304.pyx
tests/errors/typoT304.pyx
+1
-1
tests/errors/uninitialized_lhs.pyx
tests/errors/uninitialized_lhs.pyx
+1
-1
tests/run/always_allow_keywords_T295.pyx
tests/run/always_allow_keywords_T295.pyx
+1
-1
tests/run/args_unpacking_in_closure_T658.pyx
tests/run/args_unpacking_in_closure_T658.pyx
+1
-1
tests/run/argument_unpacking_closure_T736.py
tests/run/argument_unpacking_closure_T736.py
+1
-1
tests/run/arithmetic_analyse_types.pyx
tests/run/arithmetic_analyse_types.pyx
+1
-1
tests/run/bad_c_struct_T252.pyx
tests/run/bad_c_struct_T252.pyx
+1
-1
tests/run/bint_binop_T145.pyx
tests/run/bint_binop_T145.pyx
+1
-1
tests/run/bint_property_T354.pyx
tests/run/bint_property_T354.pyx
+1
-1
tests/run/bound_builtin_methods_T589.pyx
tests/run/bound_builtin_methods_T589.pyx
+1
-1
tests/run/builtin_abs.pyx
tests/run/builtin_abs.pyx
+1
-1
tests/run/builtin_methods_return_values.pyx
tests/run/builtin_methods_return_values.pyx
+1
-1
tests/run/builtin_subtype_methods_T653.pyx
tests/run/builtin_subtype_methods_T653.pyx
+1
-1
tests/run/builtin_subtype_methods_cy3.pyx
tests/run/builtin_subtype_methods_cy3.pyx
+1
-1
tests/run/builtin_type_inheritance_T608.pyx
tests/run/builtin_type_inheritance_T608.pyx
+1
-1
tests/run/builtin_types_none_T166.pyx
tests/run/builtin_types_none_T166.pyx
+1
-1
tests/run/c_int_types_T255.pyx
tests/run/c_int_types_T255.pyx
+1
-1
tests/run/c_type_methods_T236.pyx
tests/run/c_type_methods_T236.pyx
+1
-1
tests/run/cascaded_list_unpacking_T467.pyx
tests/run/cascaded_list_unpacking_T467.pyx
+1
-1
tests/run/cascaded_typed_assignments_T466.pyx
tests/run/cascaded_typed_assignments_T466.pyx
+1
-1
tests/run/cdef_bool_T227.pyx
tests/run/cdef_bool_T227.pyx
+1
-1
tests/run/cdef_class_field.pyx
tests/run/cdef_class_field.pyx
+1
-1
tests/run/cdef_class_property_decorator_T264.pyx
tests/run/cdef_class_property_decorator_T264.pyx
+1
-1
tests/run/cdef_decorator_directives_T183.pyx
tests/run/cdef_decorator_directives_T183.pyx
+1
-1
tests/run/cdef_locals_decorator_T477.pyx
tests/run/cdef_locals_decorator_T477.pyx
+1
-1
tests/run/cdef_members_T517.pyx
tests/run/cdef_members_T517.pyx
+1
-1
tests/run/cdef_methods_T462.pyx
tests/run/cdef_methods_T462.pyx
+1
-1
tests/run/cdef_setitem_T284.pyx
tests/run/cdef_setitem_T284.pyx
+1
-1
tests/run/cfunc_call_tuple_args_T408.pyx
tests/run/cfunc_call_tuple_args_T408.pyx
+1
-1
tests/run/char_constants_T99.pyx
tests/run/char_constants_T99.pyx
+1
-1
tests/run/charcomparisonT412.pyx
tests/run/charcomparisonT412.pyx
+1
-1
tests/run/charptr_comparison_T582.pyx
tests/run/charptr_comparison_T582.pyx
+1
-1
tests/run/cimport_cython_T505.pyx
tests/run/cimport_cython_T505.pyx
+1
-1
tests/run/class_attribute_init_values_T18.pyx
tests/run/class_attribute_init_values_T18.pyx
+1
-1
tests/run/class_func_in_control_structures_T87.pyx
tests/run/class_func_in_control_structures_T87.pyx
+1
-1
tests/run/class_scope_del_T684.py
tests/run/class_scope_del_T684.py
+1
-1
tests/run/classdecorators_T336.pyx
tests/run/classdecorators_T336.pyx
+1
-1
tests/run/closure_class_T596.pyx
tests/run/closure_class_T596.pyx
+1
-1
tests/run/closure_decorators_T478.pyx
tests/run/closure_decorators_T478.pyx
+1
-1
tests/run/closure_inside_cdef_T554.pyx
tests/run/closure_inside_cdef_T554.pyx
+1
-1
tests/run/closure_name_mangling_T537.pyx
tests/run/closure_name_mangling_T537.pyx
+1
-1
tests/run/closure_names.pyx
tests/run/closure_names.pyx
+1
-1
tests/run/closures_T82.pyx
tests/run/closures_T82.pyx
+1
-1
tests/run/cmethod_inline_T474.pyx
tests/run/cmethod_inline_T474.pyx
+1
-1
tests/run/complex_cast_T445.pyx
tests/run/complex_cast_T445.pyx
+1
-1
tests/run/complex_coercion_sideeffects_T693.pyx
tests/run/complex_coercion_sideeffects_T693.pyx
+1
-1
tests/run/complex_int_T446.pyx
tests/run/complex_int_T446.pyx
+1
-1
tests/run/complex_numbers_T305.pyx
tests/run/complex_numbers_T305.pyx
+1
-1
tests/run/complex_numbers_T305_long_double.pyx
tests/run/complex_numbers_T305_long_double.pyx
+1
-1
tests/run/complex_numbers_c89_T398.pyx
tests/run/complex_numbers_c89_T398.pyx
+1
-1
tests/run/complex_numbers_c89_T398_long_double.pyx
tests/run/complex_numbers_c89_T398_long_double.pyx
+1
-1
tests/run/complex_numbers_c99_T398.pyx
tests/run/complex_numbers_c99_T398.pyx
+1
-1
tests/run/complex_numbers_cxx_T398.pyx
tests/run/complex_numbers_cxx_T398.pyx
+1
-1
tests/run/contains_T455.pyx
tests/run/contains_T455.pyx
+1
-1
tests/run/cpdef_method_override.pyx
tests/run/cpdef_method_override.pyx
+1
-1
tests/run/cpdef_temps_T411.pyx
tests/run/cpdef_temps_T411.pyx
+1
-1
tests/run/crashT245.pyx
tests/run/crashT245.pyx
+1
-1
tests/run/ctypedef_int_types_T333.pyx
tests/run/ctypedef_int_types_T333.pyx
+1
-1
tests/run/decorators_T593.pyx
tests/run/decorators_T593.pyx
+1
-1
tests/run/decorators_py_T593.py
tests/run/decorators_py_T593.py
+1
-1
tests/run/default_args_T674.py
tests/run/default_args_T674.py
+1
-1
tests/run/division_T384.pyx
tests/run/division_T384.pyx
+1
-1
tests/run/duplicate_keyword_in_call.py
tests/run/duplicate_keyword_in_call.py
+1
-1
tests/run/dynamic_args.pyx
tests/run/dynamic_args.pyx
+1
-1
tests/run/ellipsis_T488.pyx
tests/run/ellipsis_T488.pyx
+1
-1
tests/run/empty_for_loop_T208.pyx
tests/run/empty_for_loop_T208.pyx
+1
-1
tests/run/enumerate_T316.pyx
tests/run/enumerate_T316.pyx
+1
-1
tests/run/ext_instance_type_T232.pyx
tests/run/ext_instance_type_T232.pyx
+1
-1
tests/run/extended_unpacking_T235.pyx
tests/run/extended_unpacking_T235.pyx
+1
-1
tests/run/extended_unpacking_T409.pyx
tests/run/extended_unpacking_T409.pyx
+1
-1
tests/run/extern_builtins_T258.pyx
tests/run/extern_builtins_T258.pyx
+1
-1
tests/run/file_encoding_T740.py
tests/run/file_encoding_T740.py
+1
-1
tests/run/final_method_T586.pyx
tests/run/final_method_T586.pyx
+1
-1
tests/run/float_floor_division_T260.pyx
tests/run/float_floor_division_T260.pyx
+1
-1
tests/run/float_len_T480.pyx
tests/run/float_len_T480.pyx
+1
-1
tests/run/for_from_float_T254.pyx
tests/run/for_from_float_T254.pyx
+1
-1
tests/run/for_from_pyvar_loop_T601.pyx
tests/run/for_from_pyvar_loop_T601.pyx
+1
-1
tests/run/for_in_break_continue_T533.pyx
tests/run/for_in_break_continue_T533.pyx
+1
-1
tests/run/for_in_range_T372.pyx
tests/run/for_in_range_T372.pyx
+1
-1
tests/run/funcexc_iter_T228.pyx
tests/run/funcexc_iter_T228.pyx
+1
-1
tests/run/function_as_method_T494.pyx
tests/run/function_as_method_T494.pyx
+1
-1
tests/run/function_as_method_py_T494.py
tests/run/function_as_method_py_T494.py
+1
-1
tests/run/function_binding_T494.pyx
tests/run/function_binding_T494.pyx
+1
-1
tests/run/fused_types.pyx
tests/run/fused_types.pyx
+1
-1
tests/run/generator_expressions_and_locals.pyx
tests/run/generator_expressions_and_locals.pyx
+1
-1
tests/run/generators_GH1731.pyx
tests/run/generators_GH1731.pyx
+1
-1
tests/run/genexpr_T491.pyx
tests/run/genexpr_T491.pyx
+1
-1
tests/run/genexpr_T715.pyx
tests/run/genexpr_T715.pyx
+1
-1
tests/run/genexpr_iterable_lookup_T600.pyx
tests/run/genexpr_iterable_lookup_T600.pyx
+1
-1
tests/run/hash_T326.pyx
tests/run/hash_T326.pyx
+1
-1
tests/run/ifelseexpr_T267.pyx
tests/run/ifelseexpr_T267.pyx
+1
-1
tests/run/import_error_T734.py
tests/run/import_error_T734.py
+1
-1
tests/run/in_list_with_side_effects_T544.pyx
tests/run/in_list_with_side_effects_T544.pyx
+1
-1
tests/run/int_float_builtins_as_casts_T400.pyx
tests/run/int_float_builtins_as_casts_T400.pyx
+1
-1
tests/run/int_float_builtins_as_casts_T400_long_double.pyx
tests/run/int_float_builtins_as_casts_T400_long_double.pyx
+1
-1
tests/run/intern_T431.pyx
tests/run/intern_T431.pyx
+1
-1
tests/run/ipow_crash_T562.pyx
tests/run/ipow_crash_T562.pyx
+1
-1
tests/run/lambda_T195.pyx
tests/run/lambda_T195.pyx
+1
-1
tests/run/lambda_T723.pyx
tests/run/lambda_T723.pyx
+1
-1
tests/run/lambda_class_T605.pyx
tests/run/lambda_class_T605.pyx
+1
-1
tests/run/lambda_module_T603.pyx
tests/run/lambda_module_T603.pyx
+1
-1
tests/run/large_consts_T237.pyx
tests/run/large_consts_T237.pyx
+1
-1
tests/run/letnode_T766.pyx
tests/run/letnode_T766.pyx
+1
-1
tests/run/list_comp_in_closure_T598.pyx
tests/run/list_comp_in_closure_T598.pyx
+1
-1
tests/run/locals_T732.pyx
tests/run/locals_T732.pyx
+1
-1
tests/run/locals_expressions_T430.pyx
tests/run/locals_expressions_T430.pyx
+1
-1
tests/run/locals_rebind_T429.pyx
tests/run/locals_rebind_T429.pyx
+1
-1
tests/run/method_module_name_T422.pyx
tests/run/method_module_name_T422.pyx
+1
-1
tests/run/methodmangling_T5.py
tests/run/methodmangling_T5.py
+1
-1
tests/run/non_dict_kwargs_T470.pyx
tests/run/non_dict_kwargs_T470.pyx
+1
-1
tests/run/numpy_ValueError_T172.pyx
tests/run/numpy_ValueError_T172.pyx
+1
-1
tests/run/numpy_bufacc_T155.pyx
tests/run/numpy_bufacc_T155.pyx
+1
-1
tests/run/packedstruct_T290.pyx
tests/run/packedstruct_T290.pyx
+1
-1
tests/run/parallel_swap_assign_T425.pyx
tests/run/parallel_swap_assign_T425.pyx
+1
-1
tests/run/property_decorator_T593.py
tests/run/property_decorator_T593.py
+1
-1
tests/run/ptr_warning_T714.pyx
tests/run/ptr_warning_T714.pyx
+1
-1
tests/run/pure_cdef_class_property_decorator_T264.pxd
tests/run/pure_cdef_class_property_decorator_T264.pxd
+1
-1
tests/run/pure_cdef_class_property_decorator_T264.py
tests/run/pure_cdef_class_property_decorator_T264.py
+1
-1
tests/run/pxd_argument_names.srctree
tests/run/pxd_argument_names.srctree
+1
-1
tests/run/pyclass_scope_T671.py
tests/run/pyclass_scope_T671.py
+1
-1
tests/run/pyfunction_redefine_T489.pyx
tests/run/pyfunction_redefine_T489.pyx
+1
-1
tests/run/pyobjcast_T313.pyx
tests/run/pyobjcast_T313.pyx
+1
-1
tests/run/raise_memory_error_T650.pyx
tests/run/raise_memory_error_T650.pyx
+1
-1
tests/run/range_optimisation_T203.pyx
tests/run/range_optimisation_T203.pyx
+1
-1
tests/run/self_in_ext_type_closure.pyx
tests/run/self_in_ext_type_closure.pyx
+1
-1
tests/run/short_circuit_T404.pyx
tests/run/short_circuit_T404.pyx
+1
-1
tests/run/special_methods_T561.pyx
tests/run/special_methods_T561.pyx
+2
-2
tests/run/special_methods_T561_py2.pyx
tests/run/special_methods_T561_py2.pyx
+1
-1
tests/run/special_methods_T561_py3.pyx
tests/run/special_methods_T561_py3.pyx
+1
-1
tests/run/ssize_t_T399.pyx
tests/run/ssize_t_T399.pyx
+1
-1
tests/run/starred_target_T664.pyx
tests/run/starred_target_T664.pyx
+1
-1
tests/run/str_char_coercion_T412.pyx
tests/run/str_char_coercion_T412.pyx
+1
-1
tests/run/temp_alloc_T409.pyx
tests/run/temp_alloc_T409.pyx
+1
-1
tests/run/temp_sideeffects_T654.pyx
tests/run/temp_sideeffects_T654.pyx
+1
-1
tests/run/tp_new.pyx
tests/run/tp_new.pyx
+1
-1
tests/run/tp_new_T454.pyx
tests/run/tp_new_T454.pyx
+1
-1
tests/run/tupleunpack_T298.pyx
tests/run/tupleunpack_T298.pyx
+1
-1
tests/run/tupleunpack_T712.pyx
tests/run/tupleunpack_T712.pyx
+1
-1
tests/run/type_inference_T768.pyx
tests/run/type_inference_T768.pyx
+1
-1
tests/run/type_inference_T768_cpp.pyx
tests/run/type_inference_T768_cpp.pyx
+1
-1
tests/run/type_slots_int_long_T287.pyx
tests/run/type_slots_int_long_T287.pyx
+1
-1
tests/run/typeddefaultargT373.pyx
tests/run/typeddefaultargT373.pyx
+1
-1
tests/run/typedfieldbug_T303.pyx
tests/run/typedfieldbug_T303.pyx
+1
-1
tests/run/typetest_T417.pyx
tests/run/typetest_T417.pyx
+1
-1
tests/run/unsigned_char_ptr_bytes_conversion_T359.pyx
tests/run/unsigned_char_ptr_bytes_conversion_T359.pyx
+1
-1
tests/run/unsignedbehaviour_T184.pyx
tests/run/unsignedbehaviour_T184.pyx
+1
-1
tests/run/with_statement_module_level_T536.pyx
tests/run/with_statement_module_level_T536.pyx
+1
-1
No files found.
tests/compile/cast_ctypedef_array_T518.pyx
View file @
8cef4203
# ticket: 518
# ticket:
t
518
# mode: compile
# mode: compile
cdef
extern
from
"cast_ctypedef_array_T518_helper.h"
:
cdef
extern
from
"cast_ctypedef_array_T518_helper.h"
:
...
...
tests/compile/cimport_package_module_T4.pyx
View file @
8cef4203
# ticket: 4
# ticket:
t
4
# mode: compile
# mode: compile
from
a
cimport
b
from
a
cimport
b
...
...
tests/compile/cimportfrom_T248.pyx
View file @
8cef4203
# ticket: 248
# ticket:
t
248
# mode: compile
# mode: compile
from
ewing8
cimport
(
Foo
,
from
ewing8
cimport
(
Foo
,
...
...
tests/compile/cpp_templates.pyx
View file @
8cef4203
# tag: cpp
# tag: cpp
# mode: compile
# mode: compile
# ticket: 767
# ticket:
t
767
cdef
extern
from
"templates.h"
:
cdef
extern
from
"templates.h"
:
cdef
cppclass
TemplateTest1
[
T
]:
cdef
cppclass
TemplateTest1
[
T
]:
...
...
tests/compile/ctypedef_public_class_T355.pyx
View file @
8cef4203
# ticket: 355
# ticket:
t
355
# mode: compile
# mode: compile
ctypedef
public
class
Time
[
type
MyTime_Type
,
object
MyTimeObject
]:
ctypedef
public
class
Time
[
type
MyTime_Type
,
object
MyTimeObject
]:
...
...
tests/compile/ellipsis_T488.pyx
View file @
8cef4203
# ticket: 488
# ticket:
t
488
# mode: compile
# mode: compile
#from ... import foo
#from ... import foo
...
...
tests/compile/weakref_T276.pyx
View file @
8cef4203
# ticket: 276
# ticket:
t
276
# mode: compile
# mode: compile
__doc__
=
u"""
__doc__
=
u"""
...
...
tests/errors/bufaccess_noassignT444.pyx
View file @
8cef4203
# ticket: 444
# ticket:
t
444
# mode: error
# mode: error
def
test
():
def
test
():
...
...
tests/errors/buffertypedef_T117.pyx
View file @
8cef4203
# ticket: 117
# ticket:
t
117
# mode: error
# mode: error
ctypedef
object
[
float
]
mybuffer
ctypedef
object
[
float
]
mybuffer
...
...
tests/errors/callingnonexisting_T307.pyx
View file @
8cef4203
# ticket: 307
# ticket:
t
307
# mode: error
# mode: error
nonexisting
(
3
,
with_kw_arg
=
4
)
nonexisting
(
3
,
with_kw_arg
=
4
)
...
...
tests/errors/cdef_class_properties_decorated.pyx
View file @
8cef4203
# mode: error
# mode: error
# ticket: 264
# ticket:
t
264
# tag: property, decorator
# tag: property, decorator
...
...
tests/errors/cdef_members_T517.pyx
View file @
8cef4203
# ticket: 517
# ticket:
t
517
# mode: error
# mode: error
ctypedef
void
*
VoidP
ctypedef
void
*
VoidP
...
...
tests/errors/compile_time_unraisable_T370.pyx
View file @
8cef4203
# ticket: 370
# ticket:
t
370
# mode: error
# mode: error
cdef
int
raiseit
():
cdef
int
raiseit
():
...
...
tests/errors/declareafteruse_T158.pyx
View file @
8cef4203
# ticket: 158
# ticket:
t
158
# mode: error
# mode: error
def
mult_decl_test
():
def
mult_decl_test
():
...
...
tests/errors/e2_packedstruct_T290.pyx
View file @
8cef4203
# ticket: 290
# ticket:
t
290
# mode: error
# mode: error
cdef
packed
foo
:
cdef
packed
foo
:
...
...
tests/errors/e_cdef_keywords_T241.pyx
View file @
8cef4203
# ticket: 241
# ticket:
t
241
# mode: error
# mode: error
cdef
some_function
(
x
,
y
):
cdef
some_function
(
x
,
y
):
...
...
tests/errors/e_tuple_args_T692.py
View file @
8cef4203
# ticket: 692
# ticket:
t
692
# mode: error
# mode: error
def
func
((
a
,
b
)):
def
func
((
a
,
b
)):
...
...
tests/errors/missing_baseclass_in_predecl_T262.pyx
View file @
8cef4203
# ticket: 262
# ticket:
t
262
# mode: error
# mode: error
cdef
class
Album
cdef
class
Album
...
...
tests/errors/missing_self_in_cpdef_method_T156.pyx
View file @
8cef4203
# ticket: 156
# ticket:
t
156
# mode: error
# mode: error
cdef
class
B
:
cdef
class
B
:
...
...
tests/errors/missing_self_in_cpdef_method_T165.pyx
View file @
8cef4203
# ticket: 165
# ticket:
t
165
# mode: error
# mode: error
cdef
class
A
:
cdef
class
A
:
...
...
tests/errors/notcimportedT418.pyx
View file @
8cef4203
# ticket: 418
# ticket:
t
418
# mode: error
# mode: error
import
somemod.child
import
somemod.child
...
...
tests/errors/pxd_cdef_class_declaration_T286.pyx
View file @
8cef4203
# ticket: 286
# ticket:
t
286
# mode: error
# mode: error
cdef
class
A
:
cdef
class
A
:
...
...
tests/errors/pyobjcastdisallow_T313.pyx
View file @
8cef4203
# ticket: 313
# ticket:
t
313
# mode: error
# mode: error
a
=
3
a
=
3
...
...
tests/errors/return_outside_function_T135.pyx
View file @
8cef4203
# cython: remove_unreachable=False
# cython: remove_unreachable=False
# ticket: 135
# ticket:
t
135
# mode: error
# mode: error
def
_runtime_True
():
def
_runtime_True
():
...
...
tests/errors/typoT304.pyx
View file @
8cef4203
# ticket: 304
# ticket:
t
304
# mode: error
# mode: error
def
f
():
def
f
():
...
...
tests/errors/uninitialized_lhs.pyx
View file @
8cef4203
# cython: warn.maybe_uninitialized=True
# cython: warn.maybe_uninitialized=True
# mode: error
# mode: error
# tag: werror
# tag: werror
# ticket: 739
# ticket:
t
739
def
index_lhs
(
a
):
def
index_lhs
(
a
):
cdef
object
idx
cdef
object
idx
...
...
tests/run/always_allow_keywords_T295.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 295
# ticket:
t
295
cimport
cython
cimport
cython
...
...
tests/run/args_unpacking_in_closure_T658.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: closures
# tag: closures
# ticket: 658
# ticket:
t
658
def
outer
(
int
x
,
*
args
,
**
kwargs
):
def
outer
(
int
x
,
*
args
,
**
kwargs
):
"""
"""
...
...
tests/run/argument_unpacking_closure_T736.py
View file @
8cef4203
# mode: run
# mode: run
# ticket: 736
# ticket:
t
736
# tag: default arguments, closure
# tag: default arguments, closure
def
default_args_for_closure
(
a
=
1
,
b
=
2
):
def
default_args_for_closure
(
a
=
1
,
b
=
2
):
...
...
tests/run/arithmetic_analyse_types.pyx
View file @
8cef4203
# ticket: 676
# ticket:
t
676
# tag: cpp
# tag: cpp
from
cython
cimport
typeof
from
cython
cimport
typeof
...
...
tests/run/bad_c_struct_T252.pyx
View file @
8cef4203
# ticket: 252
# ticket:
t
252
cdef
cf
(
default
=
None
):
cdef
cf
(
default
=
None
):
return
default
return
default
...
...
tests/run/bint_binop_T145.pyx
View file @
8cef4203
# ticket: 145
# ticket:
t
145
cimport
cython
cimport
cython
...
...
tests/run/bint_property_T354.pyx
View file @
8cef4203
# ticket: 354
# ticket:
t
354
cdef
class
Test
:
cdef
class
Test
:
"""
"""
...
...
tests/run/bound_builtin_methods_T589.pyx
View file @
8cef4203
# ticket: 589
# ticket:
t
589
cimport
cython
cimport
cython
...
...
tests/run/builtin_abs.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 698
# ticket:
t
698
# distutils: extra_compile_args=-fwrapv
# distutils: extra_compile_args=-fwrapv
cdef
extern
from
*
:
cdef
extern
from
*
:
...
...
tests/run/builtin_methods_return_values.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: list, set, builtins
# tag: list, set, builtins
# ticket: 688
# ticket:
t
688
_set
=
set
_set
=
set
...
...
tests/run/builtin_subtype_methods_T653.pyx
View file @
8cef4203
#cython: language_level=2
#cython: language_level=2
# mode: run
# mode: run
# ticket: 653
# ticket:
t
653
cimport
cython
cimport
cython
...
...
tests/run/builtin_subtype_methods_cy3.pyx
View file @
8cef4203
# cython: language_level=3
# cython: language_level=3
# mode: run
# mode: run
# ticket: 653
# ticket:
t
653
class
DictPySubtype
(
dict
):
class
DictPySubtype
(
dict
):
...
...
tests/run/builtin_type_inheritance_T608.pyx
View file @
8cef4203
# ticket: 608
# ticket:
t
608
cdef
class
MyInt
(
int
):
cdef
class
MyInt
(
int
):
"""
"""
...
...
tests/run/builtin_types_none_T166.pyx
View file @
8cef4203
# ticket: 166
# ticket:
t
166
__doc__
=
u"""
__doc__
=
u"""
>>> l = None
>>> l = None
...
...
tests/run/c_int_types_T255.pyx
View file @
8cef4203
# ticket: 255
# ticket:
t
255
__doc__
=
u""
__doc__
=
u""
...
...
tests/run/c_type_methods_T236.pyx
View file @
8cef4203
# ticket: 236
# ticket:
t
236
import
sys
import
sys
...
...
tests/run/cascaded_list_unpacking_T467.pyx
View file @
8cef4203
# ticket: 467
# ticket:
t
467
def
simple_parallel_assignment_from_call
():
def
simple_parallel_assignment_from_call
():
"""
"""
...
...
tests/run/cascaded_typed_assignments_T466.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 466
# ticket:
t
466
# extension to T409
# extension to T409
cimport
cython
cimport
cython
...
...
tests/run/cdef_bool_T227.pyx
View file @
8cef4203
# ticket: 227
# ticket:
t
227
from
cpython.bool
cimport
bool
from
cpython.bool
cimport
bool
...
...
tests/run/cdef_class_field.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: exttype
# tag: exttype
# ticket: 677
# ticket:
t
677
"""
"""
>>> str(Foo(4))
>>> str(Foo(4))
...
...
tests/run/cdef_class_property_decorator_T264.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 264
# ticket:
t
264
# tag: property, decorator
# tag: property, decorator
my_property
=
property
my_property
=
property
...
...
tests/run/cdef_decorator_directives_T183.pyx
View file @
8cef4203
# ticket: 183
# ticket:
t
183
cimport
cython
cimport
cython
...
...
tests/run/cdef_locals_decorator_T477.pyx
View file @
8cef4203
# ticket: 477
# ticket:
t
477
import
cython
import
cython
@
cython
.
locals
(
x
=
double
)
@
cython
.
locals
(
x
=
double
)
...
...
tests/run/cdef_members_T517.pyx
View file @
8cef4203
# ticket: 517
# ticket:
t
517
#cython: embedsignature=True
#cython: embedsignature=True
__doc__
=
u"""
__doc__
=
u"""
...
...
tests/run/cdef_methods_T462.pyx
View file @
8cef4203
# ticket: 462
# ticket:
t
462
cimport
cython
cimport
cython
...
...
tests/run/cdef_setitem_T284.pyx
View file @
8cef4203
# ticket: 284
# ticket:
t
284
def
no_cdef
():
def
no_cdef
():
"""
"""
...
...
tests/run/cfunc_call_tuple_args_T408.pyx
View file @
8cef4203
# ticket: 408
# ticket:
t
408
__doc__
=
"""
__doc__
=
"""
>>> call_with_tuple(1, 1.2, 'test', [1,2,3])
>>> call_with_tuple(1, 1.2, 'test', [1,2,3])
...
...
tests/run/char_constants_T99.pyx
View file @
8cef4203
# ticket: 99
# ticket:
t
99
cdef
char
c
=
'c'
cdef
char
c
=
'c'
cdef
char
*
s
=
'abcdef'
cdef
char
*
s
=
'abcdef'
...
...
tests/run/charcomparisonT412.pyx
View file @
8cef4203
# ticket: 412
# ticket:
t
412
def
f
():
def
f
():
"""
"""
...
...
tests/run/charptr_comparison_T582.pyx
View file @
8cef4203
# ticket: 582
# ticket:
t
582
cimport
cython
cimport
cython
...
...
tests/run/cimport_cython_T505.pyx
View file @
8cef4203
# ticket: 505
# ticket:
t
505
cimport
cython
cimport
cython
...
...
tests/run/class_attribute_init_values_T18.pyx
View file @
8cef4203
# ticket: 18
# ticket:
t
18
__doc__
=
u"""
__doc__
=
u"""
>>> f = PyFoo()
>>> f = PyFoo()
...
...
tests/run/class_func_in_control_structures_T87.pyx
View file @
8cef4203
# ticket: 87
# ticket:
t
87
__doc__
=
u"""
__doc__
=
u"""
>>> d = Defined()
>>> d = Defined()
...
...
tests/run/class_scope_del_T684.py
View file @
8cef4203
# mode:run
# mode:run
# tag: class, scope, del
# tag: class, scope, del
# ticket: 684
# ticket:
t
684
class
DelInClass
(
object
):
class
DelInClass
(
object
):
"""
"""
...
...
tests/run/classdecorators_T336.pyx
View file @
8cef4203
# ticket: 336
# ticket:
t
336
__doc__
=
u"""
__doc__
=
u"""
>>> print('
\
\
n'.join(calls))
>>> print('
\
\
n'.join(calls))
...
...
tests/run/closure_class_T596.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: closures
# tag: closures
# ticket: 596
# ticket:
t
596
def
simple
(
a
,
b
):
def
simple
(
a
,
b
):
"""
"""
...
...
tests/run/closure_decorators_T478.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: closures
# tag: closures
# ticket: 478
# ticket:
t
478
__doc__
=
"""
__doc__
=
"""
>>> Num(13).is_prime()
>>> Num(13).is_prime()
...
...
tests/run/closure_inside_cdef_T554.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: closures
# tag: closures
# ticket: 554
# ticket:
t
554
def
call_f
(
x
):
def
call_f
(
x
):
"""
"""
...
...
tests/run/closure_name_mangling_T537.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: closures
# tag: closures
# ticket: 537
# ticket:
t
537
__doc__
=
u"""
__doc__
=
u"""
>>> f1 = nested1()
>>> f1 = nested1()
...
...
tests/run/closure_names.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: closures
# tag: closures
# ticket:
gh-
1797
# ticket: 1797
def
func
():
def
func
():
...
...
tests/run/closures_T82.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: closures
# tag: closures
# ticket: 82
# ticket:
t
82
# preparse: id
# preparse: id
# preparse: def_to_cdef
# preparse: def_to_cdef
...
...
tests/run/cmethod_inline_T474.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 474
# ticket:
t
474
cimport
cython
cimport
cython
...
...
tests/run/complex_cast_T445.pyx
View file @
8cef4203
# ticket: 445
# ticket:
t
445
def
complex_double_cast
(
double
x
,
double
complex
z
):
def
complex_double_cast
(
double
x
,
double
complex
z
):
"""
"""
...
...
tests/run/complex_coercion_sideeffects_T693.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 693
# ticket:
t
693
cdef
double
complex
func
(
double
complex
x
):
cdef
double
complex
func
(
double
complex
x
):
print
"hello"
print
"hello"
...
...
tests/run/complex_int_T446.pyx
View file @
8cef4203
# ticket: 446
# ticket:
t
446
import
cython
import
cython
...
...
tests/run/complex_numbers_T305.pyx
View file @
8cef4203
# ticket: 305
# ticket:
t
305
from
cpython.object
cimport
Py_EQ
,
Py_NE
from
cpython.object
cimport
Py_EQ
,
Py_NE
...
...
tests/run/complex_numbers_T305_long_double.pyx
View file @
8cef4203
# ticket: 305
# ticket:
t
305
cimport
cython
cimport
cython
...
...
tests/run/complex_numbers_c89_T398.pyx
View file @
8cef4203
# ticket: 398
# ticket:
t
398
cdef
extern
from
"complex_numbers_c89_T398.h"
:
pass
cdef
extern
from
"complex_numbers_c89_T398.h"
:
pass
include
"complex_numbers_T305.pyx"
include
"complex_numbers_T305.pyx"
tests/run/complex_numbers_c89_T398_long_double.pyx
View file @
8cef4203
# ticket: 398
# ticket:
t
398
cdef
extern
from
"complex_numbers_c89_T398.h"
:
pass
cdef
extern
from
"complex_numbers_c89_T398.h"
:
pass
include
"complex_numbers_T305_long_double.pyx"
include
"complex_numbers_T305_long_double.pyx"
tests/run/complex_numbers_c99_T398.pyx
View file @
8cef4203
# ticket: 398
# ticket:
t
398
cdef
extern
from
"complex_numbers_c99_T398.h"
:
pass
cdef
extern
from
"complex_numbers_c99_T398.h"
:
pass
include
"complex_numbers_T305.pyx"
include
"complex_numbers_T305.pyx"
tests/run/complex_numbers_cxx_T398.pyx
View file @
8cef4203
# ticket: 398
# ticket:
t
398
cdef
extern
from
"complex_numbers_cxx_T398.h"
:
pass
cdef
extern
from
"complex_numbers_cxx_T398.h"
:
pass
include
"complex_numbers_T305.pyx"
include
"complex_numbers_T305.pyx"
tests/run/contains_T455.pyx
View file @
8cef4203
# ticket: 455
# ticket:
t
455
def
in_sequence
(
x
,
seq
):
def
in_sequence
(
x
,
seq
):
"""
"""
...
...
tests/run/cpdef_method_override.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: cpdef
# tag: cpdef
# ticket:
gh-
1771
# ticket: 1771
def
_call_method
(
cls
):
def
_call_method
(
cls
):
obj
=
cls
()
obj
=
cls
()
...
...
tests/run/cpdef_temps_T411.pyx
View file @
8cef4203
# ticket: 411
# ticket:
t
411
cdef
class
A
:
cdef
class
A
:
"""
"""
...
...
tests/run/crashT245.pyx
View file @
8cef4203
# ticket: 245
# ticket:
t
245
cimport
crashT245_pxd
cimport
crashT245_pxd
...
...
tests/run/ctypedef_int_types_T333.pyx
View file @
8cef4203
# ticket: 333
# ticket:
t
333
#cython: autotestdict=True
#cython: autotestdict=True
# -------------------------------------------------------------------
# -------------------------------------------------------------------
...
...
tests/run/decorators_T593.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 593
# ticket:
t
593
# tag: property, decorator
# tag: property, decorator
"""
"""
...
...
tests/run/decorators_py_T593.py
View file @
8cef4203
# mode: run
# mode: run
# ticket: 593
# ticket:
t
593
# tag: property, decorator
# tag: property, decorator
"""
"""
...
...
tests/run/default_args_T674.py
View file @
8cef4203
# mode: run
# mode: run
# ticket: 674
# ticket:
t
674
def
test_inner
(
a
):
def
test_inner
(
a
):
"""
"""
...
...
tests/run/division_T384.pyx
View file @
8cef4203
# ticket: 384
# ticket:
t
384
"""
"""
>>> test(3)
>>> test(3)
...
...
tests/run/duplicate_keyword_in_call.py
View file @
8cef4203
# mode: run
# mode: run
# tag: kwargs, call
# tag: kwargs, call
# ticket: 717
# ticket:
t
717
def
f
(
**
kwargs
):
def
f
(
**
kwargs
):
return
sorted
(
kwargs
.
items
())
return
sorted
(
kwargs
.
items
())
...
...
tests/run/dynamic_args.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 674
# ticket:
t
674
cdef
class
Foo
:
cdef
class
Foo
:
cdef
str
name
cdef
str
name
...
...
tests/run/ellipsis_T488.pyx
View file @
8cef4203
# ticket: 488
# ticket:
t
488
"""
"""
>>> test()
>>> test()
...
...
tests/run/empty_for_loop_T208.pyx
View file @
8cef4203
# ticket: 208
# ticket:
t
208
def
go_py_empty
():
def
go_py_empty
():
"""
"""
...
...
tests/run/enumerate_T316.pyx
View file @
8cef4203
# ticket: 316
# ticket:
t
316
cimport
cython
cimport
cython
...
...
tests/run/ext_instance_type_T232.pyx
View file @
8cef4203
# ticket: 232
# ticket:
t
232
cdef
class
MyExt
:
cdef
class
MyExt
:
cdef
object
attr
cdef
object
attr
...
...
tests/run/extended_unpacking_T235.pyx
View file @
8cef4203
# ticket: 235
# ticket:
t
235
__doc__
=
u"""
__doc__
=
u"""
>>> class FakeSeq(object):
>>> class FakeSeq(object):
...
...
tests/run/extended_unpacking_T409.pyx
View file @
8cef4203
# ticket: 409
# ticket:
t
409
def
simple
():
def
simple
():
"""
"""
...
...
tests/run/extern_builtins_T258.pyx
View file @
8cef4203
# ticket: 258
# ticket:
t
258
cdef
extern
from
"Python.h"
:
cdef
extern
from
"Python.h"
:
...
...
tests/run/file_encoding_T740.py
View file @
8cef4203
# encoding: koi8-r
# encoding: koi8-r
# mode: run
# mode: run
# ticket: 740
# ticket:
t
740
"""
"""
>>> wtf
>>> wtf
'wtf'
'wtf'
...
...
tests/run/final_method_T586.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 568
# ticket:
t
568
cimport
cython
cimport
cython
...
...
tests/run/float_floor_division_T260.pyx
View file @
8cef4203
# ticket: 260
# ticket:
t
260
def
floor_div_float
(
double
a
,
double
b
):
def
floor_div_float
(
double
a
,
double
b
):
"""
"""
...
...
tests/run/float_len_T480.pyx
View file @
8cef4203
# ticket: 480
# ticket:
t
480
def
f
(
x
):
def
f
(
x
):
return
x
return
x
...
...
tests/run/for_from_float_T254.pyx
View file @
8cef4203
# ticket: 254
# ticket:
t
254
def
double_target
(
a
,
b
):
def
double_target
(
a
,
b
):
"""
"""
...
...
tests/run/for_from_pyvar_loop_T601.pyx
View file @
8cef4203
# ticket: 601
# ticket:
t
601
cdef
unsigned
long
size2
():
cdef
unsigned
long
size2
():
return
3
return
3
...
...
tests/run/for_in_break_continue_T533.pyx
View file @
8cef4203
# ticket: 533
# ticket:
t
533
def
for_in
():
def
for_in
():
"""
"""
...
...
tests/run/for_in_range_T372.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 372
# ticket:
t
372
cimport
cython
cimport
cython
...
...
tests/run/funcexc_iter_T228.pyx
View file @
8cef4203
# ticket: 228
# ticket:
t
228
__doc__
=
u"""
__doc__
=
u"""
>>> def py_iterator():
>>> def py_iterator():
...
...
tests/run/function_as_method_T494.pyx
View file @
8cef4203
# ticket: 494
# ticket:
t
494
# cython: binding=True
# cython: binding=True
__doc__
=
"""
__doc__
=
"""
...
...
tests/run/function_as_method_py_T494.py
View file @
8cef4203
# ticket: 494
# ticket:
t
494
__doc__
=
"""
__doc__
=
"""
>>> A.foo = foo
>>> A.foo = foo
...
...
tests/run/function_binding_T494.pyx
View file @
8cef4203
# ticket: 494
# ticket:
t
494
cimport
cython
cimport
cython
...
...
tests/run/fused_types.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 1772
# ticket:
t
1772
cimport
cython
cimport
cython
from
cython.view
cimport
array
from
cython.view
cimport
array
...
...
tests/run/generator_expressions_and_locals.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: genexpr, locals
# tag: genexpr, locals
# ticket: 715
# ticket:
t
715
def
genexpr_not_in_locals
():
def
genexpr_not_in_locals
():
"""
"""
...
...
tests/run/generators_GH1731.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket:
gh
1731
# ticket: 1731
def
cygen
():
def
cygen
():
...
...
tests/run/genexpr_T491.pyx
View file @
8cef4203
# ticket: 491
# ticket:
t
491
def
test_genexpr
():
def
test_genexpr
():
"""
"""
...
...
tests/run/genexpr_T715.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 715
# ticket:
t
715
# tag: genexpr, comprehension
# tag: genexpr, comprehension
def
t715
(
*
items
):
def
t715
(
*
items
):
...
...
tests/run/genexpr_iterable_lookup_T600.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 600
# ticket:
t
600
# tag: genexpr
# tag: genexpr
# cython: language_level=3
# cython: language_level=3
...
...
tests/run/hash_T326.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 326
# ticket:
t
326
# tag: hash
# tag: hash
...
...
tests/run/ifelseexpr_T267.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: condexpr
# tag: condexpr
# ticket: 267
# ticket:
t
267
cimport
cython
cimport
cython
...
...
tests/run/import_error_T734.py
View file @
8cef4203
# mode: run
# mode: run
# ticket: 734
# ticket:
t
734
def
test_import_error
():
def
test_import_error
():
"""
"""
...
...
tests/run/in_list_with_side_effects_T544.pyx
View file @
8cef4203
# ticket: 544
# ticket:
t
544
def
count
(
i
=
[
0
]):
def
count
(
i
=
[
0
]):
i
[
0
]
+=
1
i
[
0
]
+=
1
...
...
tests/run/int_float_builtins_as_casts_T400.pyx
View file @
8cef4203
# ticket: 400
# ticket:
t
400
cimport
cython
cimport
cython
...
...
tests/run/int_float_builtins_as_casts_T400_long_double.pyx
View file @
8cef4203
# ticket: 400
# ticket:
t
400
cimport
cython
cimport
cython
...
...
tests/run/intern_T431.pyx
View file @
8cef4203
# ticket: 431
# ticket:
t
431
__doc__
=
u"""
__doc__
=
u"""
>>> s == s_interned
>>> s == s_interned
...
...
tests/run/ipow_crash_T562.pyx
View file @
8cef4203
# ticket: 562
# ticket:
t
562
class
IPOW
:
class
IPOW
:
"""
"""
...
...
tests/run/lambda_T195.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: lambda
# tag: lambda
# ticket: 195
# ticket:
t
195
__doc__
=
u"""
__doc__
=
u"""
#>>> py_identity = lambda x:x
#>>> py_identity = lambda x:x
...
...
tests/run/lambda_T723.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 723
# ticket:
t
723
# tag: lambda
# tag: lambda
def
t723
(
a
):
def
t723
(
a
):
...
...
tests/run/lambda_class_T605.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: lambda
# tag: lambda
# ticket: 605
# ticket:
t
605
cdef
int
cdef
_CONST
=
123
cdef
int
cdef
_CONST
=
123
CONST
=
456
CONST
=
456
...
...
tests/run/lambda_module_T603.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: lambda
# tag: lambda
# ticket: 603
# ticket:
t
603
# Module scope lambda functions
# Module scope lambda functions
...
...
tests/run/large_consts_T237.pyx
View file @
8cef4203
# ticket: 237
# ticket:
t
237
#def add_large_c():
#def add_large_c():
# cdef unsigned long long val = 2**30 + 2**30
# cdef unsigned long long val = 2**30 + 2**30
# return val
# return val
...
...
tests/run/letnode_T766.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 766
# ticket:
t
766
# tag: letnode
# tag: letnode
def
test_letnode_range
(
int
n
):
def
test_letnode_range
(
int
n
):
...
...
tests/run/list_comp_in_closure_T598.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: closures
# tag: closures
# ticket: 598
# ticket:
t
598
# cython: language_level=3
# cython: language_level=3
def
list_comp_in_closure
():
def
list_comp_in_closure
():
...
...
tests/run/locals_T732.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 731
# ticket:
t
731
# tag: locals, vars, dir
# tag: locals, vars, dir
cimport
cython
cimport
cython
...
...
tests/run/locals_expressions_T430.pyx
View file @
8cef4203
# ticket: 430
# ticket:
t
430
__doc__
=
u"""
__doc__
=
u"""
>>> sorted( get_locals(1,2,3, k=5) .items())
>>> sorted( get_locals(1,2,3, k=5) .items())
...
...
tests/run/locals_rebind_T429.pyx
View file @
8cef4203
# ticket: 429
# ticket:
t
429
__doc__
=
u"""
__doc__
=
u"""
>>> sorted( get_locals(1,2,3, k=5) .items())
>>> sorted( get_locals(1,2,3, k=5) .items())
...
...
tests/run/method_module_name_T422.pyx
View file @
8cef4203
# ticket: 422
# ticket:
t
422
"""
"""
>>> Foo.incr.__module__ is not None
>>> Foo.incr.__module__ is not None
...
...
tests/run/methodmangling_T5.py
View file @
8cef4203
# mode: run
# mode: run
# ticket: 5
# ticket:
t
5
# A small number of extra tests checking:
# A small number of extra tests checking:
# 1) this works correctly with pure-Python-mode decorators - methodmangling_pure.py.
# 1) this works correctly with pure-Python-mode decorators - methodmangling_pure.py.
...
...
tests/run/non_dict_kwargs_T470.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 470
# ticket:
t
470
def
func
(
**
kwargs
):
def
func
(
**
kwargs
):
...
...
tests/run/numpy_ValueError_T172.pyx
View file @
8cef4203
# ticket: 172
# ticket:
t
172
# tag: numpy
# tag: numpy
__doc__
=
u"""
__doc__
=
u"""
...
...
tests/run/numpy_bufacc_T155.pyx
View file @
8cef4203
# ticket: 155
# ticket:
t
155
# tag: numpy
# tag: numpy
"""
"""
...
...
tests/run/packedstruct_T290.pyx
View file @
8cef4203
# ticket: 290
# ticket:
t
290
"""
"""
>>> f()
>>> f()
...
...
tests/run/parallel_swap_assign_T425.pyx
View file @
8cef4203
# ticket: 425
# ticket:
t
425
cimport
cython
cimport
cython
...
...
tests/run/property_decorator_T593.py
View file @
8cef4203
# mode: run
# mode: run
# ticket: 593
# ticket:
t
593
# tag: property, decorator
# tag: property, decorator
my_property
=
property
my_property
=
property
...
...
tests/run/ptr_warning_T714.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: werror
# tag: werror
# ticket: 714
# ticket:
t
714
def
test_ptr
():
def
test_ptr
():
"""
"""
...
...
tests/run/pure_cdef_class_property_decorator_T264.pxd
View file @
8cef4203
# mode: run
# mode: run
# ticket: 264
# ticket:
t
264
# tag: property, decorator
# tag: property, decorator
cdef
class
Prop
:
cdef
class
Prop
:
...
...
tests/run/pure_cdef_class_property_decorator_T264.py
View file @
8cef4203
# mode: run
# mode: run
# ticket: 264
# ticket:
t
264
# tag: property, decorator
# tag: property, decorator
class
Prop
(
object
):
class
Prop
(
object
):
...
...
tests/run/pxd_argument_names.srctree
View file @
8cef4203
# mode: run
# mode: run
# ticket:
gh
1888
# ticket: 1888
PYTHON setup.py build_ext --inplace
PYTHON setup.py build_ext --inplace
PYTHON -c "import a; a.test()"
PYTHON -c "import a; a.test()"
...
...
tests/run/pyclass_scope_T671.py
View file @
8cef4203
# mode: run
# mode: run
# ticket: 671
# ticket:
t
671
A
=
1234
A
=
1234
...
...
tests/run/pyfunction_redefine_T489.pyx
View file @
8cef4203
# ticket: 489
# ticket:
t
489
"""
"""
>>> xxx
>>> xxx
...
...
tests/run/pyobjcast_T313.pyx
View file @
8cef4203
# ticket: 313
# ticket:
t
313
# Ensure casting still works to void*
# Ensure casting still works to void*
"""
"""
...
...
tests/run/raise_memory_error_T650.pyx
View file @
8cef4203
# ticket: 650
# ticket:
t
650
cimport
cython
cimport
cython
...
...
tests/run/range_optimisation_T203.pyx
View file @
8cef4203
# ticket: 203
# ticket:
t
203
cdef
int
get_bound
(
int
m
):
cdef
int
get_bound
(
int
m
):
print
u"get_bound(%s)"
%
m
print
u"get_bound(%s)"
%
m
...
...
tests/run/self_in_ext_type_closure.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 742
# ticket:
t
742
import
cython
import
cython
...
...
tests/run/short_circuit_T404.pyx
View file @
8cef4203
# ticket: 404
# ticket:
t
404
cdef
long
foo
(
long
x
):
cdef
long
foo
(
long
x
):
print
"foo(%s)"
%
x
print
"foo(%s)"
%
x
...
...
tests/run/special_methods_T561.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 561
# ticket:
tt
561
# ticket: 3
# ticket:
tt
3
# The patch in #561 changes code generation for most special methods
# The patch in #561 changes code generation for most special methods
# to remove the Cython-generated wrapper and let PyType_Ready()
# to remove the Cython-generated wrapper and let PyType_Ready()
...
...
tests/run/special_methods_T561_py2.pyx
View file @
8cef4203
# ticket: 561
# ticket:
t
561
# tag: py2
# tag: py2
# This file tests the behavior of special methods under Python 2
# This file tests the behavior of special methods under Python 2
# after #561. (Only methods whose behavior differs between Python 2 and 3
# after #561. (Only methods whose behavior differs between Python 2 and 3
...
...
tests/run/special_methods_T561_py3.pyx
View file @
8cef4203
# ticket: 561
# ticket:
t
561
# tag: py3
# tag: py3
# This file tests the behavior of special methods under Python 3
# This file tests the behavior of special methods under Python 3
# after #561. (Only methods whose behavior differs between Python 2 and 3
# after #561. (Only methods whose behavior differs between Python 2 and 3
...
...
tests/run/ssize_t_T399.pyx
View file @
8cef4203
# ticket: 399
# ticket:
t
399
__doc__
=
u"""
__doc__
=
u"""
>>> test(-2)
>>> test(-2)
...
...
tests/run/starred_target_T664.pyx
View file @
8cef4203
# ticket: 664
# ticket:
t
664
def
assign
():
def
assign
():
"""
"""
...
...
tests/run/str_char_coercion_T412.pyx
View file @
8cef4203
# ticket: 412
# ticket:
t
412
cdef
int
i
=
'x'
cdef
int
i
=
'x'
cdef
char
c
=
'x'
cdef
char
c
=
'x'
...
...
tests/run/temp_alloc_T409.pyx
View file @
8cef4203
# ticket: 409
# ticket:
t
409
# Extracted from sage/plot/plot3d/index_face_set.pyx:502
# Extracted from sage/plot/plot3d/index_face_set.pyx:502
# Turns out to be a bug in implementation of PEP 3132 (Extended Iterable Unpacking)
# Turns out to be a bug in implementation of PEP 3132 (Extended Iterable Unpacking)
...
...
tests/run/temp_sideeffects_T654.pyx
View file @
8cef4203
# ticket: 654
# ticket:
t
654
# function call arguments
# function call arguments
...
...
tests/run/tp_new.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: exttype, tpnew
# tag: exttype, tpnew
# ticket: 808
# ticket:
t
808
cimport
cython
cimport
cython
...
...
tests/run/tp_new_T454.pyx
View file @
8cef4203
# ticket: 454
# ticket:
t
454
cimport
cython
cimport
cython
...
...
tests/run/tupleunpack_T298.pyx
View file @
8cef4203
# ticket: 298
# ticket:
t
298
"""
"""
>>> func()
>>> func()
...
...
tests/run/tupleunpack_T712.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 712
# ticket:
t
712
def
single_from_string
():
def
single_from_string
():
"""
"""
...
...
tests/run/type_inference_T768.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 768
# ticket:
t
768
from
cython
cimport
typeof
from
cython
cimport
typeof
def
type_inference_del_int
():
def
type_inference_del_int
():
...
...
tests/run/type_inference_T768_cpp.pyx
View file @
8cef4203
# mode: run
# mode: run
# tag: cpp
# tag: cpp
# ticket: 768
# ticket:
t
768
from
cython
cimport
typeof
from
cython
cimport
typeof
cdef
extern
from
"shapes.h"
namespace
"shapes"
:
cdef
extern
from
"shapes.h"
namespace
"shapes"
:
...
...
tests/run/type_slots_int_long_T287.pyx
View file @
8cef4203
# ticket: 287
# ticket:
t
287
__doc__
=
u"""
__doc__
=
u"""
>>> print( "%d" % Int() )
>>> print( "%d" % Int() )
...
...
tests/run/typeddefaultargT373.pyx
View file @
8cef4203
# ticket: 373
# ticket:
t
373
import
math
import
math
...
...
tests/run/typedfieldbug_T303.pyx
View file @
8cef4203
# mode: run
# mode: run
# ticket: 303
# ticket:
t
303
__doc__
=
"""
__doc__
=
"""
>>> try: readonly()
>>> try: readonly()
...
...
tests/run/typetest_T417.pyx
View file @
8cef4203
# ticket: 417
# ticket:
t
417
#cython: autotestdict=True
#cython: autotestdict=True
cdef
class
Foo
:
cdef
class
Foo
:
...
...
tests/run/unsigned_char_ptr_bytes_conversion_T359.pyx
View file @
8cef4203
# ticket: 359
# ticket:
t
359
cdef
unsigned
char
*
some_c_unstring
=
'test toast taste'
cdef
unsigned
char
*
some_c_unstring
=
'test toast taste'
...
...
tests/run/unsignedbehaviour_T184.pyx
View file @
8cef4203
# ticket: 184
# ticket:
t
184
"""
"""
>>> c_call()
>>> c_call()
...
...
tests/run/with_statement_module_level_T536.pyx
View file @
8cef4203
# ticket: 536
# ticket:
t
536
__doc__
=
"""
__doc__
=
"""
>>> inner_result
>>> inner_result
...
...
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