Revision 2cf211b3ddee48c2819e4dfc7dc656f1e5487938 (click the page title to view the current version)

sage

Changes from 2cf211b3ddee48c2819e4dfc7dc656f1e5487938 to daaf4966633409d6e5afa9334833f7122f9fae3e

* It would be nice to use and improve the independent Cython library [cypari](https://pypi.python.org/pypi/cypari) developed by M. Culler and N. Dunfield for [Snappy](http://www.math.uic.edu/t3m/SnapPy/). Have a look at the [cypari src]((https://pypi.python.org/pypi/cypari) stuck at version 2.5.5 of pari!!
* The file "gen.pyx" (Cython side) can be automatically generated from "pari.desc" (*easy modulo the documentation*)
* Implement error handling using [cb_pari_prehandle_exception](http://pari.math.u-bordeaux.fr/archives/pari-dev-1309/msg00002.html), see [Sage ticket #14894](http://trac.sagemath.org/14894)
* (done) Implement error handling using [cb_pari_err_handle], see [Sage ticket #14894](http://trac.sagemath.org/14894)
* Upgrade PARI! There is a huge difference between 2.7.X (stable release) and the current 2.8.X (git master). Hence effort put for versions 2.7.X will basically be useless for 2.8.X (see trac [Sage ticket #16997](http://trac.sagemath.org/16997))
* Talk about the patches
* Avoid copy from the pari stack. After each libpari function call in Sage, there is a copy of the result and cleaning of the pari stack. It should be possible to use pointer on the pari stack directly. It is not clear how much we will win as the results are often small (*needs some design discussion*)
* Join forces with other interface (i.e. gp, Julia)