Raymond Hettinger <[EMAIL PROTECTED]> added the comment: The patch basically looks good. The signature for __round__() should not grow beyond the spec for the built-in round() function that calls it: round(x[, n]). The context and rounding arguments are not part of that API. Just like __int__(), the __round__() method should stick to its basic purpose.
__________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2748> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com