Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…e parents) should indicate its embedding if there is one Because this is causing some random infinite loops when running the testsuite. To reproduce, as reported in https://github.com/cschwan/sage- on-gentoo/issues/541, use: {{{ sage -t --long src/sage/structure/ src/sage/interfaces/ }}} Another symptom: The doctest {{{ File "src/sage/structure/parent.pyx", line 1734, in sage.structure.parent.Parent.hom.register_embedding Failed example: K.coerce_embedding()(a) }}} when it does not fail, and then one calls {{{ K.coerce_embedding() }}} again, makes sage crash. Removing the change of repr made in #21161 fixes that. For the complete log when the doctest fails, see for example https://patchbot.sagemath.org/log/27408/Ubuntu/18.04/x86_64/4.15.0-52-ge neric/petitbonum/2019-06-20%2014:50:38?short URL: https://trac.sagemath.org/28036 Reported by: chapoton Ticket author(s): Matthias Koeppe Reviewer(s): Volker Braun
- Loading branch information