Fixed issue where fused functions didn't register as cyfunctions (GH-3386)
da-woods authored
* Fixed issue where fused functions didn't register as cyfunctions

Issue https://github.com/cython/cython/issues/3384

This happened where Cython was using a shared API because the
CyFunction type imported from the shared api wasn't the same as
used to initialize the fused function tp_base.
15d77968
Name Last commit Last update
.github Create FUNDING.yml
Cython Fixed issue where fused functions didn't register as cyfunctions (GH-3386)
Demos Update URLs to https:// in docs and comments
Doc/s5 Shrink some PNG images.
Tools Add compatability with Bazel 0.26
appveyor Update URLs to https:// in docs and comments
bin Add an assertion for the assumption that all identifier start characters are also valid continuation characters, so that we notice it if that ever changes.
docs Use properties in numpy.pxd to avoid a dependency on internal details (GH-3365)
pyximport Fix typos (GH-3276)
tests Fixed issue where fused functions didn't register as cyfunctions (GH-3386)
.editorconfig Include header file types in editor config.
.gitignore Exclude some more files from git control.
.hgignore Rename BUILD to TEST_TMP for bazel support.
.hgtags Added tag 0.21.2 for changeset ab1a3afb8775
.mailmap Add initial .mailmap file.
.travis.yml Use newer XCode image (as in current wheel builds).
BUILD.bazel Rename BUILD file to avoid conflict with build directory.
CHANGES.rst Update changelog.
COPYING.txt Clarify license position with respect to compilation output.
INSTALL.txt Remove trailing whitespace.
LICENSE.txt Update URLs to https:// in docs and comments
MANIFEST.in Remove unused file reference from sdist.
Makefile Merge branch '0.29.x'
README.rst Make it clearer what "make repo" is meant for.
ToDo.txt Remove trailing whitespace.
USAGE.txt
appveyor.yml
cygdb.py
cython.py
cythonize.py
pylintrc
runtests.py
setup.cfg
setup.py
setupegg.py
test-requirements-cpython.txt
test-requirements.txt
tox.ini

Welcome to Cython!

Cython is a language that makes writing C extensions for Python as easy as Python itself. Cython is based on Pyrex, but supports more cutting edge functionality and optimizations.

The Cython language is very close to the Python language, but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.

This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.

You can support the Cython project via Github Sponsors or Tidelift.

Installation:

If you already have a C compiler, just do:

pip install Cython

otherwise, see the installation page.

License:

The original Pyrex program was licensed "free of restrictions" (see below). Cython itself is licensed under the permissive Apache License.

See LICENSE.txt.

Contributing:

Want to contribute to the Cython project? Here is some help to get you started.

We are currently building the next great Cython edition: Cython 3.0. You can help us make the life of Python 3.x users easier.

Get the full source history:

Note that Cython used to ship the full version control repository in its source distribution, but no longer does so due to space constraints. To get the full source history from a downloaded source archive, make sure you have git installed, then step into the base directory of the Cython source distribution and type:

make repo

The following is from Pyrex:

This is a development version of Pyrex, a language for writing Python extension modules.

For more info, see:

  • Doc/About.html for a description of the language
  • INSTALL.txt for installation instructions
  • USAGE.txt for usage instructions
  • Demos for usage examples

Comments, suggestions, bug reports, etc. are welcome!

Copyright stuff: Pyrex is free of restrictions. You may use, redistribute, modify and distribute modified versions.

The latest version of Pyrex can be found here.

Greg Ewing, Computer Science Dept
University of Canterbury
Christchurch, New Zealand
A citizen of NewZealandCorp, a wholly-owned subsidiary of USA Inc.