Public bug reported: # correct output ("10000 Y" or 10k yottabytes) $ python2.7 -c 'import apt_pkg; print(apt_pkg.size_to_str(10 ** 28))' |od -xc 0000000 3031 3030 2030 0a59 1 0 0 0 0 Y \n 0000010
# incorrect output: random output! $ python2.7 -c 'import apt_pkg; print(apt_pkg.size_to_str(10 ** 29))' |od -xc 0000000 75b0 01ff 8020 b74c 000a 260 u 377 001 200 L 267 \n 0000011 Admittedly, it'll probably be a while before this becomes an issue ;-) ** Affects: python-apt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059783 Title: random output when size_to_str() passed values larger than 10^28 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1059783/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs