Trac #13626: implemented gcd for padics
Merge branch 'ticket/13626' into ticket/13626.2
Keep the order of facets and their normals consistent for cones.
Fix doctests.
Merge branch 'develop' into ticket/13626

Conflicts:
	src/sage/rings/padics/padic_generic_element.pyx
removed a strange unicode character from docstring
minor docstring fixes in p-adic gcd
fixed p-adic gcd(a,b) if a or b is zero
removed unused imports
Remove whitespaces from symbolic function names.
mentionned --> mentioned
Merge branch 'develop' into u/novoselt/sort_cone_facets

* develop: (1955 commits)
  Updated Sage version to 6.3.beta6
  Trac 12947: handle numerical noise correctly
  in doc of input-parameter: is_zero=None (= instead of ==)
  one Type, one ``...```, one PEP8
  removed trac reference, since this does not give additional information; operators-->operands
  rewrote def multioperand_add to lambda-function
  make def logical_and, def logical_or inline (lambda) functions
  Trac 13331: fix doctests on 32 bits
  Include labels if not lattice polytope is not fully-dimensional.
  Enhance is_Markov_chain to handle symbolic probabilities
  Force upgrade of Singular and fix doctests on 64 bits.
  Let Singular build with clang.
  Fixed repetition of error for super additive
  Reorder arguments description.
  Fixed docstring formatting.
  Trac 12880: reviewer patch
  Trac 11474: fix doctest that depended on the extended Cremona database
  trac #16186: transducers.add for arbitrary length input vectors
  New common transducers "all" and "or"
  New common transducer Wait
  ...
Ticket 13626: cosmetic changes
Merge branch 'u/novoselt/sort_cone_facets' into sort_cone_facets

* u/novoselt/sort_cone_facets:
  Fix doctests.
  Keep the order of facets and their normals consistent for cones.
Fix doctest that failed because of sorted facets.
added another doctest (function injection)
Trac #15860: spaces in function('A, B')

{{{
sage: function('A,B')
(A, B)
sage: A
A
sage: B
B
sage: function('C, D')
(C,  D)
sage: C
C
sage: D
------------------------------------------------------------------------
---
NameError                                 Traceback (most recent call
last)
<ipython-input-6-57b8d7453841> in <module>()
----> 1 D

NameError: name 'D' is not defined
}}}
IMHO {{{function('C, D')}}} should work, i.e., the function {{{D}}}
should be injected into the workspace.

The corresponding command with {{{var}}} works:
{{{
sage: var('c, d')
(c, d)
sage: c
c
sage: d
d
}}}

Further, the following works:
{{{
sage: C, D = function('C, D')
sage: C
C
sage: D
 D
}}}

This might also be related with the additional spacing, which occurs in
the following:
{{{
sage: C, D = function('C, D')
sage: C(D(x))
C( D(x))
}}}
(the space in {{{C( D(x))}}}, which should also be corrected (removed).

URL: http://trac.sagemath.org/15860
Reported by: dkrenn
Ticket author(s): Jan Keitel
Reviewer(s): Daniel Krenn
Trac #13626: implement gcd for padics

Currently, there is no gcd for padic numbers:
{{{
sage: R = Zp(3)
sage: R.one().gcd(R.zero())
AttributeError: 'sage.rings.padics.padic_capped_relative_element.pAdicCa
ppedRelativeElement' object has no attribute 'gcd'
}}}

The attached patch implements it.

URL: http://trac.sagemath.org/13626
Reported by: saraedum
Ticket author(s): Julian Rueth
Reviewer(s): Luis Felipe Tabera Alonso
Trac #16171: Sort cone facets

Cones already make sure that 1-d faces are sorted in the same way as
rays. Let's also make facets listed in the same order as facet normals:
the first of these lists is stored as is and the second one is sorted,
no matter in which order they are computed (facets can be determined
from the ambient structure without normals). The corner case when facets
are rays is handled as well by sorting facet normals immediately.

URL: http://trac.sagemath.org/16171
Reported by: novoselt
Ticket author(s): Andrey Novoseltsev
Reviewer(s): Jan Keitel
Trac #16710: typos in documentation (mentionned)

Found two typos.

URL: http://trac.sagemath.org/16710
Reported by: dkrenn
Ticket author(s): Daniel Krenn
Reviewer(s): Frédéric Chapoton