~ubuntu-branches/ubuntu/precise/cython/precise

« back to all changes in this revision

Viewing changes to tests/errors/nogil.pyx

  • Committer: Bazaar Package Importer
  • Author(s): Python Applications Packaging Team, Ryan Kavanagh, Jakub Wilk, Piotr Ożarowski
  • Date: 2009-08-10 23:18:51 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810231851-i6f7mr1ij1h2czkp
Tags: 0.11.2-1
[ Ryan Kavanagh ]
* New upstream release (Closes: #525620, #536213)

[ Jakub Wilk ]
* debian/rules: remove generated files.

[ Piotr Ożarowski ]
* Standards-Version bumped to 3.8.2 (no change needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
        i = 42
26
26
        obj = None
27
27
        17L
28
 
        7j
 
28
        <object>7j
29
29
        help
30
30
        `"Hello"`
31
31
        import fred
78
78
 
79
79
 
80
80
_ERRORS = u"""
81
 
 1: 5: Function with Python return type cannot be declared nogil
82
 
 6: 6: Assignment of Python object not allowed without gil
83
 
 4: 5: Function declared nogil has Python locals or temporaries
84
 
 8: 5: Function declared nogil has Python locals or temporaries
 
81
1: 5: Function with Python return type cannot be declared nogil
 
82
6: 6: Assignment of Python object not allowed without gil
 
83
4: 5: Function declared nogil has Python locals or temporaries
85
84
11: 5: Function with Python return type cannot be declared nogil
86
85
15: 5: Calling gil-requiring function without gil
87
86
24: 9: Calling gil-requiring function without gil
88
87
26:12: Assignment of Python object not allowed without gil
89
 
28: 8: Constructing complex number not allowed without gil
 
88
28:16: Constructing complex number not allowed without gil
90
89
29:12: Accessing Python global or builtin not allowed without gil
91
90
30: 8: Backquote expression not allowed without gil
92
91
31:15: Python import not allowed without gil
105
104
39: 9: Constructing Python tuple not allowed without gil
106
105
40: 8: Constructing Python list not allowed without gil
107
106
41: 8: Constructing Python dict not allowed without gil
108
 
42:12: Creating temporary Python reference not allowed without gil
109
107
42:12: Truth-testing Python object not allowed without gil
110
 
42:17: Creating temporary Python reference not allowed without gil
111
108
43:13: Python type test not allowed without gil
112
109
#44: 4: Converting to Python object not allowed without gil
113
110
45:10: Operation not allowed without gil