Commit 8cef4203 authored by Stefan Behnel's avatar Stefan Behnel

Prefix old trac ticket numbers with "t" to separate them from (plain) github issue numbers.

parent 0d72a239
# ticket: 518 # ticket: t518
# mode: compile # mode: compile
cdef extern from "cast_ctypedef_array_T518_helper.h": cdef extern from "cast_ctypedef_array_T518_helper.h":
......
# ticket: 4 # ticket: t4
# mode: compile # mode: compile
from a cimport b from a cimport b
......
# ticket: 248 # ticket: t248
# mode: compile # mode: compile
from ewing8 cimport (Foo, from ewing8 cimport (Foo,
......
# tag: cpp # tag: cpp
# mode: compile # mode: compile
# ticket: 767 # ticket: t767
cdef extern from "templates.h": cdef extern from "templates.h":
cdef cppclass TemplateTest1[T]: cdef cppclass TemplateTest1[T]:
......
# ticket: 355 # ticket: t355
# mode: compile # mode: compile
ctypedef public class Time [type MyTime_Type, object MyTimeObject]: ctypedef public class Time [type MyTime_Type, object MyTimeObject]:
......
# ticket: 488 # ticket: t488
# mode: compile # mode: compile
#from ... import foo #from ... import foo
......
# ticket: 276 # ticket: t276
# mode: compile # mode: compile
__doc__ = u""" __doc__ = u"""
......
# ticket: 444 # ticket: t444
# mode: error # mode: error
def test(): def test():
......
# ticket: 117 # ticket: t117
# mode: error # mode: error
ctypedef object[float] mybuffer ctypedef object[float] mybuffer
......
# ticket: 307 # ticket: t307
# mode: error # mode: error
nonexisting(3, with_kw_arg=4) nonexisting(3, with_kw_arg=4)
......
# mode: error # mode: error
# ticket: 264 # ticket: t264
# tag: property, decorator # tag: property, decorator
......
# ticket: 517 # ticket: t517
# mode: error # mode: error
ctypedef void* VoidP ctypedef void* VoidP
......
# ticket: 370 # ticket: t370
# mode: error # mode: error
cdef int raiseit(): cdef int raiseit():
......
# ticket: 158 # ticket: t158
# mode: error # mode: error
def mult_decl_test(): def mult_decl_test():
......
# ticket: 290 # ticket: t290
# mode: error # mode: error
cdef packed foo: cdef packed foo:
......
# ticket: 241 # ticket: t241
# mode: error # mode: error
cdef some_function(x, y): cdef some_function(x, y):
......
# ticket: 692 # ticket: t692
# mode: error # mode: error
def func((a, b)): def func((a, b)):
......
# ticket: 262 # ticket: t262
# mode: error # mode: error
cdef class Album cdef class Album
......
# ticket: 156 # ticket: t156
# mode: error # mode: error
cdef class B: cdef class B:
......
# ticket: 165 # ticket: t165
# mode: error # mode: error
cdef class A: cdef class A:
......
# ticket: 418 # ticket: t418
# mode: error # mode: error
import somemod.child import somemod.child
......
# ticket: 286 # ticket: t286
# mode: error # mode: error
cdef class A: cdef class A:
......
# ticket: 313 # ticket: t313
# mode: error # mode: error
a = 3 a = 3
......
# cython: remove_unreachable=False # cython: remove_unreachable=False
# ticket: 135 # ticket: t135
# mode: error # mode: error
def _runtime_True(): def _runtime_True():
......
# ticket: 304 # ticket: t304
# mode: error # mode: error
def f(): def f():
......
# cython: warn.maybe_uninitialized=True # cython: warn.maybe_uninitialized=True
# mode: error # mode: error
# tag: werror # tag: werror
# ticket: 739 # ticket: t739
def index_lhs(a): def index_lhs(a):
cdef object idx cdef object idx
......
# mode: run # mode: run
# ticket: 295 # ticket: t295
cimport cython cimport cython
......
# mode: run # mode: run
# tag: closures # tag: closures
# ticket: 658 # ticket: t658
def outer(int x, *args, **kwargs): def outer(int x, *args, **kwargs):
""" """
......
# mode: run # mode: run
# ticket: 736 # ticket: t736
# 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):
......
# ticket: 676 # ticket: t676
# tag: cpp # tag: cpp
from cython cimport typeof from cython cimport typeof
......
# ticket: 252 # ticket: t252
cdef cf(default=None): cdef cf(default=None):
return default return default
......
# ticket: 145 # ticket: t145
cimport cython cimport cython
......
# ticket: 354 # ticket: t354
cdef class Test: cdef class Test:
""" """
......
# ticket: 589 # ticket: t589
cimport cython cimport cython
......
# mode: run # mode: run
# ticket: 698 # ticket: t698
# distutils: extra_compile_args=-fwrapv # distutils: extra_compile_args=-fwrapv
cdef extern from *: cdef extern from *:
......
# mode: run # mode: run
# tag: list, set, builtins # tag: list, set, builtins
# ticket: 688 # ticket: t688
_set = set _set = set
......
#cython: language_level=2 #cython: language_level=2
# mode: run # mode: run
# ticket: 653 # ticket: t653
cimport cython cimport cython
......
# cython: language_level=3 # cython: language_level=3
# mode: run # mode: run
# ticket: 653 # ticket: t653
class DictPySubtype(dict): class DictPySubtype(dict):
......
# ticket: 608 # ticket: t608
cdef class MyInt(int): cdef class MyInt(int):
""" """
......
# ticket: 166 # ticket: t166
__doc__ = u""" __doc__ = u"""
>>> l = None >>> l = None
......
# ticket: 255 # ticket: t255
__doc__ = u"" __doc__ = u""
......
# ticket: 236 # ticket: t236
import sys import sys
......
# ticket: 467 # ticket: t467
def simple_parallel_assignment_from_call(): def simple_parallel_assignment_from_call():
""" """
......
# mode: run # mode: run
# ticket: 466 # ticket: t466
# extension to T409 # extension to T409
cimport cython cimport cython
......
# ticket: 227 # ticket: t227
from cpython.bool cimport bool from cpython.bool cimport bool
......
# mode: run # mode: run
# tag: exttype # tag: exttype
# ticket: 677 # ticket: t677
""" """
>>> str(Foo(4)) >>> str(Foo(4))
......
# mode: run # mode: run
# ticket: 264 # ticket: t264
# tag: property, decorator # tag: property, decorator
my_property = property my_property = property
......
# ticket: 183 # ticket: t183
cimport cython cimport cython
......
# ticket: 477 # ticket: t477
import cython import cython
@cython.locals(x=double) @cython.locals(x=double)
......
# ticket: 517 # ticket: t517
#cython: embedsignature=True #cython: embedsignature=True
__doc__ = u""" __doc__ = u"""
......
# ticket: 462 # ticket: t462
cimport cython cimport cython
......
# ticket: 284 # ticket: t284
def no_cdef(): def no_cdef():
""" """
......
# ticket: 408 # ticket: t408
__doc__ = """ __doc__ = """
>>> call_with_tuple(1, 1.2, 'test', [1,2,3]) >>> call_with_tuple(1, 1.2, 'test', [1,2,3])
......
# ticket: 99 # ticket: t99
cdef char c = 'c' cdef char c = 'c'
cdef char* s = 'abcdef' cdef char* s = 'abcdef'
......
# ticket: 412 # ticket: t412
def f(): def f():
""" """
......
# ticket: 582 # ticket: t582
cimport cython cimport cython
......
# ticket: 505 # ticket: t505
cimport cython cimport cython
......
# ticket: 18 # ticket: t18
__doc__ = u""" __doc__ = u"""
>>> f = PyFoo() >>> f = PyFoo()
......
# ticket: 87 # ticket: t87
__doc__ = u""" __doc__ = u"""
>>> d = Defined() >>> d = Defined()
......
# mode:run # mode:run
# tag: class, scope, del # tag: class, scope, del
# ticket: 684 # ticket: t684
class DelInClass(object): class DelInClass(object):
""" """
......
# ticket: 336 # ticket: t336
__doc__ = u""" __doc__ = u"""
>>> print('\\n'.join(calls)) >>> print('\\n'.join(calls))
......
# mode: run # mode: run
# tag: closures # tag: closures
# ticket: 596 # ticket: t596
def simple(a, b): def simple(a, b):
""" """
......
# mode: run # mode: run
# tag: closures # tag: closures
# ticket: 478 # ticket: t478
__doc__ = """ __doc__ = """
>>> Num(13).is_prime() >>> Num(13).is_prime()
......
# mode: run # mode: run
# tag: closures # tag: closures
# ticket: 554 # ticket: t554
def call_f(x): def call_f(x):
""" """
......
# mode: run # mode: run
# tag: closures # tag: closures
# ticket: 537 # ticket: t537
__doc__ = u""" __doc__ = u"""
>>> f1 = nested1() >>> f1 = nested1()
......
# mode: run # mode: run
# tag: closures # tag: closures
# ticket: gh-1797 # ticket: 1797
def func(): def func():
......
# mode: run # mode: run
# tag: closures # tag: closures
# ticket: 82 # ticket: t82
# preparse: id # preparse: id
# preparse: def_to_cdef # preparse: def_to_cdef
......
# mode: run # mode: run
# ticket: 474 # ticket: t474
cimport cython cimport cython
......
# ticket: 445 # ticket: t445
def complex_double_cast(double x, double complex z): def complex_double_cast(double x, double complex z):
""" """
......
# mode: run # mode: run
# ticket: 693 # ticket: t693
cdef double complex func(double complex x): cdef double complex func(double complex x):
print "hello" print "hello"
......
# ticket: 446 # ticket: t446
import cython import cython
......
# ticket: 305 # ticket: t305
from cpython.object cimport Py_EQ, Py_NE from cpython.object cimport Py_EQ, Py_NE
......
# ticket: 305 # ticket: t305
cimport cython cimport cython
......
# ticket: 398 # ticket: t398
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"
# ticket: 398 # ticket: t398
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"
# ticket: 398 # ticket: t398
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"
# ticket: 398 # ticket: t398
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"
# ticket: 455 # ticket: t455
def in_sequence(x, seq): def in_sequence(x, seq):
""" """
......
# 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()
......
# ticket: 411 # ticket: t411
cdef class A: cdef class A:
""" """
......
# ticket: 245 # ticket: t245
cimport crashT245_pxd cimport crashT245_pxd
......
# ticket: 333 # ticket: t333
#cython: autotestdict=True #cython: autotestdict=True
# ------------------------------------------------------------------- # -------------------------------------------------------------------
......
# mode: run # mode: run
# ticket: 593 # ticket: t593
# tag: property, decorator # tag: property, decorator
""" """
......
# mode: run # mode: run
# ticket: 593 # ticket: t593
# tag: property, decorator # tag: property, decorator
""" """
......
# mode: run # mode: run
# ticket: 674 # ticket: t674
def test_inner(a): def test_inner(a):
""" """
......
# ticket: 384 # ticket: t384
""" """
>>> test(3) >>> test(3)
......
# mode: run # mode: run
# tag: kwargs, call # tag: kwargs, call
# ticket: 717 # ticket: t717
def f(**kwargs): def f(**kwargs):
return sorted(kwargs.items()) return sorted(kwargs.items())
......
# mode: run # mode: run
# ticket: 674 # ticket: t674
cdef class Foo: cdef class Foo:
cdef str name cdef str name
......
# ticket: 488 # ticket: t488
""" """
>>> test() >>> test()
......
# ticket: 208 # ticket: t208
def go_py_empty(): def go_py_empty():
""" """
......
# ticket: 316 # ticket: t316
cimport cython cimport cython
......
# ticket: 232 # ticket: t232
cdef class MyExt: cdef class MyExt:
cdef object attr cdef object attr
......
# ticket: 235 # ticket: t235
__doc__ = u""" __doc__ = u"""
>>> class FakeSeq(object): >>> class FakeSeq(object):
......
# ticket: 409 # ticket: t409
def simple(): def simple():
""" """
......
# ticket: 258 # ticket: t258
cdef extern from "Python.h": cdef extern from "Python.h":
......
# encoding: koi8-r # encoding: koi8-r
# mode: run # mode: run
# ticket: 740 # ticket: t740
""" """
>>> wtf >>> wtf
'wtf' 'wtf'
......
# mode: run # mode: run
# ticket: 568 # ticket: t568
cimport cython cimport cython
......
# ticket: 260 # ticket: t260
def floor_div_float(double a, double b): def floor_div_float(double a, double b):
""" """
......
# ticket: 480 # ticket: t480
def f(x): def f(x):
return x return x
......
# ticket: 254 # ticket: t254
def double_target(a, b): def double_target(a, b):
""" """
......
# ticket: 601 # ticket: t601
cdef unsigned long size2(): cdef unsigned long size2():
return 3 return 3
......
# ticket: 533 # ticket: t533
def for_in(): def for_in():
""" """
......
# mode: run # mode: run
# ticket: 372 # ticket: t372
cimport cython cimport cython
......
# ticket: 228 # ticket: t228
__doc__ = u""" __doc__ = u"""
>>> def py_iterator(): >>> def py_iterator():
......
# ticket: 494 # ticket: t494
# cython: binding=True # cython: binding=True
__doc__ = """ __doc__ = """
......
# ticket: 494 # ticket: t494
__doc__ = """ __doc__ = """
>>> A.foo = foo >>> A.foo = foo
......
# ticket: 494 # ticket: t494
cimport cython cimport cython
......
# mode: run # mode: run
# ticket: 1772 # ticket: t1772
cimport cython cimport cython
from cython.view cimport array from cython.view cimport array
......
# mode: run # mode: run
# tag: genexpr, locals # tag: genexpr, locals
# ticket: 715 # ticket: t715
def genexpr_not_in_locals(): def genexpr_not_in_locals():
""" """
......
# mode: run # mode: run
# ticket: gh1731 # ticket: 1731
def cygen(): def cygen():
......
# ticket: 491 # ticket: t491
def test_genexpr(): def test_genexpr():
""" """
......
# mode: run # mode: run
# ticket: 715 # ticket: t715
# tag: genexpr, comprehension # tag: genexpr, comprehension
def t715(*items): def t715(*items):
......
# mode: run # mode: run
# ticket: 600 # ticket: t600
# tag: genexpr # tag: genexpr
# cython: language_level=3 # cython: language_level=3
......
# mode: run # mode: run
# ticket: 326 # ticket: t326
# tag: hash # tag: hash
......
# mode: run # mode: run
# tag: condexpr # tag: condexpr
# ticket: 267 # ticket: t267
cimport cython cimport cython
......
# mode: run # mode: run
# ticket: 734 # ticket: t734
def test_import_error(): def test_import_error():
""" """
......
# ticket: 544 # ticket: t544
def count(i=[0]): def count(i=[0]):
i[0] += 1 i[0] += 1
......
# ticket: 400 # ticket: t400
cimport cython cimport cython
......
# ticket: 400 # ticket: t400
cimport cython cimport cython
......
# ticket: 431 # ticket: t431
__doc__ = u""" __doc__ = u"""
>>> s == s_interned >>> s == s_interned
......
# ticket: 562 # ticket: t562
class IPOW: class IPOW:
""" """
......
# mode: run # mode: run
# tag: lambda # tag: lambda
# ticket: 195 # ticket: t195
__doc__ = u""" __doc__ = u"""
#>>> py_identity = lambda x:x #>>> py_identity = lambda x:x
......
# mode: run # mode: run
# ticket: 723 # ticket: t723
# tag: lambda # tag: lambda
def t723(a): def t723(a):
......
# mode: run # mode: run
# tag: lambda # tag: lambda
# ticket: 605 # ticket: t605
cdef int cdef_CONST = 123 cdef int cdef_CONST = 123
CONST = 456 CONST = 456
......
# mode: run # mode: run
# tag: lambda # tag: lambda
# ticket: 603 # ticket: t603
# Module scope lambda functions # Module scope lambda functions
......
# ticket: 237 # ticket: t237
#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
......
# mode: run # mode: run
# ticket: 766 # ticket: t766
# tag: letnode # tag: letnode
def test_letnode_range(int n): def test_letnode_range(int n):
......
# mode: run # mode: run
# tag: closures # tag: closures
# ticket: 598 # ticket: t598
# cython: language_level=3 # cython: language_level=3
def list_comp_in_closure(): def list_comp_in_closure():
......
# mode: run # mode: run
# ticket: 731 # ticket: t731
# tag: locals, vars, dir # tag: locals, vars, dir
cimport cython cimport cython
......
# ticket: 430 # ticket: t430
__doc__ = u""" __doc__ = u"""
>>> sorted( get_locals(1,2,3, k=5) .items()) >>> sorted( get_locals(1,2,3, k=5) .items())
......
# ticket: 429 # ticket: t429
__doc__ = u""" __doc__ = u"""
>>> sorted( get_locals(1,2,3, k=5) .items()) >>> sorted( get_locals(1,2,3, k=5) .items())
......
# ticket: 422 # ticket: t422
""" """
>>> Foo.incr.__module__ is not None >>> Foo.incr.__module__ is not None
......
# mode: run # mode: run
# ticket: 5 # ticket: t5
# 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.
......
# mode: run # mode: run
# ticket: 470 # ticket: t470
def func(**kwargs): def func(**kwargs):
......
# ticket: 172 # ticket: t172
# tag: numpy # tag: numpy
__doc__ = u""" __doc__ = u"""
......
# ticket: 155 # ticket: t155
# tag: numpy # tag: numpy
""" """
......
# ticket: 290 # ticket: t290
""" """
>>> f() >>> f()
......
# ticket: 425 # ticket: t425
cimport cython cimport cython
......
# mode: run # mode: run
# ticket: 593 # ticket: t593
# tag: property, decorator # tag: property, decorator
my_property = property my_property = property
......
# mode: run # mode: run
# tag: werror # tag: werror
# ticket: 714 # ticket: t714
def test_ptr(): def test_ptr():
""" """
......
# mode: run # mode: run
# ticket: 264 # ticket: t264
# tag: property, decorator # tag: property, decorator
cdef class Prop: cdef class Prop:
......
# mode: run # mode: run
# ticket: 264 # ticket: t264
# tag: property, decorator # tag: property, decorator
class Prop(object): class Prop(object):
......
# mode: run # mode: run
# ticket: gh1888 # 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()"
......
# mode: run # mode: run
# ticket: 671 # ticket: t671
A = 1234 A = 1234
......
# ticket: 489 # ticket: t489
""" """
>>> xxx >>> xxx
......
# ticket: 313 # ticket: t313
# Ensure casting still works to void* # Ensure casting still works to void*
""" """
......
# ticket: 650 # ticket: t650
cimport cython cimport cython
......
# ticket: 203 # ticket: t203
cdef int get_bound(int m): cdef int get_bound(int m):
print u"get_bound(%s)"%m print u"get_bound(%s)"%m
......
# mode: run # mode: run
# ticket: 742 # ticket: t742
import cython import cython
......
# ticket: 404 # ticket: t404
cdef long foo(long x): cdef long foo(long x):
print "foo(%s)" % x print "foo(%s)" % x
......
# mode: run # mode: run
# ticket: 561 # ticket: tt561
# ticket: 3 # ticket: tt3
# 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()
......
# ticket: 561 # ticket: t561
# 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
......
# ticket: 561 # ticket: t561
# 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
......
# ticket: 399 # ticket: t399
__doc__ = u""" __doc__ = u"""
>>> test(-2) >>> test(-2)
......
# ticket: 664 # ticket: t664
def assign(): def assign():
""" """
......
# ticket: 412 # ticket: t412
cdef int i = 'x' cdef int i = 'x'
cdef char c = 'x' cdef char c = 'x'
......
# ticket: 409 # ticket: t409
# 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)
......
# ticket: 654 # ticket: t654
# function call arguments # function call arguments
......
# mode: run # mode: run
# tag: exttype, tpnew # tag: exttype, tpnew
# ticket: 808 # ticket: t808
cimport cython cimport cython
......
# ticket: 454 # ticket: t454
cimport cython cimport cython
......
# ticket: 298 # ticket: t298
""" """
>>> func() >>> func()
......
# mode: run # mode: run
# ticket: 712 # ticket: t712
def single_from_string(): def single_from_string():
""" """
......
# mode: run # mode: run
# ticket: 768 # ticket: t768
from cython cimport typeof from cython cimport typeof
def type_inference_del_int(): def type_inference_del_int():
......
# mode: run # mode: run
# tag: cpp # tag: cpp
# ticket: 768 # ticket: t768
from cython cimport typeof from cython cimport typeof
cdef extern from "shapes.h" namespace "shapes": cdef extern from "shapes.h" namespace "shapes":
......
# ticket: 287 # ticket: t287
__doc__ = u""" __doc__ = u"""
>>> print( "%d" % Int() ) >>> print( "%d" % Int() )
......
# ticket: 373 # ticket: t373
import math import math
......
# mode: run # mode: run
# ticket: 303 # ticket: t303
__doc__ = """ __doc__ = """
>>> try: readonly() >>> try: readonly()
......
# ticket: 417 # ticket: t417
#cython: autotestdict=True #cython: autotestdict=True
cdef class Foo: cdef class Foo:
......
# ticket: 359 # ticket: t359
cdef unsigned char* some_c_unstring = 'test toast taste' cdef unsigned char* some_c_unstring = 'test toast taste'
......
# ticket: 184 # ticket: t184
""" """
>>> c_call() >>> c_call()
......
# ticket: 536 # ticket: t536
__doc__ = """ __doc__ = """
>>> inner_result >>> inner_result
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment