debian/0000775000000000000000000000000012323024672007171 5ustar debian/changelog0000664000000000000000000003504112323024446011045 0ustar cython (0.20.1+git90-g0e6e38e-1ubuntu2) trusty; urgency=medium * Reenable test suite on ppc64el. Fixed by the eglibc copysign non-stack-trashing fix. -- William Grant Mon, 14 Apr 2014 19:27:44 +0100 cython (0.20.1+git90-g0e6e38e-1ubuntu1) trusty; urgency=medium * Ignore test results on ppc64el (failing numpy tests). -- Matthias Klose Thu, 27 Mar 2014 10:21:43 +0100 cython (0.20.1+git90-g0e6e38e-1) unstable; urgency=low * Post-release snapshot (from 0.20.x branch). As of now should resolve outstanding FTBFS against Python 3.4 (Closes: #739073, #734291) * debian/patches - deb_disable_googleanalytics - new * debian/control - addded gdb to build-depends for extended test coverage - boosted policy to 3.9.5 -- Yaroslav Halchenko Tue, 25 Mar 2014 13:04:01 -0400 cython (0.20.1-1) UNRELEASED; urgency=low * Fresh upstream bugfix release - includes all the .patch'es (dropping from debian/patches) -- Yaroslav Halchenko Wed, 12 Feb 2014 13:20:05 -0500 cython (0.20-3) unstable; urgency=low [ Julian Taylor ] * fix-skip-tests.patch: prevent python3.4 from running a disabled test * add debian version to watermark in generated source files -- Yaroslav Halchenko Tue, 11 Feb 2014 21:49:34 -0500 cython (0.20-2) unstable; urgency=low * signed-char.patch: Fix broken test when char type is unsigned -- Julian Taylor Wed, 22 Jan 2014 18:58:54 +0100 cython (0.20-1) unstable; urgency=low * Fresh upstream release -- Yaroslav Halchenko Sun, 19 Jan 2014 00:07:47 -0500 cython (0.19.2+git5-g0c6fdf0-1) unstable; urgency=low * Post bugfix-releast upstream snapshot -- Yaroslav Halchenko Fri, 22 Nov 2013 16:43:22 -0500 cython (0.19.1+git34-gac3e3a2-1) unstable; urgency=low * Post bugfix-release upstream snapshot - among others addressed some memoryview and datetime namespace leakage within CPython namespace introduced in 0.19 release. This might (unlikely lead to FTBFS for build-dependees). * debian/control: - Fixing typo in description. Thanks Reuben Thomas. (Closes: #716756) - boosted policy to 3.9.4 (no further changes should be due) -- Yaroslav Halchenko Tue, 06 Aug 2013 11:19:04 -0400 cython (0.19+git51-g3078752-2) unstable; urgency=low [ Dmitry Smirnov ] * debian/cython-dbg.postinst - Correctly handle change from directories to symlinks for the doc directory (Closes #691704) -- Yaroslav Halchenko Tue, 25 Jun 2013 14:48:11 -0400 cython (0.19+git51-g3078752-1) unstable; urgency=low [ Yaroslav Halchenko ] * Fresh upstream post-release snapshot * debian/upstream - added to facilitate referencing etc. - added to be installed among docs * debian/copyright - machine readable now (and correct license Apache-2.0) * debian/rules - use explicit --link-doc for dh_installdocs to get correct links for doc/ directories of -dbg packages (Closes: #683676, #691704) [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. * Remove DM-Upload-Allowed; it's no longer used by the archive software. -- Yaroslav Halchenko Mon, 06 May 2013 08:53:12 -0400 cython (0.17.3-1) experimental; urgency=low * Bugfix upstream release: - upstream includes all previously shipped patches - provides CHANGES.rst (was missing from source distribution, up_changes_rst patch provides a copy), so all machinery for fetching changelogs from wiki is removed * Pruning shipped underscore.js, -doc depends on libjs-underscore now -- Yaroslav Halchenko Thu, 20 Dec 2012 12:34:19 -0500 cython (0.17.2-1+bnd1) UNRELEASED; urgency=low * debian/patches/squeeze-dsc-patch for a non-official backport build for squeeze -- Yaroslav Halchenko Sat, 15 Dec 2012 23:06:59 -0500 cython (0.17.2-1) experimental; urgency=low * Bugfix upstream release with post-release fixes: - 0001-keep-longness-when-folding-negative-integer-constant.patch - 0003-Fix-compiler-crash.patch - 0005-fix-cimport-cython-in-string-code-fragments.patch - 0006-fix-refnanny-code-for-del-statement-inside-of-genera.patch - 0001-fix-analysis-of-entry-to-be-a-weakref-typo-introduce.patch (Closes: #692313) - fix-ma-includes.patch from Julian Taylor to add platform specific paths (e.g. introduced with multiarch in python3.3) (Closes: #693555) * Boost python-dev to Recommends from Suggests for most common usage scenarios (Closes: #545809). Also list python3-dev instead of python-dev for cython3 package. * Provide cython-doc package with documentation built using sphinx (Closes: #615932) -- Yaroslav Halchenko Wed, 05 Dec 2012 12:28:05 -0500 cython (0.17.1-1) experimental; urgency=low * Bugfix release -- Yaroslav Halchenko Sat, 29 Sep 2012 19:01:53 -0400 cython (0.17-1) experimental; urgency=low * New upstream release -- Yaroslav Halchenko Sun, 16 Sep 2012 16:41:46 -0400 cython (0.17~beta4+git15-g6457431-1) experimental; urgency=low * New upstream pre-release snapshot * debian/rules: - assure-changelogs upon clean to don't wait for crash at the end of build/test due to a missing changelog -- Yaroslav Halchenko Fri, 31 Aug 2012 10:33:42 -0400 cython (0.17~beta3-1) experimental; urgency=low * New upstream pre-release beta - adopted up_upstream_cache_ext_suffix -- Yaroslav Halchenko Thu, 23 Aug 2012 09:47:01 -0400 cython (0.17~beta1-2) experimental; urgency=low * Restrict actions of dh_python* helpers to corresponding cython* packages (otherwise cython obtains python3 shebang) -- Yaroslav Halchenko Thu, 26 Jul 2012 15:30:25 -0400 cython (0.17~beta1-1) experimental; urgency=low [ Bradley M. Froehle ] * Provide Python 3 package -- cython3 (Closes: #674073) [ Yaroslav Halchenko ] * New upstream release - addresses gcc 4.7 compatibility (Closes: #682652) * export HOME=$(CURDIR)/build to not rely on user's writable HOME (was triggered by some tests leading to FTBFS) * debian/watch - allow fetching beta-releases * debian/patches - dropped (upstreamed) - added up_upstream_cache_ext_suffix to resolve failure due to multiarch (see #682795 for the reason) -- Yaroslav Halchenko Wed, 18 Jul 2012 21:41:44 -0400 cython (0.16-1) experimental; urgency=low [ Bradley M. Froehle ] * Switch from cdbs to dh7 * Change build system to dh_python2 (Closes: #677405). Thanks also to Julian Taylor for an alternative patch * Bump Standards-Version to 3.9.3 [ Yaroslav Halchenko ] * "stings" typo patch, Thanks Jakub Wilk (Closes: #679359) * Fresh upstream release (Closes: #671070) - compatibile with changed __import__ in Python 3.3 (Closes: #681697) - required to BFS for new python-pymtp - dropping patches deb_tempdisable_numpy_doctests, python27-testsuite-fix.patch - excluding parallel tests since they fail ATM (reported/known upstream) -- Yaroslav Halchenko Sun, 15 Jul 2012 20:16:03 -0400 cython (0.15.1-2) unstable; urgency=low [ Jakub Wilk ] * Strip CRs from upstream changelogs. [ Barry Warsaw ] * debian/patches/python27-testsuite-fix.patch: Fix test suite for Python 2.7 change. Patch comes from Cython upstream, post 0.15.1 release. (Closes: #651996) -- Yaroslav Halchenko Sat, 07 Jan 2012 12:32:25 -0500 cython (0.15.1-1) unstable; urgency=low [ Nikolaus Rath ] * New upstream version (Closes: #637388) - cython --help no longer mentions -r option (Closes: #607097) - Compiles cleanly with Python 2.7 (Closes: #627773) - Fixed compile time division (Closes: #641128) * Dropped patches, have been incorporated upstream: 0001-fix-makefile-for-embed-testcase.patch 0001-fix-inline-textcase-to-not-use-default-HOME-.cython-.patch 0001-fix-testcases-assuming-char-is-signed-thanks-to-Yaro.patch 0001-additional-fix-and-test-for-ticket-650.patch 0001-Python-3-fix-NumPy-support.patch [ Yaroslav Halchenko ] * Standards-Version bumped to 3.9.2 (no change needed) -- Yaroslav Halchenko Tue, 20 Sep 2011 10:35:03 -0400 cython (0.14.1-7) UNRELEASED; urgency=low * Fix shebang before dh_pysupport is called, to remove unnecessary Dependencies. -- Stefano Rivera Thu, 02 Jun 2011 16:59:09 +0200 cython (0.14.1-6) unstable; urgency=low * Team upload. * Un-version python in shebangs with sed. (Closes: #577143) -- Stefano Rivera Mon, 25 Apr 2011 10:21:06 +0200 cython (0.14.1-5) unstable; urgency=low * Cherry-picked from upstream: - 0001-additional-fix-and-test-for-ticket-650.patch (Closes: #620859) - 0001-Python-3-fix-NumPy-support.patch to address some of the numpy 1.5 compatibility issues * Temporarily skipped 2 doctests triggered by numpy 1.5 incompatibility which is on upstream's TODO: patch deb_tempdisable_numpy_doctests -- Yaroslav Halchenko Wed, 06 Apr 2011 11:07:21 -0400 cython (0.14.1-4) unstable; urgency=low * Cherry-picked from upstream: - 0001-fix-inline-textcase-to-not-use-default-HOME-.cython-.patch (Closes: #613989) - 0001-fix-testcases-assuming-char-is-signed-thanks-to-Yaro.patch (Closes: #613993) -- Yaroslav Halchenko Fri, 18 Feb 2011 17:21:26 -0500 cython (0.14.1-3) unstable; urgency=low * Remove python-profiler from Build-Depends: it is non-free -- Yaroslav Halchenko Fri, 18 Feb 2011 09:09:13 -0500 cython (0.14.1-2) unstable; urgency=low * Run unittests against default Python version during build - Adopted 0001-fix-makefile-for-embed-testcase.patch from upstream for embedded test to perform correctly * Added numpy and profiler into Build-Depends to facilitate all tests above -- Yaroslav Halchenko Tue, 15 Feb 2011 13:35:52 -0500 cython (0.14.1-1) unstable; urgency=low * Reincarnating uploads to unstable * Fresh upstream release * debian/control: added python-dev into Suggests (Closes: #545809) * Standards-Version bumped to 3.9.1 (no change needed) * Use help2man to generate a reasonable manpage (Closes: #607098) -- Yaroslav Halchenko Sun, 13 Feb 2011 09:41:12 -0500 cython (0.13-1) experimental; urgency=low * New upstream release * debian/control: added myself to Uploaders * debian/rules: fetch upstream ReleaseNotes to serve a changelog -- Yaroslav Halchenko Sun, 26 Sep 2010 14:28:34 -0400 cython (0.12.1-1.1) unstable; urgency=low * Non-maintainer upload. * Introducing cython-dbg (Closes: #541314) -- Yaroslav Halchenko Wed, 05 May 2010 14:11:54 -0400 cython (0.12.1-1) unstable; urgency=low [ Kirill Smelkov ] * New upstream release (Closes: #560298) [ Jakub Wilk ] * Fix watch file. [ Ondrej Certik ] * Standards-Version bumped to 3.8.3 (no change needed) -- Ondrej Certik Sat, 13 Feb 2010 18:59:52 -0800 cython (0.11.2-1) unstable; urgency=low [ Ryan Kavanagh ] * New upstream release (Closes: #525620, #536213) [ Jakub Wilk ] * debian/rules: remove generated files. [ Piotr Ożarowski ] * Standards-Version bumped to 3.8.2 (no change needed) -- Python Applications Packaging Team Mon, 10 Aug 2009 23:18:51 +0200 cython (0.10.3-1) unstable; urgency=low [ Vernon Tang ] * New upstream release * debian/watch: corrected regexp -- Ondrej Certik Sun, 15 Feb 2009 11:27:13 -0800 cython (0.10.2-1) unstable; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Ondrej Certik ] * New upstream release * Description updated * ${shlibs:Depends} added to depends * architecture changed from all to any * python-support moved from Build-Depends-Indep to Build-Depends -- Ondrej Certik Tue, 02 Dec 2008 12:06:41 +0100 cython (0.9.8-1) unstable; urgency=low * New upstream release * python-all-dev added to build-depends (upstream now compiles Cython.Plex.Scanners with Cython). The .so file is not included in the .deb for some reason, so until this is fixed, the package stays architecture all and remains pure Python. -- Ondrej Certik Sun, 20 Jul 2008 12:43:45 +0200 cython (0.9.6.14-1) unstable; urgency=low * New upstream version * Description improved (SAGE -> Sage), whitespace removed * Standards-Version bumped (no change needed) * README.Debian updated to recent cython way of doing things -- Ondrej Certik Wed, 11 Jun 2008 13:22:09 +0200 cython (0.9.6.13.1-1) unstable; urgency=low * New upstream version (Closes: #478077) -- Ondrej Certik Sun, 27 Apr 2008 00:54:05 +0200 cython (0.9.6.12-1) unstable; urgency=low * New upstream version (Closes: #463625) * get-orig-tarball targed removed from debian/rules (uscan now works to get orig.tar.gz) -- Ondrej Certik Thu, 14 Feb 2008 13:58:23 +0100 cython (0.9.6.11.ds-1) unstable; urgency=low [ Marco Rodrigues ] * debian/watch: + Fixed path (Closes: #460006). * debian/control: + Bump cdbs version to matches policy. [ Ondrej Certik ] * New upstream version -- Ondrej Certik Fri, 18 Jan 2008 00:21:42 +0100 cython (0.9.6.10.ds-1) unstable; urgency=low * New upstream version * Moved from pycentral to pysupport * removed patches, since upstream has integrated them -- Ondrej Certik Mon, 31 Dec 2007 03:28:34 +0100 cython (0.9.6.8.ds-2) unstable; urgency=low * DM-Upload-Allowed changed to XS-Upload-Allowed * Update Standards-Version to 3.7.3. * Build-depend on python instead of python-all-dev * ${misc:Depends} added to Depends * Depend on debhelper >= 5.0.38 * gcc added to Suggests * README.Debian gcc command fixed by adding -fPIC -- Ondrej Certik Sat, 22 Dec 2007 22:12:00 +0100 cython (0.9.6.8.ds-1) unstable; urgency=low [ Ondrej Certik ] * Initial Debian upload (Closes: 451039) * Added a patch for handling the @classmethod decorators [ Sandro Tosi ] * debian/watch - added missing file -- Ondrej Certik Fri, 30 Nov 2007 13:00:44 +0100 debian/cython.install0000664000000000000000000000007312314361300012055 0ustar usr/bin/cython usr/bin/cygdb usr/lib/python2*/*-packages/* debian/cython-dbg.postinst0000664000000000000000000000056412314361300013031 0ustar #!/bin/sh set -e ## https://wiki.debian.org/MissingCopyrightFile ## Replace documentation directory with symlink docdir="/usr/share/doc/cython" if [ -d "${docdir}-dbg" ] && [ ! -h "${docdir}-dbg" ]; then rmdir "${docdir}-dbg" 2>/dev/null \ && ln -sf "${docdir}" "${docdir}-dbg" \ || echo "W: Unable to remove \"${docdir}-dbg\" -- not empty?" fi #DEBHELPER# debian/source/0000775000000000000000000000000012314361300010461 5ustar debian/source/format0000664000000000000000000000001412314361300011667 0ustar 3.0 (quilt) debian/README.Debian0000664000000000000000000000107212314361300011222 0ustar Cython ------ A simple example how to use it in Debian. Create a file t.pyx: $ cat t.pyx def msum(long N): cdef long s = 0, k for k in range(N): s += k + 1 return s $ cython --convert-range t.pyx $ gcc -fPIC -O3 -I/usr/include/python2.5/ -c -o t.o t.c $ gcc -shared t.o -o t.so $ python Python 2.5.2 (r252:60911, May 28 2008, 08:35:32) [GCC 4.2.4 (Debian 4.2.4-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import t >>> dir(t) ['__builtins__', '__doc__', '__file__', '__name__', 'msum'] >>> t.msum(5) 15 debian/watch0000664000000000000000000000024612314361300010214 0ustar version=3 opts=uversionmangle=s/.alpha/~alpha/;s/.beta/~beta/;s/.rc/~rc/;s/([0-9])b([0-9]*)/$1~b$2/g \ http://cython.org/release/Cython-([0-9.]+[beta0-9]*)\.tar\.gz debian/cython-doc.links0000664000000000000000000000027012314361300012271 0ustar usr/share/javascript/jquery/jquery.js usr/share/doc/cython-doc/html/_static/jquery.js usr/share/javascript/underscore/underscore.js usr/share/doc/cython-doc/html/_static/underscore.js debian/cython3.install0000664000000000000000000000007512314361300012142 0ustar usr/bin/cython3 usr/bin/cygdb3 usr/lib/python3*/*-packages/* debian/copyright0000664000000000000000000000160412314361300011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: cython Upstream-Contact: cython-devel@python.org Source: http://github.com/cython/cython Files: * Copyright: 2007-2013 Stefan Behnel, Robert Bradshaw, Dag Sverre Seljebotn, Greg Ewing, William Stein, Gabriel Gellner, et al. License: Apache-2.0 Files: debian/* Copyright: 2007-2013 Ondrej Certik, Yaroslav Halchenko License: Apache-2.0 License: Apache-2.0 Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. The ASF licenses this work to You under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . On a Debian system, the license can be found at /usr/share/common-licenses/Apache-2.0 . debian/cython-doc.docs0000664000000000000000000000002012314361300012072 0ustar docs/build/html debian/changelogs/0000775000000000000000000000000012314361300011273 5ustar debian/changelogs/ReleaseNotes-0.12.10000664000000000000000000000416512314361300014332 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.12.1 on Sat Jun 30 12:28:29 EDT 2012\n = Cython 0.12.1 = * Release date: February 2, 2010 * Download: http://cython.org/release/Cython-0.12.1.tar.gz http://cython.org/release/Cython-0.12.1.zip I'm happy to announce the release of Cython 0.12.1. == New Features == * Type inference improvements. There have been several bug fixes and improvements to the type inferencer. Notably, there is now a "safe" mode enabled by setting the infer_types directive to None. (The None here refers to the "default" mode, which will be the default in 0.13.) This safe mode limits inference to Python object types and C doubles, which should speed up execution without affecting any semantics such as integer overflow behavior like infer_types=True might. There is also an infer_types.verbose option which allows one to see what types are inferred. * The boundscheck directive works for lists and tuples as well as buffers. * len(s) and s.decode("encoding") are efficiently supported for char* s. * Cython's INLINE macro has been renamed to CYTHON_INLINE to reduce conflict and has better support for the MSVC compiler on Windows. It is no longer clobbered if externally defined. * Revision history is now omitted from the source package, resulting in a 85% size reduction. Running make repo will download the history and turn the directory into a complete Mercurial working repository. * Cython modules don't need to be recompiled when the size of an external type grows. (A warning, rather than an error, is produced.) This should be helpful for binary distributions relying on NumPy. Several other bugs and minor improvements have been made. This release should be fully backwards compatible with 0.12. == Contributors to this release == * Arfrever Frehtes Taifersar Arahesis * Stefan Behnel * Robert Bradshaw * Lisandro Dalcin * Julien Danjou * Mark Lodato * Dag Sverre Seljebotn Thanks also to the many who've submitted feedback and contributed to discussions on the mailing list. http://trac.cython.org/cython_trac/query?group=component&milestone=0.12.1 ---- CategoryReleaseNotes debian/changelogs/ReleaseNotes-0.120000664000000000000000000000465112314361300014173 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.12 on Sat Jun 30 12:28:30 EDT 2012\n = Cython 0.12 = Release date: November 23 2009 Tarball: http://cython.org/release/Cython-0.12.tar.gz Milestone: http://trac.cython.org/cython_trac/query?group=component&milestone=0.12 == New features == * Type inference with the infer_types directive * Seamless C++ complex support * Fast extension type instantiation using the normal Python meme obj = MyType.__new__(MyType) * Improved support for Py3.1 * Cython now runs under Python 3.x using the 2to3 tool * unittest support for doctests in Cython modules * Optimised handling of C strings (char*): for c in cstring[2:50] and cstring.decode() * Looping over c pointers: for i in intptr[:50]. * Many other optimisation, e.g. enumerate() loops, parallel swap assignments (a,b = b,a), and unicode.encode() * More complete numpy.pxd * pyximport improvements * cython_freeze improvements * Many bug fixes There has also been a lot of work behind the scenes to improve temp handling, streamline writing optimizations, and cleanup code in general. == Semantic Changes == This revision to introduces some backwards incompatible changes to more closely align Cython with the Python language. They are * Division involving negative C integers now follow Python semantics rather than C semantics. Division by zero also now raises a Python exception. See enhancements/division This has been optional for several releases, and is now the default. It can be disabled on a per-function or per-file basis, or from the command line (see [[enhancements/compilerdirectives]]) * Unmarked strings are now of type str in both Python 2.x (becoming byte strings) and Python 3.x (becoming unicode strings). Byte strings may be marked as b"..." and unicode strings as u"..." no matter what the runtime environment. See enhancements/stringliterals * The boolean expressions x or y and x and y return either x or y just like in Python, even when x and y are c types. This means that the types must be compatible. Previously x and y were coerced into truth values first, and either 1 or 0 was returned. == Contributors to this release == * Peter Alexander * Stefan Behnel * Robert Bradshaw * David Cournapeau * Lisandro Dalcin * Mark Lodato * Sturla Molden * Holger Rapp * Dag Sverre Seljebotn Thanks also to everybody who's helping us out in our discussions on the mailing list. ---- CategoryReleaseNotes debian/changelogs/ReleaseNotes-0.170000664000000000000000000001475412314361300014205 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.17 on Thu Sep 20 11:28:57 EDT 2012\n = Cython 0.17 = * Release date: September 1, 2012 * Downloads: * http://cython.org/release/Cython-0.17.tar.gz http://cython.org/release/Cython-0.17.tar.gz.md5 * http://cython.org/release/Cython-0.17.zip http://cython.org/release/Cython-0.17.zip.md5 * Git: https://github.com/cython/cython/commit/284a24237a6c05f6b0ddf774a529a3d3829bd1a0 The bug tracker has a http://trac.cython.org/cython_trac/query?status=closed&group=component&order=id&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&milestone=0.17&desc=1. == Features == * Alpha quality support for compiling and running Cython generated extension modules in `PyPy` (through cpyext). Note that this requires at least`PyPy` 1.9 and in many cases also adaptations in user code, especially to avoid borrowed references when no owned reference is being held directly in C space (a reference in a Python list or dict is not enough, for example). See the documentation on http://docs.cython.org/src/userguide/pypy.html. * "yield from" is supported (http://www.python.org/dev/peps/pep-0380/) and a couple of minor problems with generators were fixed. * C++ STL container classes automatically coerce from and to the equivalent Python container types on typed assignments and casts. Usage examples are https://github.com/cython/cython/blob/master/tests/run/cpp_stl_conversion.pyx. Note that the data in the containers is copied during this conversion. * C++ iterators can now be iterated over using for x in cpp_container whenever cpp_container has begin() and end() methods returning objects satisfying the http://en.wikipedia.org/wiki/Iterator_pattern#C.2B.2B (that is, it can be incremented, dereferenced, and compared (for non-equality)). * cdef classes can now have C++ class members (provided a zero-argument constructor exists) * A new cpython.array standard cimport file allows to efficiently talk to the stdlib array.array data type in Python 2. Since CPython does not export an official C-API for this module, it receives special casing by the compiler in order to avoid setup overhead on user side. In Python 3, both buffers and memory views on the array type already worked out of the box with earlier versions of Cython due to the native support for the buffer interface in the Py3 array module. * Fast dict iteration is now enabled optimistically also for untyped variables when the common iteration methods are used. * The unicode string processing code was adapted for the upcoming CPython 3.3 (http://www.python.org/dev/peps/pep-0393/, new Unicode buffer layout). * Buffer arguments and memory view arguments in Python functions can be declared "not None" to raise a TypeError on None input. * c(p)def functions in pure mode can specify their return type with "@cython.returns()". * Automatic dispatch for fused functions with memoryview arguments * Support newaxis indexing for memoryviews * Support decorators for fused functions == General Improvements and Bug Fixes == * Old-style Py2 imports did not work reliably in Python 3.x and were broken in Python 3.3. Regardless of this fix, it's generally best to be explicit about relative and global imports in Cython code because old-style imports have a higher overhead. To this end, "from __future__ import absolute_import" is supported in Python/Cython 2.x code now (previous versions of Cython already used it when compiling Python 3 code). * Stricter constraints on the inline and final modifiers. If your code does not compile due to this change, chances are these modifiers were previously being ignored by the compiler and can be removed without any performance regression. * Exceptions are always instantiated while raising them (as in Python), instead of risking to instantiate them in potentially unsafe situations when they need to be handled or otherwise processed. * locals() properly ignores names that do not have Python compatible types (including automatically inferred types). * Some garbage collection issues of memory views were fixed. * User declared char* types are now recognised as such and auto-coerce to and from Python bytes strings. * libc.string provides a convenience declaration for const uchar in addition to const char. * Modules generated by @cython.inline() are written into the directory pointed to by the environment variable CYTHON_CACHE_DIR if set. * numpy.pxd compiles in Python 3 mode. * callable() and next() compile to more efficient C code. * list.append() is faster on average. * Several C compiler warnings were fixed. * Several bugs related to memoryviews and fused types were fixed. * Several bug-fixes and improvements related to cythonize(), including ccache-style caching. == Contributors == Many thanks to all people who contributed to this release: * Stefan Behnel * Robert Bradshaw * Matthew Brett * Steven Byrnes * Eric Chlebek * Andreas van Cranenburgh * Mark Florisson * Bradley M. Froehle * Yaroslav O. Halchenko * Vitja Makarov * Peinthor Rene * Benjamin RK * Dag Sverre Seljebotn * Dimitri Tcaciuc * Gregor Thalhammer * Peter Todd * Mathieu Virbel == Beta releases == === Cython 0.17 beta 4 - final release candidate === * Release date: August 30, 2012 * Downloads: * http://cython.org/release/Cython-0.17b4.tar.gz http://cython.org/release/Cython-0.17b4.tar.gz.md5 * http://cython.org/release/Cython-0.17b4.zip http://cython.org/release/Cython-0.17b4.zip.md5 * Git: https://github.com/cython/cython/commit/b52445085ae108411936ab8f820e2a792b1eac3a === Cython 0.17 beta 3 - release candidate === * Release date: August 23, 2012 * Downloads: * http://cython.org/release/Cython-0.17b3.tar.gz http://cython.org/release/Cython-0.17b3.tar.gz.md5 * http://cython.org/release/Cython-0.17b3.zip http://cython.org/release/Cython-0.17b3.zip.md5 * Git: https://github.com/cython/cython/commit/5b0e8f8b96e353ac6d12d54f86babee9ff6f1bf8 === Cython 0.17 beta 2 === * Release date: August 8, 2012 * Downloads: * http://cython.org/release/Cython-0.17b2.tar.gz http://cython.org/release/Cython-0.17b2.tar.gz.md5 * http://cython.org/release/Cython-0.17b2.zip http://cython.org/release/Cython-0.17b2.zip.md5 * Git: https://github.com/cython/cython/commit/77f167a05db6108c3e2982e4e376719621140668 === Cython 0.17 beta 1 === * Release date: July 23, 2012 * Downloads: * http://cython.org/release/Cython-0.17.beta1.tar.gz http://cython.org/release/Cython-0.17.beta1.tar.gz.md5 * Git: https://github.com/cython/cython/commit/9fbfeebf6c8ea939df3b96299e698f556d0db058 debian/changelogs/ReleaseNotes-0.140000664000000000000000000001237112314361300014173 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.14 on Sat Jun 30 12:28:28 EDT 2012\n = Cython 0.14 = * Release date: December 14, 2010 * Download: http://cython.org/release/Cython-0.14.tar.gz http://cython.org/release/Cython-0.14.zip The Cython project is happy to announce the release of Cython 0.14. This release fixes several bugs in the previous 0.13 release, improved debugging and build support, and heavily improves Python compatibility in terms of supported features. The bug tracker has a http://trac.cython.org/cython_trac/query?status=closed&group=component&order=id&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&milestone=0.14&desc=1 == New Features == * Python classes can now be nested and receive a proper closure at definition time. * Redefinition is supported for Python functions, even within the same scope. * Lambda expressions are supported in class bodies and at the module level. * Metaclasses are supported for Python classes, both in Python 2 and Python 3 syntax. The Python 3 syntax (using a keyword argument in the type declaration) is preferred and optimised at compile time. * "final" extension classes prevent inheritance in Python space. This feature is available through the new "cython.final" decorator. In the future, these classes may receive further optimisations. * "internal" extension classes do not show up in the module dictionary. This feature is available through the new "cython.internal" decorator. * Extension type inheritance from builtin types, such as "cdef class MyUnicode(unicode)", now works without further external type redeclarations (which are also strongly discouraged now and continue to issue a warning). * GDB support. http://docs.cython.org/src/userguide/debugging.html * A new build system with support for inline distutils directives, correct dependency tracking, and parallel compilation. http://wiki.cython.org/enhancements/distutils_preprocessing * Support for dynamic compilation at runtime via the new cython.inline function and cython.compile decorator. http://wiki.cython.org/enhancements/inline == General improvements and bug fixes == * In parallel assignments, the right side was evaluated in reverse order in 0.13. This could result in errors if it had side effects (e.g. function calls). * In some cases, methods of builtin types would raise a SystemError instead of an AttributeError when called on None. * Constant tuples are now cached over the lifetime of an extension module, just like CPython does. Constant argument tuples of Python function calls are also cached. * Closures have tightened to include exactly the names used in the inner functions and classes. Previously, they held the complete locals of the defining function. * "nogil" blocks are supported when compiling pure Python code by writing "with cython.nogil". * The builtin "next()" function in Python 2.6 and later is now implemented internally and therefore available in all Python versions. This makes it the preferred and portable way of manually advancing an iterator. * In addition to the previously supported inlined generator expressions in 0.13, "sorted(genexpr)" can now be used as well. Typing issues were fixed in "sum(genexpr)" that could lead to invalid C code being generated. Other known issues with inlined generator expressions were also fixed that make upgrading to 0.14 a strong recommendation for code that uses them. Note that general generators and generator expressions continue to be not supported. * Iterating over arbitrary pointer types is now supported, as is an optimized version of the in operator, e.g. x in ptr[a:b]. * Inplace arithmetic operators now respect the cdivision directive and are supported for complex types. == Incompatible changes == * Typing a variable as type "complex" previously gave it the Python object type. It now uses the appropriate C/C++ double complex type. A side-effect is that assignments and typed function parameters now accept anything that Python can coerce to a complex, including integers and floats, and not only complex instances. * Large integer literals pass through the compiler in a safer way. To prevent truncation in C code, non 32-bit literals are turned into Python objects if not used in a C context. This context can either be given by a clear C literal suffix such as "UL" or "LL" (or "L" in Python 3 code), or it can be an assignment to a typed variable or a typed function argument, in which case it is up to the user to take care of a sufficiently large value space of the target. * Python functions are declared in the order they appear in the file, rather than all being created at module creation time. This is consistent with Python and needed to support, for example, conditional or repeated declarations of functions. In the face of circular imports this may cause code to break, so a new --disable-function-redefinition flag was added to revert to the old behavior. This flag will be removed in a future release, so should only be used as a stopgap until old code can be fixed. == Contributors == Many people contributed to this release, including: * Haoyu Bai * Stefan Behnel * Robert Bradshaw * Ondrej Certik * Lisandro Dalcin * Mark Florisson * Eric Huss * Vitja Makarov * Corbin Simpson * Kurt Smith ---- CategoryReleaseNotes debian/changelogs/ReleaseNotes-0.160000664000000000000000000000630412314361300014174 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.16 on Sat Jun 30 12:28:26 EDT 2012\n = Cython 0.16 = * Release date: April 21, 2012 * Downloads: * http://cython.org/release/Cython-0.16.tar.gz * http://cython.org/release/Cython-0.16.zip * http://cython.org/release/Cython-0.16.md5 * Git: * https://github.com/cython/cython/commit/966ecfbb81a7ffedf6a716cc6c3eaa2068c23987 The bug tracker has a http://trac.cython.org/cython_trac/query?status=closed&group=component&order=id&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&milestone=0.16&desc=1 == Features == * Enhancements to Cython's function type (support for weak references, default arguments, code objects, dynamic attributes, classmethods, staticmethods, and more) * Fused Types - Template-like support for functions and methods http://wiki.cython.org/enhancements/fusedtypes (https://sage.math.washington.edu:8091/hudson/job/cython-docs/doclinks/1/src/userguide/fusedtypes.html ) * Typed views on memory - Support for efficient direct and indirect buffers (indexing, slicing, transposing, ...) http://wiki.cython.org/enhancements/array (https://sage.math.washington.edu:8091/hudson/job/cython-docs/doclinks/1/src/userguide/memoryviews.html ) * super() without arguments * Final cdef methods (which translate into direct calls on known instances) == General Improvements and Bug Fixes == * support default arguments for closures * search sys.path for pxd files * support C++ template casting * faster traceback building and faster generator termination * support inplace operators on indexed buffers * fix alignment handling for record types in buffer support * allow nested prange sections == Contributors == Many thanks to all people who contributed to this release: * Angus McMorland * Armon Dadgar * Bradley M. Froehle * Charles Grunwald (Juntalis) * Dag Sverre Seljebotn * David Cournapeau * Dimitri Tcaciuc * Gordin * Gregor Thalhammer * Inada Naoki * Jeff Ramnani * Jerome Kieffer * Kurt Smith * Lars Buitinck * Lisandro Dalcin * Mansour Moufid * Mark Florisson * Mark Peek * Matthew Brett * Ralf Schmitt * Robert Bradshaw * Stefan Behnel * Thomas Lotze * Vitja Makarov * Vladimir Cerny * Yury V. Zaytsev == Release Candidates == = Cython 0.16 Release Candidate 2 = * Release date: April 15, 2012 * Downloads: * http://cython.org/release/Cython-0.16rc2.tar.gz * http://cython.org/release/Cython-0.16rc2.zip * http://cython.org/release/Cython-0.16rc2.md5 = Cython 0.16 Release Candidate 1 = * Release date: April 12, 2012 * Downloads: * http://cython.org/release/Cython-0.16rc1.tar.gz * http://cython.org/release/Cython-0.16rc1.zip * http://cython.org/release/Cython-0.16rc1.md5 = Cython 0.16 Release Candidate 0 = * Release date: March 31, 2012 * Downloads: * http://cython.org/release/Cython-0.16rc0.tar.gz * http://cython.org/release/Cython-0.16rc0.zip * http://cython.org/release/Cython-0.16rc0.md5 = Cython 0.16 β = * Release date: Februari 26, 2012 * Downloads: * http://cython.org/release/Cython-0.16.beta0.tar.gz * http://cython.org/release/Cython-0.16.beta0.zip * http://cython.org/release/Cython-0.16.beta0.md5 debian/changelogs/ReleaseNotes-0.150000664000000000000000000000620312314361300014171 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.15 on Sat Jun 30 12:28:27 EDT 2012\n = Cython 0.15 = * Release date: August 5, 2011 * Download: http://cython.org/release/Cython-0.15.tar.gz == Major Features == * Generators (yield) - Cython has full support for generators, generator expressions and http://www.python.org/dev/peps/pep-0342/ coroutines. * The nonlocal keyword is supported. * Re-acquiring the gil: with gil - works as expected within a nogil context. * OpenMP support: http://docs.cython.org/0.15/src/userguide/parallelism.html. * Control flow analysis prunes dead code and emits warnings and errors about uninitialised variables. * Debugger command cy set to assign values of expressions to Cython variables and cy exec counterpart $cy_eval(). * Exception chaining http://www.python.org/dev/peps/pep-3134/. * Relative imports http://www.python.org/dev/peps/pep-0328/. * Improved http://docs.cython.org/0.15/src/tutorial/pure.html including cython.cclass, cython.cfunc, and cython.ccall. * The with statement has its own dedicated and faster C implementation. * Support for del. * Boundschecking directives implemented for builtin Python sequence types. * Several updates and additions to the shipped https://github.com/cython/cython/tree/master/Cython/Includes. * Forward declaration of types is no longer required for circular references. Note: this will be the last release to support Python 2.3; Python 2.4 will be supported for at least one more release. == General improvements and bug fixes == This release contains over a thousand commits including hundreds of bugfixes and optimizations. The bug tracker has not been as heavily used this release cycle, but is still an interesting http://trac.cython.org/cython_trac/query?status=closed&group=component&order=id&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=owner&col=component&milestone=0.15&desc=1 == Incompatible changes == * Uninitialized variables are no longer initialized to None and accessing them has the same semantics as standard Python. * globals() now returns a read-only dict of the Cython module's globals, rather than the globals of the first non-Cython module in the stack * Many C++ exceptions are now special cased to give closer Python counterparts. This means that except+ functions that formerly raised generic RuntimeErrors may raise something else such as ArithmeticError. == Known regressions == * The inlined generator expressions (introduced in Cython 0.13) were disabled in favour of full generator expression support. This breaks code that previously used them inside of cdef functions (usage in def functions continues to work) and induces a performance regression for cases that continue to work but that were previously inlined. We hope to reinstate this feature in the near future. == Contributors == Many thanks to: Francesc Alted, Haoyu Bai, Stefan Behnel, Robert Bradshaw, Lars Buitinck, Lisandro Dalcin, John Ehresman, Mark Florisson, Christoph Gohlke, Jason Grout, Chris Lasher, Vitja Makarov, Brent Pedersen, Dag Sverre Seljebotn, Nathaniel Smith, and Pauli Virtanen ---- CategoryReleaseNotes debian/changelogs/ReleaseNotes-0.15.10000664000000000000000000000122712314361300014331 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.15.1 on Sat Jun 30 12:28:27 EDT 2012\n = Cython 0.15.1 = * Release date: September 19, 2011 * Download: http://cython.org/release/Cython-0.15.1.tar.gz This is a bugfix-only release. == Bug fixes == http://trac.cython.org/cython_trac/query?group=component&milestone=0.15.1&order=priority&col=id&col=summary&col=owner&col=type&col=priority&col=component&col=resolution https://github.com/cython/cython/compare/0.15...0.15.1 == Contributors == Stefan Behnel, Robert Bradshaw, Armon Dadgar, Mark Florisson, Gordin, Angus McMorland, Vitja Makarov, Ralf Schmitt, and Yury V. Zaytsev ---- CategoryReleaseNotes debian/changelogs/ReleaseNotes-0.17.10000664000000000000000000000210312314361300014325 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.17.1 on Sat Sep 29 19:01:38 EDT 2012\n = Cython 0.17.1 = * Release date: September 26, 2012 * Downloads: * http://cython.org/release/Cython-0.17.1.tar.gz http://cython.org/release/Cython-0.17.1.tar.gz.md5 * http://cython.org/release/Cython-0.17.1.zip http://cython.org/release/Cython-0.17.1.zip.md5 * Git: https://github.com/cython/cython/commit/91a3e0388328156f92d5a5b96a79d4d4355456c9 The bug tracker has a http://trac.cython.org/cython_trac/query?status=closed&group=component&order=id&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&milestone=0.17.1&desc=1. == General Improvements and Bug Fixes == * A reference leak was fixed in the new dict iteration code when the loop target was not a plain variable but an unpacked tuple. * Memory views did not handle the special case of a NULL buffer strides value, as allowed by PEP3118. == Contributors == Many thanks to all people who contributed to this release: * Stefan Behnel * Mark Florisson * Christoph Groth ---- CategoryReleaseNotes debian/changelogs/ReleaseHistory0000664000000000000000000001553512314361300014171 0ustar Fetched from http://wiki.cython.org/ReleaseHistory on Mon Dec 3 11:21:48 EST 2012\n There seems to be no list of releases available on the web. These are collected from the mailing list. It is not complete, but is probably already useful so that people can see if it worth upgrading to the latest version. The current release is always linked to from the main site, old releases can be found at http://cython.org/release/. The latest changelog is available in the source tree: for the https://github.com/cython/cython/blob/master/CHANGES.rst and for https://github.com/cython/cython/blob/0.17/CHANGES.rst. * [[ReleaseNotes-0.17.1]] * [[ReleaseNotes-0.17]] * [[ReleaseNotes-0.16]] * [[ReleaseNotes-0.15.1]] * [[ReleaseNotes-0.15]] * [[ReleaseNotes-0.14.1]] * [[ReleaseNotes-0.14]] * [[ReleaseNotes-0.13]] * [[ReleaseNotes-0.12.1]] * [[ReleaseNotes-0.12]] * [[ReleaseNotes-0.11.2]] = 0.10 = Date: 2008-11-09 There are lots of new features, most notably pure python compatible syntax for cython declarations, improved buffer support, better Python 3.0 support, and some major re-factoring of temporary allocation and code generation. There are also many bug fixes and optimizations. http://trac.cython.org/cython_trac/query?group=component&milestone=0.10 http://cython.org/Cython-0.10.tar.gz http://cython.org/Cython-0.10.zip http://article.gmane.org/gmane.comp.python.cython.devel/3534 = 0.9.8.1 = Date: 2008-08-19 The largest addition was Dag Seljebotn's buffer support which is amazing. Kudos to him for all his hard work (and to Enthought/Google for funding him this summer). Part of this effort involved moving to a pipeline/transformation based compilation system, which has allowed for many other nice features (e.g. long if statements get translated into c switch statements if possible). Another big inclusion is Paul Prescod's pyximport. Now one can simply start up Python and type import pyximport; pyximport.install() import foo which will compile foo.pyx for you. We would like to be able to (optionally) specify all options via directives in the files themselves, which would make this even more useful. There are numerous fixes and improvements by Stefan Behnel, Dag Seljebotn, and Robert Bradshaw that are not listed here. Among them are better support for Py3, unicode, C++, literals, testing framework, etc. We also merged patches by Jim Kleckner, Hoyt Koepke, Marcus Bitzl, Kirill Smelkov, and Carl Witty. http://www.cython.org/Cython-0.9.8.1.zip http://www.cython.org/Cython-0.9.8.1.tar.gz http://article.gmane.org/gmane.comp.python.cython.devel/2650 = 0.9.8 = Date: 2008-06-13 * everything that was done in Pyrex 0.9.8.x that wasn't in Cython already * faster compilation * more optimisations * stricter warnings about potential coding problems (e.g. when using nogil) * support for Python 2.6 * __future__ imports for unicode literals Due to very recent changes in the Python code base, this release does not yet compile code for Python 3.0beta1, but it's well prepared so that when 3.0beta1 finally comes out, we can provide a quick update to make your code compile with anything from Python 2.3 to 3.0. http://www.cython.org/Cython-0.9.8.zip http://www.cython.org/Cython-0.9.8.tar.gz = 0.9.6.14 = Date: 2008-05-02 Cython 0.9.6.14 is out. This is mostly a bugfix release, however there are several other improvements, notably: * Source code encoding support (PEP 263) and UTF-8 default source encoding (PEP 3120) (Stefan Behnel) * New command line option -w to change the working directory when running Cython (Gary Furnish) * L.append(x) now optimized if L a (runtime) list (Robert Bradshaw) * Cdef variables may be declared python builtin types (CEP 507), though there is much more potential for optimization (Robert Bradshaw) * Enums declared "public" will get exported to the (python-accessible) module namespace (Robert Bradshaw) * Correct special float values (Christian Heimes/Stefan Behnel) http://www.cython.org/Cython-0.9.6.14.zip http://www.cython.org/Cython-0.9.6.14.tar.gz = 0.9.6.13 = Date: 2008-04-05 * C++ exception handling (Felix Wu) * (optional) C line numbers in Errors (Gary Furnish) * some circular cimports (Gary Furnish) * (experimental) parse tree transforms (Dag Seljebotn) * struct member functions automatically coerced to function pointers (for easier C++ wrapping) * no unneeded incref on function arguments * allow single-character ascii literals to be used as ints (no need for c'x' notation) * better support for using arrays as pointers There are also several bugfixes and pre-Py3K changes due to Robert Bradshaw, Stefan Behnel, Jum Kleckner, and Chris Perkins. The compiler and package repositories have been merged, and while all history has been preserved it is a completely new repository now. http://www.cython.org/Cython-0.9.6.13.1.zip http://www.cython.org/Cython-0.9.6.13.1.tar.gz = 0.9.6.12 = Date: 2008-02-14 04:42:01 The most significant change is more flexible c(p)def functions and overriding. Specifically, c(p)def functions can now: * have optional arguments (which may grow) * be defined in the module scope * are always cimport-able if defined in the .pxd (i.e. "api" by default) * declare narrower return types than the superclass * cpdef can override cdef There are also better conversions ( does a type-checked cast, x does the right thing), and numerous optimizations (especially with regard to python function tuple unpacking) and bugfixes, and a much expanded testing framework. For more details, see the end of http://wiki.cython.org/DifferencesFromPyrex and the changelog at http://hg.cython.org/ http://www.cython.org/Cython-0.9.6.12.zip http://www.cython.org/Cython-0.9.6.12.tar.gz = 0.9.6.10 = Date: 2007-12-29 The only significant changes are more correct overflow handling (e.g. on assignment to a short, etc.) and automatic conversion "for i in range(n)" to "for i from 0 <= i < n". There are also a couple of smaller bug fixes. = 0.9.6.8 = Date: 2007-11-01 The primary feature of this release is merging in the changes/ bugfixed of Pyrex 0.9.6.3. There are numerous other bugfixes (including several memory leak and refcount fixes) and rdef has been renamed to cpdef (its final name). = 0.9.6.7 = Date: 2007-10-11 * GIL handling code * support of keyword-only arguments * Class-level executable bodies for cdef classes, including a working classmethod() * RichCmp instead of Cmp for <, <=, ==, ... operators (for consistency with interpreted python) * interned integer constants * several bug fixes (of which there is some overlap with the recent Pyrex release) and optimizations. There is also a new experimental type of function, rdef (formerly cdef overridable, but the syntax is still up for debate), which is a cdef function which is callable from python (via an auto-generated def function) and can be overriden in pure-python subclasses. debian/changelogs/skip0000664000000000000000000000017312314361300012165 0ustar # Enter here upstream versions which should not have changelogs fetched, e.g. 0.0.1 0.17~beta1 0.17~beta3 0.17~beta4+git15 debian/changelogs/ReleaseNotes-0.14.10000664000000000000000000000260012314361300014324 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.14.1 on Sat Jun 30 12:28:28 EDT 2012\n = Cython 0.14.1 = * Release date: February 4, 2011 * Download: http://cython.org/release/Cython-0.14.1.tar.gz The Cython project is happy to announce the release of Cython 0.14.1. This release is primarily a bug fix release. == New Features == * The gdb debugging support was extended to include all major Cython features, including closures. * raise MemoryError() is now safe to use as Cython replaces it with the correct C-API call. == General improvements and bug fixes == The bug tracker has a http://trac.cython.org/cython_trac/query?status=closed&group=component&order=id&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&milestone=0.14.1&desc=1 == Incompatible changes == * Decorators on special methods of cdef classes now raise a compile time error rather than being ignored. * In Python 3 language level mode (-3 option), the 'str' type is now mapped to 'unicode', so that cdef str s declares a Unicode string even when running in Python 2. == Contributors == Many people contributed to this release, including: * Stefan Behnel * Alexey Borzenkov * Robert Bradshaw * Lisandro Dalcin * Mark Florisson * W. Trevor King * Vitja Makarov A special thanks also to the many people who did testing and contributed useful bug reports. ---- CategoryReleaseNotes debian/changelogs/ReleaseNotes-0.11.20000664000000000000000000000267612314361300014337 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.11.2 on Sat Jun 30 12:28:30 EDT 2012\n = Cython 0.11.2 = * Release date: May 20th 2009 I'm happy to announce the release of Cython 0.11.2. http://cython.org/Cython-0.11.2.tar.gz http://cython.org/Cython-0.11.2.zip New features: * There's now native complex floating point support! C99 complex will be used if complex.h is included, otherwise explicit complex arithmetic working on all C compilers is used. [Robert Bradshaw] cdef double complex a = 1 + 0.3j cdef np.ndarray[np.complex128_t, ndim=2] arr = \ np.zeros(10, np.complex128) * Cython can now generate a main()-method for embedding of the Python interpreter into an executable (see #289) [Robert Bradshaw] * @wraparound directive (another way to disable arr[idx] for negative idx) [Dag Sverre Seljebotn] * Correct support for NumPy record dtypes with different alignments, and "cdef packed struct" support [Dag Sverre Seljebotn] * @callspec directive, allowing custom calling convention macros [Lisandro Dalcin] * Bug fixes and smaller improvements. For the full list, see [1]. == Contributors to this release == * Stefan Behnel * Robert Bradshaw * Lisandro Dalcin * Dag Sverre Seljebotn Thanks also to everybody who's helping us out in our discussions on the mailing list. [1] http://trac.cython.org/cython_trac/query?group=component&milestone=0.11.2&resolution=fixed -- Dag Sverre Seljebotn ---- CategoryReleaseNotes debian/changelogs/ReleaseNotes-0.17.20000664000000000000000000000260412314361300014334 0ustar Obtained from the release announcement email 0.17.2 (2012-11-20) =================== Features added -------------- * ``cythonize()`` gained a best effort compile mode that can be used to simply ignore .py files that fail to compile. Bugs fixed ---------- * Replacing an object reference with the value of one of its cdef attributes could generate incorrect C code that accessed the object after deleting its last reference. * C-to-Python type coercions during cascaded comparisons could generate invalid C code, specifically when using the 'in' operator. * "obj[1,]" passed a single integer into the item getter instead of a tuple. * Cyclic imports at module init time did not work in Py3. * The names of C++ destructors for template classes were built incorrectly. * In pure mode, type casts in Cython syntax and the C ampersand operator are now rejected. Use the pure mode replacements instead. * In pure mode, C type names and the sizeof() function are no longer recognised as such and can be used as normal Python names. * The extended C level support for the CPython array type was declared too late to be used by user defined classes. * C++ class nesting was broken. * Better checking for required nullary constructors for stack-allocated C++ instances. * Remove module docstring in no-docstring mode. * Fix specialization for varargs function signatures. * Fix several compiler crashes. debian/changelogs/ReleaseNotes-0.130000664000000000000000000001204412314361300014167 0ustar Fetched from http://wiki.cython.org/ReleaseNotes-0.13 on Sat Jun 30 12:28:29 EDT 2012\n = Cython 0.13 = * Release date: August 25, 2010 * Download: http://cython.org/release/Cython-0.13.tar.gz http://cython.org/release/Cython-0.13.zip The Cython project is happy to announce the release of Cython 0.13. This release sets another milestone on the path towards Python compatibility and brings major new features and improvements for the usability of the Cython language. == New Features == * Closures are fully supported for Python functions. Cython supports inner functions and lambda expressions. Generators and generator expressions are __not__ supported in this release. * Proper C++ support. Cython knows about C++ classes, templates and overloaded function signatures, so that Cython code can interact with them in a straight forward way. * Type inference is enabled by default for safe C types (e.g. double, bint, C++ classes) and known extension types. This reduces the need for explicit type declarations and can improve the performance of untyped code in some cases. There is also a verbose compile mode for testing the impact on user code. * Cython's for-in-loop can iterate over C arrays and sliced pointers. The type of the loop variable will be inferred automatically in this case. * The Py_UNICODE integer type for Unicode code points is fully supported, including for-loops and 'in' tests on unicode strings. It coerces from and to single character unicode strings. Note that untyped for-loop variables will automatically be inferred as Py_UNICODE when iterating over a unicode string. In most cases, this will be much more efficient than yielding sliced string objects, but can also have a negative performance impact when the variable is used in a Python context multiple times, so that it needs to coerce to a unicode string object more than once. If this happens, typing the loop variable as unicode or object will help. * The built-in functions any(), all(), sum(), list(), set() and dict() are inlined as plain `for` loops when called on generator expressions. Note that generator expressions are not generally supported apart from this feature. Also, tuple(genexpr) is not currently supported - use tuple([listcomp]) instead. * More shipped standard library declarations. The python_* and stdlib/stdio .pxd files have been deprecated in favor of clib.* and cpython[.*] and may get removed in a future release. == Python compatibility == * Pure Python mode no longer disallows non-Python keywords like 'cdef', 'include' or 'cimport'. It also no longer recognises syntax extensions like the for-from loop. * Parsing has improved for Python 3 syntax in Python code, although not all features are correctly supported. The missing Python 3 features are being worked on for the next release. * from __future__ import print_function is supported in Python 2.6 and later. Note that there is currently no emulation for earlier Python versions, so code that uses print() with this future import will require at least Python 2.6. * New compiler directive language_level (valid values: 2 or 3) with corresponding command line options -2 and -3 requests source code compatibility with Python 2.x or Python 3.x respectively. Language level 3 currently enforces unicode literals for unprefixed string literals, enables the print function (requires Python 2.6 or later) and keeps loop variables in list comprehensions from leaking. * Loop variables in set/dict comprehensions no longer leak into the surrounding scope (following Python 2.7). List comprehensions are unchanged in language level 2. * print >> stream == Incompatible changes == * The availability of type inference by default means that Cython will also infer the type of pointers on assignments. Previously, code like this cdef char* s = ... untyped_variable = s would convert the char* to a Python bytes string and assign that. This is no longer the case and no coercion will happen in the example above. The correct way of doing this is through an explicit cast or by typing the target variable, i.e. cdef char* s = ... untyped_variable1 = s untyped_variable2 = s cdef object py_object = s cdef bytes bytes_string = s * `bool` is no longer a valid type name by default. The problem is that it's not clear whether `bool` should refer to the Python type or the C++ type, and expecting one and finding the other has already led to several hard-to-find bugs. Both types are available for importing: you can use `from cpython cimport bool` for the Python `bool` type, and `from libcpp cimport bool` for the C++ type. `bool` is still a valid object by default, so one can still write `bool(x)`. * __getsegcount__ is now correctly typed to take a Py_size_t* rather than an int*. == Contributors == Many people contributed to this release, including: * David Barnett * Stefan Behnel * Chuck Blake * Robert Bradshaw * Craig Citro * Bryan Cole * Lisandro Dalcin * Eric Firing * Danilo Freitas * Christoph Gohlke * Dag Sverre Seljebotn * Kurt Smith * Erik Tollerud * Carl Witty ---- CategoryReleaseNotes debian/cython3-dbg.install0000664000000000000000000000006212314361300012670 0ustar usr/lib/python3*/*-packages/*/*/*.cpython-3?d*.so debian/patches/0000775000000000000000000000000012314361300010610 5ustar debian/patches/squeeze-dsc-patch0000664000000000000000000000144412314361300014063 0ustar From: Yaroslav Halchenko Subject: patch to build for squeeze Last-Update: 2012-12-15 diff --git a/debian/control b/debian/control index 7a17b37..3962b52 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,6 @@ Build-Depends: debhelper (>= 7.0.50~), python-numpy, python3-all-dev, python3-all-dbg, - python3-numpy Standards-Version: 3.9.3 Homepage: http://cython.org/ Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/cython/trunk diff --git a/debian/cython3-dbg.install b/debian/cython3-dbg.install index c687d67..2369b63 100644 --- a/debian/cython3-dbg.install +++ b/debian/cython3-dbg.install @@ -1 +1 @@ -usr/lib/python3*/*-packages/*/*/*.cpython-3?d*.so +usr/lib/python3*/*-packages/*/*/*_d.so debian/patches/series0000664000000000000000000000003412314361300012022 0ustar deb_disable_googleanalytics debian/patches/deb_disable_googleanalytics0000664000000000000000000000165612314361300016224 0ustar From: Yaroslav Halchenko Subject: Disable google analytics calls See http://lintian.debian.org/tags/privacy-breach-google-adsense.html for reasoning Origin: Debian Last-Update: 2014-03-25 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -2,13 +2,7 @@ {% block footer %} {{ super() }} - - + {% endblock %} debian/control0000664000000000000000000000631212323024670010574 0ustar Source: cython Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Python Applications Packaging Team Uploaders: Ondrej Certik , Yaroslav Halchenko Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~), python-all-dev (>= 2.6.6-3~), python-all-dbg, help2man (>= 1.37.1~), python-sphinx, python-numpy, python3-all-dev, python3-all-dbg, python3-numpy, gdb, Standards-Version: 3.9.5 Homepage: http://cython.org/ Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/cython/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/cython/trunk/ Package: cython Architecture: any Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} Recommends: python-dev, gcc Description: C-Extensions for Python Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known 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. Package: cython-dbg Architecture: any Section: debug Priority: extra Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, cython (= ${binary:Version}) Description: C-Extensions for Python - debug build This package contains Cython libraries built against versions of Python configured with --pydebug. Package: cython3 Architecture: any Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} Recommends: python3-dev, gcc Description: C-Extensions for Python 3 Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known 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. Package: cython3-dbg Architecture: any Section: debug Priority: extra Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}, cython3 (= ${binary:Version}) Description: C-Extensions for Python 3 - debug build This package contains Cython libraries built against versions of Python configured with --pydebug. Package: cython-doc Architecture: all Section: doc Depends: ${misc:Depends}, libjs-jquery, libjs-underscore Suggests: cython Description: C-Extensions for Python - documentation This package contains documentation for Cython. debian/compat0000664000000000000000000000000212314361300010357 0ustar 7 debian/rules0000775000000000000000000000771212323024453010255 0ustar #!/usr/bin/make -f # -*- makefile -*- include /usr/share/dpkg/pkg-info.mk # Apparently WGET agent is not favored by upstream's MoinMoin WGET_AGENT_STRING="Lynx/2.8.8dev.4 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/2.8.6" WGET=wget -q --user-agent=$(WGET_AGENT_STRING) WIKI_URL=http://wiki.cython.org # Python versions PYDEF=$(shell pyversions -dv) PY2VERS=$(shell pyversions -vr) PY3VERS=$(shell py3versions -vr) # In case matplotlib or anything else inquires export HOME=$(CURDIR)/build export MPLCONFIGDIR=$(CURDIR)/build %: dh $@ --with python2,python3 --buildsystem python_distutils override_dh_auto_build: dh_auto_build : # Build for Python 3 set -e; for v in $(PY3VERS); do \ python$$v setup.py build; \ python$$v-dbg setup.py build; \ done override_dh_auto_install: dh_auto_install : # Install for Python 3 set -e; for v in $(PY3VERS); do \ python$$v setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \ python$$v-dbg setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \ done : # Force the creation of cython3 and cygdb3 executables. : # Shebang lines are fixed in override_dh_install. cp debian/tmp/usr/bin/cython debian/tmp/usr/bin/cython3 cp debian/tmp/usr/bin/cygdb debian/tmp/usr/bin/cygdb3 override_dh_installman: : # Generate a manpage using help2man PYTHONPATH=`/bin/ls -d $(CURDIR)/build/lib.*-$(PYDEF)` \ help2man --no-info --no-discard-stderr \ -n "compile Cython code (.pyx) into C to build a Python extension" \ bin/cython >| build/cython.1 : # Verify that manpage generated nicely -- no Errors reported grep -q 'ImportError:' build/cython.1 && exit 1 || : dh_installman build/cython.1 override_dh_install: dh_install : # fix shebang sed -i -e '1 s,#!.*python.*,#!/usr/bin/python,' debian/cython/usr/bin/* sed -i -e '1 s,#!.*python.*,#!/usr/bin/python3,' debian/cython3/usr/bin/* : # remove files installed from cython.install that belong in -dbg find $(CURDIR)/debian/cython/ -name "*_d.so" -delete find $(CURDIR)/debian/cython3/ -name "*.cpython-3?d*.so" -delete : # share -dbg and normal package doc dirs rm -rf debian/cython-dbg/usr/share/doc/cython-dbg dh_link -pcython-dbg usr/share/doc/cython usr/share/doc/cython-dbg rm -rf debian/cython3-dbg/usr/share/doc/cython3-dbg dh_link -pcython3-dbg usr/share/doc/cython3 usr/share/doc/cython3-dbg # add debian version to watermark of generated files set -e; for v in $(PY2VERS); do \ sed -i -e "s/ on / (Debian $(DEB_VERSION)) on /" \ debian/cython/usr/lib/python$$v/dist-packages/Cython/Compiler/Version.py; \ done sed -i -e "s/ on / (Debian $(DEB_VERSION)) on /" \ debian/cython3/usr/lib/python3/dist-packages/Cython/Compiler/Version.py override_dh_installdocs: : # Build Documentation ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) ifneq (,$(findstring -a,$(DH_INTERNAL_OPTIONS))) : # not building documentation in -a : # just faking having documentation so that dh-installdocs doesn't fail mkdir -p docs/build/html else make -C docs html : # Use jquery/underscore from Debian package, so prune shipped one -rm docs/build/html/_static/jquery.js docs/build/html/_static/underscore.js endif endif dh_installdocs --package=cython --package=cython-dbg --link-doc=cython debian/upstream dh_installdocs --package=cython3 --package=cython3-dbg --link-doc=cython3 debian/upstream dh_installdocs --package=cython-doc debian/upstream override_dh_installchangelogs: dh_installchangelogs --all CHANGES.rst override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) set -e; for P in $(PY2VERS) $(PY3VERS); do \ PYTHONPATH=`/bin/ls -d $(CURDIR)/build/lib.*-$$P` \ /usr/bin/python$$P runtests.py --no-refnanny -v -v --exclude="parallel" --work-dir=build/work-dir; \ done endif override_dh_python2: dh_python2 -pcython override_dh_python3: dh_python3 -pcython3 override_dh_strip: dh_strip -pcython --dbg-package=cython-dbg dh_strip -pcython3 --dbg-package=cython3-dbg override_dh_auto_clean: rm -rf build find -name "*.py[oc]" -type f -delete debian/upstream0000664000000000000000000000100612314361300010741 0ustar Bug-Database: http://trac.cython.org/cython_trac/ Contact: https://groups.google.com/forum/?fromgroups#!forum/cython-users FAQ: http://wiki.cython.org/FAQ Repository: git://github.com/cython/cython.git Repository-Browse: https://github.com/cython/cython Reference: - Author: Stefan Behnel Title: "Cython: The Best of Both Worlds" Journal: Computing in Science & Engineering Volume: 13 Number: 2 Pages: 31-39 Year: 2011 DOI: 10.1109/MCSE.2010.118 Funding: - Enthought Inc. - Google GSoC-2008, GSoC-2010 debian/cython-dbg.install0000664000000000000000000000004712314361300012610 0ustar usr/lib/python2*/*-packages/*/*/*_d.so