id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
25979 py3: pynac bug with logb on int embray "On Python 2:
{{{
sage: from sage.functions.log import logb
sage: logb(7, 2)
log(7)/log2
sage: logb(int(7), 2)
log(7)/log(2)
}}}
On Python 3:
{{{
sage: from sage.functions.log import logb
sage: logb(7, 2)
log(7)/log(2)
sage: logb(int(7), 2)
1
}}}
This was causing quite a few confusing bugs before I realized the subtle difference of `Integer` vs `int` that was causing the bug. I'm not sure if it affect other functions too.
'''Upstream PR:''' https://github.com/pynac/pynac/pull/336 (for pynac)
Though we should also still fix conversion of integer types to expressions on Python 3." defect closed major sage-8.7 python3 fixed rws Frédéric Chapoton Travis Scrimshaw Completely fixed; Fix reported upstream f96cd5318529b17cf85aef32252bc3614da7ac7e f96cd5318529b17cf85aef32252bc3614da7ac7e