Fix comparisons of RDF elements
Ticket 2352: univariate homogenize
Improved docstrings of homogenize() of polynomials
Make the libgap workspace timestamp less fragile
Set libdir when configuring libgap
Trac #2352: univariate homogenize is not the same as multivariate homogenize

Ticket #2349 fixes the multivariate case.  This ticket is for the
univariate case.  Some examples (these work after like this AFTER #2349
has been applied):

{{{
sage: x = Zmod(3)['x'].0; (x^2 + x).homogenize()
------------------------------------------------------------------------
---
<type 'exceptions.AttributeError'>        Traceback (most recent call
last)

/Users/ncalexan/<ipython console> in <module>()

<type 'exceptions.AttributeError'>:
'sage.rings.polynomial.polynomial_modn_dense_ntl.Po' object has no
attribute 'homogenize'
sage: x = PolynomialRing(Zmod(3), 1, 'x').0; (x^2 + x).homogenize()
x^2 + x*h
sage: x = GF(3)['x'].0; (x^2 + x).homogenize()
------------------------------------------------------------------------
---
<type 'exceptions.AttributeError'>        Traceback (most recent call
last)

/Users/ncalexan/<ipython console> in <module>()

<type 'exceptions.AttributeError'>:
'sage.rings.polynomial.polynomial_modn_dense_ntl.Po' object has no
attribute 'homogenize'
sage: x = PolynomialRing(GF(3), 1, 'x').0; (x^2 + x).homogenize()
x^2 + x*h
}}}

URL: http://trac.sagemath.org/2352
Reported by: ncalexan
Ticket author(s): Luis Felipe Tabera Alonso, Julian Rueth
Reviewer(s): Julian Rueth, Luis Felipe Tabera Alonso
Trac #16515: Every RDF number compares equal to NaN

Any number in !RealDoubleField compares equal to Python's floating-point
NaN (which is not even true of NaN itself):

{{{
sage: nan = float('nan')
sage: RDF(123) == nan
True
sage: nan == nan
False
}}}

This bit me quite easily: I used a Python script that converted a number
to RDF (imported from Sage) to take advantage of a built-in method, did
more calculations with it, and compared it with each of a sequence of
numbers that included a NaN value, which spuriously returned True.

URL: http://trac.sagemath.org/16515
Reported by: tcoffee
Ticket author(s): Jeroen Demeyer
Reviewer(s): Marc Mezzarobba
Trac #16728: libgap_workspace_2

The new saved-workspace feature fails under certain conditions:
{{{
        from sage.libs.gap.libgap import libgap
      File "libgap.pyx", line 776, in init sage.libs.gap.libgap
(build/cythonized/sage/libs/gap/libgap.c:6772)
      File "libgap.pyx", line 597, in sage.libs.gap.libgap.Gap.__init__
(build/cythonized/sage/libs/gap/libgap.c:4784)
      File "util.pyx", line 245, in sage.libs.gap.util.initialize
(build/cythonized/sage/libs/gap/util.c:4395)
      File "util.pyx", line 204, in sage.libs.gap.util.libgap_workspace
(build/cythonized/sage/libs/gap/util.c:4113)
    ValueError: max() arg is an empty sequence
}}}

URL: http://trac.sagemath.org/16728
Reported by: vbraun
Ticket author(s): Volker Braun
Reviewer(s): Ralf Stephan