Hi, I have a question about the class PolyDict in sage/rings/polynomial/ polydict.pyx.
The "zero" parameter of the constructor __init__() is documented as optional with default 0. However, it is eventually used to determine the characteristic of the base ring. So a bug can result if a PolyDict object is constructed without "zero" parameter set appropriately. My question is: to debug this, should the constructor be changed to try to reasonably find the zero element of the base ring (from "pdict" list), or should it be that whenever PolyDict object is constructed, the "zero" parameter is set (thus it is no longer a optional parameter)? Kwankyu --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
