# HG changeset patch
# User Robert Bradshaw <robertwb@math.washington.edu>
# Date 1285921884 25200
# Node ID a32fb9a08a6a88c73b47ddf750955cde93c5098c
# Parent 27a632d84840f2a1284ca8bb6d435589621f008d
[mq]: 8_alpha_fixes.patch
diff -r 27a632d84840 -r a32fb9a08a6a sage/graphs/generic_graph_pyx.pxd
a
|
b
|
|
23 | 23 | cdef int **line_h_in |
24 | 24 | cdef list g_vertices |
25 | 25 | cdef int i |
26 | | cdef bool directed |
| 26 | cdef bint directed |
27 | 27 | |
28 | 28 | |
29 | 29 | cdef inline bint vectors_equal(int n, int *a, int *b) |
diff -r 27a632d84840 -r a32fb9a08a6a sage/graphs/generic_graph_pyx.pyx
a
|
b
|
|
682 | 682 | _sig_on |
683 | 683 | cdef int *tmp_array_out |
684 | 684 | cdef int *tmp_array_in |
685 | | cdef bool is_admissible |
| 685 | cdef bint is_admissible |
686 | 686 | |
687 | 687 | # as long as there is a non-void partial copy of H in G |
688 | 688 | while self.active >= 0: |
diff -r 27a632d84840 -r a32fb9a08a6a sage/misc/sageinspect.py
a
|
b
|
|
1055 | 1055 | sage: sage_getdef(sage.rings.integer.Integer.factor, obj_name='factor') |
1056 | 1056 | "factor(algorithm='pari', proof=True, limit=None)" |
1057 | 1057 | |
1058 | | A cython method without an embedded position can lead to surprising errors:: |
1059 | | |
1060 | | sage: sage_getsource(sage.rings.integer.Integer.__init__, is_binary=True) |
1061 | | Traceback (most recent call last): |
1062 | | ... |
1063 | | TypeError: arg is not a module, class, method, function, traceback, frame, or code object |
1064 | | |
1065 | 1058 | sage: sage_getdef(sage.rings.integer.Integer.__init__, obj_name='__init__') |
1066 | | '__init__( [noargspec] )' |
1067 | | |
| 1059 | '__init__(x=None, base=0)' |
| 1060 | |
1068 | 1061 | Test _extract_source with some likely configurations, including no trailing |
1069 | 1062 | newline at the end of the file:: |
1070 | 1063 | |