-
-
Notifications
You must be signed in to change notification settings - Fork 670
Closed
Description
The patch adds a new support class in list_clone.pyx
for lists with a normalization methods. The normalization method is called both after creation and clone/modification. This will be needed for rooted trees.
I also take the opportunity of cleaning up the bad usage of assert
in
the examples and replaced them by if ... : raise ValueError
.
Apply
Depends on #11308
CC: @sagetrac-sage-combinat @tscrim
Component: combinatorics
Keywords: clone normalization Cernay2012, days49
Author: Florent Hivert
Reviewer: Travis Scrimshaw
Merged: sage-5.12.beta2
Issue created by migration from https://trac.sagemath.org/ticket/11407