Alexander Belopolsky added the comment: Attached patch fixes the issue and passes regression tests, so most likely the ability to instantiate Number is not an intentional feature.
"pass" should probably be replaced with a meaningful docstring, but I would like to hear from others on whether the solution is conceptually correct before making it commit-ready. ---------- keywords: +patch nosy: +eric.araujo, ncoghlan, rhettinger stage: -> patch review Added file: http://bugs.python.org/file28531/issue16837.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16837> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com