Print the git branch when doctesting
Trac #17023: Adding width() function to poset

Add a `.width()` -- i.e. number of elements in the longest antichain --
to poset. Seems to have polynomial time algorithm based on Dilworth's
Theorem.

URL: http://trac.sagemath.org/17023
Reported by: jmantysalo
Ticket author(s): Nathann Cohen
Reviewer(s): Frédéric Chapoton, Jori Mäntysalo
Trac #17095: No documentation for random_element_plancherel()

On `sage.combinat.partition.Partitions_n` function
`random_element_plancherel()` has not any explanation about what
Plancherel distribution(?) means.

URL: http://trac.sagemath.org/17095
Reported by: jmantysalo
Ticket author(s): Frédéric Chapoton
Reviewer(s): Florent Hivert
trac #17155: add "sage -installed" and "sage -pip" commands
Merge branch 'u/jhpalmieri/DGA_new' of trac.sagemath.org:sage into public/algebras/cdga-16508
Added 'random' to doctest because python dict does not preserve order.
trac #17156: Creating a graph from a immutable digraph raises an error
Added test section.
10668: proofreading of Homsets.category_of
trac #17156: Remove a deprecation warning
trac #17138: Dangerous doctest
Merge remote-tracking branch 'trac/u/jdemeyer/ticket/16428' into mpir
Fixing two typos
Fixing some typos
Fix test in cython.py for new FLINT layout.
Fix some ctypedef in FLINT pxd files.
Fix documentation of LLL method for delta=1, Track #15203
Trac #17138: LatticePoset: complements() is broken

Complement of an element of lattice, if it exists, is not necessarily
unique. Hence returning an array from `complements()` seems to be
totally wrong. Right way is to return a dict of lists if called without
arguments and a list if called with one element as argument.

To clarify what is wrong in all possible meanings for a function called
"complements":

{{{
sage: Posets.PentagonPoset().complements()
[4, 3, 1, 1, 0]
sage: LatticePoset({'a':'b'}).complements()
[1, 0]
}}}

URL: http://trac.sagemath.org/17138
Reported by: jmantysalo
Ticket author(s): Jori Mäntysalo
Reviewer(s): Nathann Cohen
Trac #16936: Hecke triangle groups (non-stub implementation)

The ticket provides a non-stub implementation for Hecke triangle groups.

The matrix elements are over Z[lam], an order in the number field
Q[lam],
given by the minimal polynomial of lam=2*cos(pi/n).
A corresponding default embedding into AA(2*cos(pi/n)) is selected for
lam.

Also see Ticket #16976 which depends on this ticket and has several
enhancements / improvements.

URL: http://trac.sagemath.org/16936
Reported by: jj
Ticket author(s): Jonas Jermann
Reviewer(s): Martin Westerholt-Raum
Trac #16998: Documentation conflict on is_graded()

Documentation for `is_graded()` on `posets.py` says "Note that every
graded poset is ranked, but the converse is not true.", whereas
`hasse_diagram.py` says "A poset is *graded* if it admits a rank
function."

Somebody knowing area should check this.

Somehow relating to this: note in `is_graded` on `posets.py` should be
removed, see #13223.

URL: http://trac.sagemath.org/16998
Reported by: jmantysalo
Ticket author(s): Jori Mäntysalo
Reviewer(s): Christian Stump