id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
3571 [with patch, positive review] ivalue field in integer_mod.pyx shouldn't be public craigcitro craigcitro "The `ivalue` field for `IntegerMod_int` is `public`, but it shouldn't be. The following is very frightening, for instance:
{{{
sage: R = Integers(10)
sage: x = R(2)
sage: x
2
sage: x.ivalue = 33
sage: x
33
sage: R(2)
33
}}}
It's easy to make this field no longer be public, but lots of things are using the fact that it is, so one needs to go through and make everything work correctly again." defect closed major sage-3.3 basic arithmetic fixed