/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/_known_graph_pyx.pyx

Use a class regex to find other signatures to exclude.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
            parent_keys, child_keys)
109
109
 
110
110
 
111
 
cdef _KnownGraphNode _get_list_node(lst, Py_ssize_t pos): # no except
 
111
cdef _KnownGraphNode _get_list_node(lst, Py_ssize_t pos):
112
112
    cdef PyObject *temp_node
113
113
 
114
114
    temp_node = PyList_GET_ITEM(lst, pos)
115
115
    return <_KnownGraphNode>temp_node
116
116
 
117
117
 
118
 
cdef _KnownGraphNode _get_tuple_node(tpl, Py_ssize_t pos): # no except
 
118
cdef _KnownGraphNode _get_tuple_node(tpl, Py_ssize_t pos):
119
119
    cdef PyObject *temp_node
120
120
 
121
121
    temp_node = PyTuple_GET_ITEM(tpl, pos)
211
211
    # Note: We don't need to set an 'except clause because _KnownGraphNode is
212
212
    #       an object type. However our crude test_source parser doesn't know
213
213
    #       how to tell that
214
 
    cdef _KnownGraphNode _get_or_create_node(self, key): # no except
 
214
    cdef _KnownGraphNode _get_or_create_node(self, key):
215
215
        cdef PyObject *temp_node
216
216
        cdef _KnownGraphNode node
217
217
 
646
646
            self._push_node(node, 0)
647
647
 
648
648
    # Note: _MergeSortNode is an object type so there is an implied except
649
 
    cdef _MergeSortNode _get_ms_node(self, _KnownGraphNode node): # no except
 
649
    cdef _MergeSortNode _get_ms_node(self, _KnownGraphNode node):
650
650
        cdef PyObject *temp_node
651
651
        cdef _MergeSortNode ms_node
652
652