#11726: Implement univariate Laurent polynomial rings
Fixed doctests in Hecke algebras and KL polys.
Fixes to doctest in Hall algebra and Laurent polynomial ring.
More fixes to doctests, coercion, and division.
trac #11726 fixed one failing doctest
Let bzip2 build shared libraries.
Autotoolify bzip2 based on Suse patch.
Fix libdir for autotoolified bzip2.
trac #11726 fix one doctest in the en tutorial for kazhdan lusztig polys
trac #11726 correct the other doctest in tutorial
Merge branch 'public/ticket/11726' of trac.sagemath.org:sage into 11726
trac #11726 implement floordiv for laurent polys in one variable
trac #11726 one failing doctest corrected
Add sage -docbuild -k option to keep going after errors
Trac 14895: fix segfault
14895: add doctest
when aborting wait until the end of the source file
Trac #15967: Let bzip2 install shared libraries

This is an issue on Cygwin because libtool will complain when trying to
link sahred libs to libbz2 which is only a (relocatable) archive right
now.

Use tarball at:
* http://boxen.math.washington.edu/home/jpflori/upstream/bzip2-1.0.6.201
40317.tar.gz

URL: http://trac.sagemath.org/15967
Reported by: jpflori
Ticket author(s): Jean-Pierre Flori
Reviewer(s): Sebastien Gouezel
Trac #14895: Segfault when exponentiating an integer with I.pyobject()

Try, for example, `2^I.pyobject()`.

This is a critical issue since any method of a class inheriting from
`BuiltinFunction` will receive the I pyobject if I is passed as an
argument to the function.

This in turn leads to segfaults like:
{{{
sage: K.<a> = NumberField(x^2+1)
sage: 2^a
}}}
or
{{{
sage: K.<sqrt2> = QuadraticField(2)
sage: 2^sqrt2
}}}

URL: http://trac.sagemath.org/14895
Reported by: eviatarbach
Ticket author(s): Ralf Stephan
Reviewer(s): Volker Braun
Trac #11726: Implement univariate Laurent polynomial ring & elements

At present, the implementation of univariate Laurent polynomials is
(self-admittedly) in a sorry state:

{{{
    ############################################################
    # This should later get moved to an actual single variate  #
    # implementation with valuation tracking,                  #
    # but I don't want to right now.                           #
    ############################################################
    # We need to come up with a name for the inverse that is easy to
search
    # for in a string *and* doesn't overlap with the name that we
already have.
    # For now, I'm going to use a name mangling with checking method.
}}}

This should be fixed.

Apply: [attachment:trac_11726-univariate_Laurent_polynomials-ts.patch​]

URL: http://trac.sagemath.org/11726
Reported by: boothby
Ticket author(s): Tom Boothby
Reviewer(s): Travis Scrimshaw, Ralf Stephan, Frédéric Chapoton