> > The __classcall_private__() mechanism works well for this kind of > dispatching > > with lots of examples within Sage for this. > > Agreed, and this is fairly standard. However, I am still skeptical about > the > fact this mechanism prevents deep copies... This limits the user's > abilities. > > I have no idea what you mean by that. I feel like you are confusing that with UniqueRepresentation, which is a completely different concept (although they are typically paired together since we want to normalize the input). You can have a __classcall_*_() without being a UniqueRepresentation. You might also want to think about why you need to make (deep) copies.
Best, Travis -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/423429c0-7ca6-4e08-b3a2-b68414722f67n%40googlegroups.com.