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
6ff0ce3c
Commit
6ff0ce3c
authored
Jul 07, 2018
by
gabrieldemarmiesse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the urls according to the review.
parent
2e8f6f90
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
15 deletions
+15
-15
docs/src/reference/compilation.rst
docs/src/reference/compilation.rst
+2
-2
docs/src/tutorial/appendix.rst
docs/src/tutorial/appendix.rst
+1
-1
docs/src/tutorial/array.rst
docs/src/tutorial/array.rst
+1
-1
docs/src/tutorial/cython_tutorial.rst
docs/src/tutorial/cython_tutorial.rst
+1
-1
docs/src/tutorial/profiling_tutorial.rst
docs/src/tutorial/profiling_tutorial.rst
+2
-2
docs/src/tutorial/readings.rst
docs/src/tutorial/readings.rst
+2
-2
docs/src/tutorial/related_work.rst
docs/src/tutorial/related_work.rst
+2
-2
docs/src/userguide/memoryviews.rst
docs/src/userguide/memoryviews.rst
+1
-1
docs/src/userguide/parallelism.rst
docs/src/userguide/parallelism.rst
+1
-1
docs/src/userguide/source_files_and_compilation.rst
docs/src/userguide/source_files_and_compilation.rst
+1
-1
docs/src/userguide/special_methods.rst
docs/src/userguide/special_methods.rst
+1
-1
No files found.
docs/src/reference/compilation.rst
View file @
6ff0ce3c
...
...
@@ -184,7 +184,7 @@ be found in the `distutils documentation`_. Some useful options to know about
are ``include_dirs``, ``libraries``, and ``library_dirs`` which specify where
to find the ``.h`` and library files when linking to external libraries.
.. _distutils documentation: https://docs.python.org/
3/
extending/building.html
.. _distutils documentation: https://docs.python.org/extending/building.html
Sometimes this is not enough and you need finer customization of the
distutils :class:`Extension`.
...
...
@@ -490,7 +490,7 @@ will fall back to loading the source modules instead.
Note that it is not recommended to let :mod:`pyximport` build code
on end user side as it hooks into their import system. The best way
to cater for end users is to provide pre-built binary packages in the
`wheel <https://wheel.readthedocs.io/
en/stable/
>`_ packaging format.
`wheel <https://wheel.readthedocs.io/>`_ packaging format.
Arguments
...
...
docs/src/tutorial/appendix.rst
View file @
6ff0ce3c
...
...
@@ -14,7 +14,7 @@ Appendix: Installing MinGW on Windows
includes e.g. "c:\\mingw\\bin" (if you installed MinGW to
"c:\\mingw"). The following web-page describes the procedure
in Windows XP (the Vista procedure is similar):
https://support.microsoft.com/
en-us/help/310519/how-to-manage-environment-variables-in-windows-xp
https://support.microsoft.com/
kb/310519
4. Finally, tell Python to use MinGW as the default compiler
(otherwise it will try for Visual C). If Python is installed to
"c:\\Python27", create a file named
...
...
docs/src/tutorial/array.rst
View file @
6ff0ce3c
...
...
@@ -25,7 +25,7 @@ while the cimport adds functions accessible from Cython.
A Python array is constructed with a type signature and sequence of
initial values. For the possible type signatures, refer to the Python
documentation for the `array module <https://docs.python.org/
3/
library/array.html>`_.
documentation for the `array module <https://docs.python.org/library/array.html>`_.
Notice that when a Python array is assigned to a variable typed as
memory view, there will be a slight overhead to construct the memory
...
...
docs/src/tutorial/cython_tutorial.rst
View file @
6ff0ce3c
...
...
@@ -90,7 +90,7 @@ modules instead. The .py import mechanism is installed like this::
Note that it is not recommended to let :ref:`Pyximport<pyximport>` build code
on end user side as it hooks into their import system. The best way
to cater for end users is to provide pre-built binary packages in the
`wheel <https://wheel.readthedocs.io/
en/stable/
>`_ packaging format.
`wheel <https://wheel.readthedocs.io/>`_ packaging format.
Fibonacci Fun
==============
...
...
docs/src/tutorial/profiling_tutorial.rst
View file @
6ff0ce3c
...
...
@@ -80,7 +80,7 @@ Enabling coverage analysis
--------------------------
Since Cython 0.23, line tracing (see above) also enables support for coverage
reporting with the `coverage.py <http://coverage.readthedocs.io/
en/latest/
>`_ tool.
reporting with the `coverage.py <http://coverage.readthedocs.io/>`_ tool.
To make the coverage analysis understand Cython modules, you also need to enable
Cython's coverage plugin in your ``.coveragerc`` file as follows:
...
...
@@ -160,7 +160,7 @@ Running this on my box gives the following output:
This contains the information that the code runs in 6.2 CPU seconds. Note that
the code got slower by 2 seconds because it ran inside the cProfile module. The
table contains the real valuable information. You might want to check the
Python `profiling documentation <https://docs.python.org/
3/
library/profile.html>`_
Python `profiling documentation <https://docs.python.org/library/profile.html>`_
for the nitty gritty details. The most important columns here are totime (total
time spent in this function **not** counting functions that were called by this
function) and cumtime (total time spent in this function **also** counting the
...
...
docs/src/tutorial/readings.rst
View file @
6ff0ce3c
Further reading
===============
The main documentation is located at http://docs.cython.org/
en/latest/
. Some
The main documentation is located at http://docs.cython.org/. Some
recent features might not have documentation written yet, in such
cases some notes can usually be found in the form of a Cython
Enhancement Proposal (CEP) on https://github.com/cython/cython/wiki/enhancements.
...
...
@@ -23,4 +23,4 @@ Cython, or if you have suggestions for future development.
.. [DevList] Cython developer mailing list: https://mail.python.org/mailman/listinfo/cython-devel
.. [Seljebotn09] D. S. Seljebotn, Fast numerical computations with Cython,
Proceedings of the 8th Python in Science Conference, 2009.
.. [UserList] Cython users mailing list: https://groups.google.com/
forum/#!forum
/cython-users
.. [UserList] Cython users mailing list: https://groups.google.com/
group
/cython-users
docs/src/tutorial/related_work.rst
View file @
6ff0ce3c
...
...
@@ -39,12 +39,12 @@ is that it has no support for calling the Python/C API for operations
it does not support natively, and supports very few of the standard
Python modules.
.. [ctypes] https://docs.python.org/
3/
library/ctypes.html.
.. [ctypes] https://docs.python.org/library/ctypes.html.
.. there's also the original ctypes home page: http://python.net/crew/theller/ctypes/
.. [Pyrex] G. Ewing, Pyrex: C-Extensions for Python,
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
.. [ShedSkin] M. Dufour, J. Coughlan, ShedSkin,
https://
code.google.com/archive/p
/shedskin
https://
github.com/shedskin
/shedskin
.. [SWIG] David M. Beazley et al.,
SWIG: An Easy to Use Tool for Integrating Scripting Languages with C and C++,
http://www.swig.org.
docs/src/userguide/memoryviews.rst
View file @
6ff0ce3c
...
...
@@ -686,7 +686,7 @@ call functions in C files, see :ref:`using_c_libraries`.
.. _GIL: http://docs.python.org/dev/glossary.html#term-global-interpreter-lock
.. _new style buffers: https://docs.python.org/
3/
c-api/buffer.html
.. _new style buffers: https://docs.python.org/c-api/buffer.html
.. _pep 3118: https://www.python.org/dev/peps/pep-3118/
.. _NumPy: https://docs.scipy.org/doc/numpy/reference/arrays.ndarray.html#memory-layout
.. _example: http://www.scipy.org/Numpy_Example_List#newaxis
docs/src/userguide/parallelism.rst
View file @
6ff0ce3c
...
...
@@ -190,4 +190,4 @@ OpenMP functions can be used by cimporting ``openmp``:
.. rubric:: References
.. [#] https://www.openmp.org/
wp-content/upload
s/spec30.pdf
.. [#] https://www.openmp.org/
mp-document
s/spec30.pdf
docs/src/userguide/source_files_and_compilation.rst
View file @
6ff0ce3c
...
...
@@ -105,7 +105,7 @@ Cython modules just with simple import statements, even like this:
Note that it is not recommended to let :mod:`pyximport` build code
on end user side as it hooks into their import system. The best way
to cater for end users is to provide pre-built binary packages in the
`wheel <https://wheel.readthedocs.io/
en/stable/
>`_ packaging format.
`wheel <https://wheel.readthedocs.io/>`_ packaging format.
Arguments
---------
...
...
docs/src/userguide/special_methods.rst
View file @
6ff0ce3c
...
...
@@ -90,7 +90,7 @@ complaining about the signature mismatch.
See :ref:`existing-pointers-instantiation` for an example.
.. [#] https://docs.python.org/
3/
reference/datamodel.html#object.__new__
.. [#] https://docs.python.org/reference/datamodel.html#object.__new__
.. _finalization_method:
...
...
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