# HG changeset patch
# User Nathann Cohen <nathann.cohen@gmail.com>
# Date 1361729470 -3600
# Node ID 4275ccc067ec713233e3b8ba8e3ae93e9da05da6
# Parent 36125c7114724a6bf93066dd58b2f54560be29af
Stopgap warning in Poset.relabel
diff --git a/sage/combinat/posets/posets.py b/sage/combinat/posets/posets.py
a
|
b
|
|
2525 | 2525 | particular, ``P`` and ``Q`` share the same internal Hasse |
2526 | 2526 | diagram. |
2527 | 2527 | """ |
| 2528 | from sage.misc.stopgap import stopgap |
| 2529 | stopgap("Relabelling posets is known to break equality between posets (P == Q)", 14019) |
| 2530 | |
2528 | 2531 | assert not isinstance(relabelling, (tuple, list)), "relabelling by tuple or list not yet defined" |
2529 | 2532 | if isinstance(relabelling, dict): |
2530 | 2533 | relabelling = relabelling.__getitem__ |