Vajrasky Kok added the comment: Here is the preliminary patch.
After patch: round(1.23, 0) => 1 not 1.0 round(4.67, 0) => 5 not 5.0 ---------- keywords: +patch nosy: +vajrasky Added file: http://bugs.python.org/file33051/fix_round_with_zero_ndigits.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19933> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com