id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
17196 Relax assumptions on bitset operations jdemeyer "Most bitset operations state something like
{{{
We assume the two sets have the same size. Otherwise, the
behavior of this function is undefined and the function may
segfault.
}}}
However, in fact most of these requirements can be relaxed.
In many cases, I simply change the comment to indicate what the real conditions are. For shifts, I actually change the implementation slightly such that the condition becomes `r.size <= a.size + n` which is useful for #15820.
Also move bitsets to `src/sage/data_structures`." enhancement closed major sage-6.4 misc fixed ncohen Jeroen Demeyer, Simon King Simon King N/A 23762a31e383d765cbfe6d5bf958d5d592e1513d 23762a31e383d765cbfe6d5bf958d5d592e1513d