Commit 6ff0ce3c authored by gabrieldemarmiesse's avatar gabrieldemarmiesse

Changed the urls according to the review.

parent 2e8f6f90
...@@ -184,7 +184,7 @@ be found in the `distutils documentation`_. Some useful options to know about ...@@ -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 are ``include_dirs``, ``libraries``, and ``library_dirs`` which specify where
to find the ``.h`` and library files when linking to external libraries. 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 Sometimes this is not enough and you need finer customization of the
distutils :class:`Extension`. distutils :class:`Extension`.
...@@ -490,7 +490,7 @@ will fall back to loading the source modules instead. ...@@ -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 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 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 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 Arguments
......
...@@ -14,7 +14,7 @@ Appendix: Installing MinGW on Windows ...@@ -14,7 +14,7 @@ Appendix: Installing MinGW on Windows
includes e.g. "c:\\mingw\\bin" (if you installed MinGW to includes e.g. "c:\\mingw\\bin" (if you installed MinGW to
"c:\\mingw"). The following web-page describes the procedure "c:\\mingw"). The following web-page describes the procedure
in Windows XP (the Vista procedure is similar): 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 4. Finally, tell Python to use MinGW as the default compiler
(otherwise it will try for Visual C). If Python is installed to (otherwise it will try for Visual C). If Python is installed to
"c:\\Python27", create a file named "c:\\Python27", create a file named
......
...@@ -25,7 +25,7 @@ while the cimport adds functions accessible from Cython. ...@@ -25,7 +25,7 @@ while the cimport adds functions accessible from Cython.
A Python array is constructed with a type signature and sequence of A Python array is constructed with a type signature and sequence of
initial values. For the possible type signatures, refer to the Python 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 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 memory view, there will be a slight overhead to construct the memory
......
...@@ -90,7 +90,7 @@ modules instead. The .py import mechanism is installed like this:: ...@@ -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 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 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 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 Fibonacci Fun
============== ==============
......
...@@ -80,7 +80,7 @@ Enabling coverage analysis ...@@ -80,7 +80,7 @@ Enabling coverage analysis
-------------------------- --------------------------
Since Cython 0.23, line tracing (see above) also enables support for coverage 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 To make the coverage analysis understand Cython modules, you also need to enable
Cython's coverage plugin in your ``.coveragerc`` file as follows: Cython's coverage plugin in your ``.coveragerc`` file as follows:
...@@ -160,7 +160,7 @@ Running this on my box gives the following output: ...@@ -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 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 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 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 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 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 function) and cumtime (total time spent in this function **also** counting the
......
Further reading 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 recent features might not have documentation written yet, in such
cases some notes can usually be found in the form of a Cython cases some notes can usually be found in the form of a Cython
Enhancement Proposal (CEP) on https://github.com/cython/cython/wiki/enhancements. Enhancement Proposal (CEP) on https://github.com/cython/cython/wiki/enhancements.
...@@ -23,4 +23,4 @@ Cython, or if you have suggestions for future development. ...@@ -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 .. [DevList] Cython developer mailing list: https://mail.python.org/mailman/listinfo/cython-devel
.. [Seljebotn09] D. S. Seljebotn, Fast numerical computations with Cython, .. [Seljebotn09] D. S. Seljebotn, Fast numerical computations with Cython,
Proceedings of the 8th Python in Science Conference, 2009. 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
...@@ -39,12 +39,12 @@ is that it has no support for calling the Python/C API for operations ...@@ -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 it does not support natively, and supports very few of the standard
Python modules. 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/ .. there's also the original ctypes home page: http://python.net/crew/theller/ctypes/
.. [Pyrex] G. Ewing, Pyrex: C-Extensions for Python, .. [Pyrex] G. Ewing, Pyrex: C-Extensions for Python,
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
.. [ShedSkin] M. Dufour, J. Coughlan, ShedSkin, .. [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] David M. Beazley et al.,
SWIG: An Easy to Use Tool for Integrating Scripting Languages with C and C++, SWIG: An Easy to Use Tool for Integrating Scripting Languages with C and C++,
http://www.swig.org. http://www.swig.org.
...@@ -686,7 +686,7 @@ call functions in C files, see :ref:`using_c_libraries`. ...@@ -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 .. _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/ .. _pep 3118: https://www.python.org/dev/peps/pep-3118/
.. _NumPy: https://docs.scipy.org/doc/numpy/reference/arrays.ndarray.html#memory-layout .. _NumPy: https://docs.scipy.org/doc/numpy/reference/arrays.ndarray.html#memory-layout
.. _example: http://www.scipy.org/Numpy_Example_List#newaxis .. _example: http://www.scipy.org/Numpy_Example_List#newaxis
...@@ -190,4 +190,4 @@ OpenMP functions can be used by cimporting ``openmp``: ...@@ -190,4 +190,4 @@ OpenMP functions can be used by cimporting ``openmp``:
.. rubric:: References .. rubric:: References
.. [#] https://www.openmp.org/wp-content/uploads/spec30.pdf .. [#] https://www.openmp.org/mp-documents/spec30.pdf
...@@ -105,7 +105,7 @@ Cython modules just with simple import statements, even like this: ...@@ -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 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 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 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 Arguments
--------- ---------
......
...@@ -90,7 +90,7 @@ complaining about the signature mismatch. ...@@ -90,7 +90,7 @@ complaining about the signature mismatch.
See :ref:`existing-pointers-instantiation` for an example. 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: .. _finalization_method:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment