New submission from Mark Dickinson: Benjamin pointed out on #python-dev that the builtin round function should be using _PyObject_LookupSpecial to look up the __round__ method. Here's a fix.
---------- components: Interpreter Core files: round_descriptor.patch keywords: patch messages: 186813 nosy: mark.dickinson priority: normal severity: normal stage: patch review status: open title: 'round' function doesn't honour a descriptor __round__ type: behavior versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file29820/round_descriptor.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17722> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com