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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
da1ce13d
Commit
da1ce13d
authored
Oct 24, 2015
by
memeplex
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feat/directives
parents
e7f99d9b
6664d91f
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
44 additions
and
40 deletions
+44
-40
Cython/Compiler/ParseTreeTransforms.py
Cython/Compiler/ParseTreeTransforms.py
+1
-1
Cython/Includes/Deprecated/python.pxd
Cython/Includes/Deprecated/python.pxd
+1
-1
Cython/Includes/Deprecated/python_bool.pxd
Cython/Includes/Deprecated/python_bool.pxd
+1
-1
Cython/Includes/Deprecated/python_buffer.pxd
Cython/Includes/Deprecated/python_buffer.pxd
+1
-1
Cython/Includes/Deprecated/python_bytes.pxd
Cython/Includes/Deprecated/python_bytes.pxd
+1
-1
Cython/Includes/Deprecated/python_cobject.pxd
Cython/Includes/Deprecated/python_cobject.pxd
+1
-1
Cython/Includes/Deprecated/python_complex.pxd
Cython/Includes/Deprecated/python_complex.pxd
+1
-1
Cython/Includes/Deprecated/python_dict.pxd
Cython/Includes/Deprecated/python_dict.pxd
+1
-1
Cython/Includes/Deprecated/python_exc.pxd
Cython/Includes/Deprecated/python_exc.pxd
+1
-1
Cython/Includes/Deprecated/python_float.pxd
Cython/Includes/Deprecated/python_float.pxd
+1
-1
Cython/Includes/Deprecated/python_function.pxd
Cython/Includes/Deprecated/python_function.pxd
+1
-1
Cython/Includes/Deprecated/python_getargs.pxd
Cython/Includes/Deprecated/python_getargs.pxd
+1
-1
Cython/Includes/Deprecated/python_instance.pxd
Cython/Includes/Deprecated/python_instance.pxd
+1
-1
Cython/Includes/Deprecated/python_int.pxd
Cython/Includes/Deprecated/python_int.pxd
+1
-1
Cython/Includes/Deprecated/python_iterator.pxd
Cython/Includes/Deprecated/python_iterator.pxd
+1
-1
Cython/Includes/Deprecated/python_list.pxd
Cython/Includes/Deprecated/python_list.pxd
+1
-1
Cython/Includes/Deprecated/python_long.pxd
Cython/Includes/Deprecated/python_long.pxd
+1
-1
Cython/Includes/Deprecated/python_mapping.pxd
Cython/Includes/Deprecated/python_mapping.pxd
+1
-1
Cython/Includes/Deprecated/python_mem.pxd
Cython/Includes/Deprecated/python_mem.pxd
+1
-1
Cython/Includes/Deprecated/python_method.pxd
Cython/Includes/Deprecated/python_method.pxd
+1
-1
Cython/Includes/Deprecated/python_module.pxd
Cython/Includes/Deprecated/python_module.pxd
+1
-1
Cython/Includes/Deprecated/python_number.pxd
Cython/Includes/Deprecated/python_number.pxd
+1
-1
Cython/Includes/Deprecated/python_object.pxd
Cython/Includes/Deprecated/python_object.pxd
+1
-1
Cython/Includes/Deprecated/python_oldbuffer.pxd
Cython/Includes/Deprecated/python_oldbuffer.pxd
+1
-1
Cython/Includes/Deprecated/python_pycapsule.pxd
Cython/Includes/Deprecated/python_pycapsule.pxd
+1
-1
Cython/Includes/Deprecated/python_ref.pxd
Cython/Includes/Deprecated/python_ref.pxd
+1
-1
Cython/Includes/Deprecated/python_sequence.pxd
Cython/Includes/Deprecated/python_sequence.pxd
+1
-1
Cython/Includes/Deprecated/python_set.pxd
Cython/Includes/Deprecated/python_set.pxd
+1
-1
Cython/Includes/Deprecated/python_string.pxd
Cython/Includes/Deprecated/python_string.pxd
+1
-1
Cython/Includes/Deprecated/python_tuple.pxd
Cython/Includes/Deprecated/python_tuple.pxd
+1
-1
Cython/Includes/Deprecated/python_type.pxd
Cython/Includes/Deprecated/python_type.pxd
+1
-1
Cython/Includes/Deprecated/python_unicode.pxd
Cython/Includes/Deprecated/python_unicode.pxd
+1
-1
Cython/Includes/Deprecated/python_version.pxd
Cython/Includes/Deprecated/python_version.pxd
+1
-1
Cython/Includes/Deprecated/python_weakref.pxd
Cython/Includes/Deprecated/python_weakref.pxd
+1
-1
Cython/Includes/Deprecated/stdio.pxd
Cython/Includes/Deprecated/stdio.pxd
+1
-1
Cython/Includes/Deprecated/stdlib.pxd
Cython/Includes/Deprecated/stdlib.pxd
+1
-1
Cython/Includes/cpython/buffer.pxd
Cython/Includes/cpython/buffer.pxd
+1
-1
Cython/Includes/cpython/exc.pxd
Cython/Includes/cpython/exc.pxd
+1
-1
Cython/Includes/libcpp/algorithm.pxd
Cython/Includes/libcpp/algorithm.pxd
+4
-0
Cython/Includes/numpy/__init__.pxd
Cython/Includes/numpy/__init__.pxd
+1
-1
Cython/Includes/posix/types.pxd
Cython/Includes/posix/types.pxd
+1
-1
No files found.
Cython/Compiler/ParseTreeTransforms.py
View file @
da1ce13d
...
@@ -636,7 +636,7 @@ class InterpretCompilerDirectives(CythonTransform, SkipDeclarations):
...
@@ -636,7 +636,7 @@ class InterpretCompilerDirectives(CythonTransform, SkipDeclarations):
'operator.postincrement'
:
ExprNodes
.
inc_dec_constructor
(
False
,
'++'
),
'operator.postincrement'
:
ExprNodes
.
inc_dec_constructor
(
False
,
'++'
),
'operator.postdecrement'
:
ExprNodes
.
inc_dec_constructor
(
False
,
'--'
),
'operator.postdecrement'
:
ExprNodes
.
inc_dec_constructor
(
False
,
'--'
),
# For backwards compat
a
bility.
# For backwards compat
i
bility.
'address'
:
ExprNodes
.
AmpersandNode
,
'address'
:
ExprNodes
.
AmpersandNode
,
}
}
...
...
Cython/Includes/Deprecated/python.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython
cimport
*
from
cpython
cimport
*
Cython/Includes/Deprecated/python_bool.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.bool
cimport
*
from
cpython.bool
cimport
*
Cython/Includes/Deprecated/python_buffer.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.buffer
cimport
*
from
cpython.buffer
cimport
*
Cython/Includes/Deprecated/python_bytes.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.bytes
cimport
*
from
cpython.bytes
cimport
*
Cython/Includes/Deprecated/python_cobject.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.cobject
cimport
*
from
cpython.cobject
cimport
*
Cython/Includes/Deprecated/python_complex.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.complex
cimport
*
from
cpython.complex
cimport
*
Cython/Includes/Deprecated/python_dict.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.dict
cimport
*
from
cpython.dict
cimport
*
Cython/Includes/Deprecated/python_exc.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.exc
cimport
*
from
cpython.exc
cimport
*
Cython/Includes/Deprecated/python_float.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.float
cimport
*
from
cpython.float
cimport
*
Cython/Includes/Deprecated/python_function.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.function
cimport
*
from
cpython.function
cimport
*
Cython/Includes/Deprecated/python_getargs.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.getargs
cimport
*
from
cpython.getargs
cimport
*
Cython/Includes/Deprecated/python_instance.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.instance
cimport
*
from
cpython.instance
cimport
*
Cython/Includes/Deprecated/python_int.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.int
cimport
*
from
cpython.int
cimport
*
Cython/Includes/Deprecated/python_iterator.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.iterator
cimport
*
from
cpython.iterator
cimport
*
Cython/Includes/Deprecated/python_list.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.list
cimport
*
from
cpython.list
cimport
*
Cython/Includes/Deprecated/python_long.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.long
cimport
*
from
cpython.long
cimport
*
Cython/Includes/Deprecated/python_mapping.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.mapping
cimport
*
from
cpython.mapping
cimport
*
Cython/Includes/Deprecated/python_mem.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.mem
cimport
*
from
cpython.mem
cimport
*
Cython/Includes/Deprecated/python_method.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.method
cimport
*
from
cpython.method
cimport
*
Cython/Includes/Deprecated/python_module.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.module
cimport
*
from
cpython.module
cimport
*
Cython/Includes/Deprecated/python_number.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.number
cimport
*
from
cpython.number
cimport
*
Cython/Includes/Deprecated/python_object.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.object
cimport
*
from
cpython.object
cimport
*
Cython/Includes/Deprecated/python_oldbuffer.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.oldbuffer
cimport
*
from
cpython.oldbuffer
cimport
*
Cython/Includes/Deprecated/python_pycapsule.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.pycapsule
cimport
*
from
cpython.pycapsule
cimport
*
Cython/Includes/Deprecated/python_ref.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.ref
cimport
*
from
cpython.ref
cimport
*
Cython/Includes/Deprecated/python_sequence.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.sequence
cimport
*
from
cpython.sequence
cimport
*
Cython/Includes/Deprecated/python_set.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.set
cimport
*
from
cpython.set
cimport
*
Cython/Includes/Deprecated/python_string.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.string
cimport
*
from
cpython.string
cimport
*
Cython/Includes/Deprecated/python_tuple.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.tuple
cimport
*
from
cpython.tuple
cimport
*
Cython/Includes/Deprecated/python_type.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.type
cimport
*
from
cpython.type
cimport
*
Cython/Includes/Deprecated/python_unicode.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.unicode
cimport
*
from
cpython.unicode
cimport
*
Cython/Includes/Deprecated/python_version.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.version
cimport
*
from
cpython.version
cimport
*
Cython/Includes/Deprecated/python_weakref.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
cpython.weakref
cimport
*
from
cpython.weakref
cimport
*
Cython/Includes/Deprecated/stdio.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
libc.stdio
cimport
*
from
libc.stdio
cimport
*
Cython/Includes/Deprecated/stdlib.pxd
View file @
da1ce13d
# Present for backwards compat
a
bility
# Present for backwards compat
i
bility
from
libc.stdlib
cimport
*
from
libc.stdlib
cimport
*
Cython/Includes/cpython/buffer.pxd
View file @
da1ce13d
...
@@ -5,7 +5,7 @@ cdef extern from "Python.h":
...
@@ -5,7 +5,7 @@ cdef extern from "Python.h":
cdef
enum
:
cdef
enum
:
PyBUF_SIMPLE
,
PyBUF_SIMPLE
,
PyBUF_WRITABLE
,
PyBUF_WRITABLE
,
PyBUF_WRITEABLE
,
# backwards compat
a
bility
PyBUF_WRITEABLE
,
# backwards compat
i
bility
PyBUF_FORMAT
,
PyBUF_FORMAT
,
PyBUF_ND
,
PyBUF_ND
,
PyBUF_STRIDES
,
PyBUF_STRIDES
,
...
...
Cython/Includes/cpython/exc.pxd
View file @
da1ce13d
...
@@ -50,7 +50,7 @@ cdef extern from "Python.h":
...
@@ -50,7 +50,7 @@ cdef extern from "Python.h":
# return value to a specific exception; use
# return value to a specific exception; use
# PyErr_ExceptionMatches() instead, shown below. (The comparison
# PyErr_ExceptionMatches() instead, shown below. (The comparison
# could easily fail since the exception may be an instance instead
# could easily fail since the exception may be an instance instead
# of a class, in the case of a class exception, or it may
th
e a
# of a class, in the case of a class exception, or it may
b
e a
# subclass of the expected exception.)
# subclass of the expected exception.)
bint
PyErr_ExceptionMatches
(
object
exc
)
bint
PyErr_ExceptionMatches
(
object
exc
)
...
...
Cython/Includes/libcpp/algorithm.pxd
View file @
da1ce13d
...
@@ -26,3 +26,7 @@ cdef extern from "<algorithm>" namespace "std" nogil:
...
@@ -26,3 +26,7 @@ cdef extern from "<algorithm>" namespace "std" nogil:
void
sort_heap
[
Iter
](
Iter
first
,
Iter
last
)
void
sort_heap
[
Iter
](
Iter
first
,
Iter
last
)
void
sort_heap
[
Iter
,
Compare
](
Iter
first
,
Iter
last
,
Compare
comp
)
void
sort_heap
[
Iter
,
Compare
](
Iter
first
,
Iter
last
,
Compare
comp
)
# Copy
OutputIter
copy
[
InputIter
,
OutputIter
](
InputIter
,
InputIter
,
OutputIter
)
Cython/Includes/numpy/__init__.pxd
View file @
da1ce13d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# If any of the PyArray_* functions are called, import_array must be
# If any of the PyArray_* functions are called, import_array must be
# called first.
# called first.
#
#
# This also defines backwards-compat
a
bility buffer acquisition
# This also defines backwards-compat
i
bility buffer acquisition
# code for use in Python 2.x (or Python <= 2.5 when NumPy starts
# code for use in Python 2.x (or Python <= 2.5 when NumPy starts
# implementing PEP-3118 directly).
# implementing PEP-3118 directly).
#
#
...
...
Cython/Includes/posix/types.pxd
View file @
da1ce13d
# Note that the actual size of these types is system-depend
a
nt, and
# Note that the actual size of these types is system-depend
e
nt, and
# can't be detected at C compile time. However, the generated C code
# can't be detected at C compile time. However, the generated C code
# will correctly use the actual size of these types *except* for
# will correctly use the actual size of these types *except* for
# determining promotion in binary arithmetic expressions involving
# determining promotion in binary arithmetic expressions involving
...
...
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