New submission from Larry Hastings: I just realized that the signatures for builtin slot functions (__iadd__, __delitem__, etc) only accept positional-only arguments. But when I added the signatures by hand to all the slots I didn't mark them as positional-only. The attached patch remedies that oversight.
---------- assignee: larry components: Library (Lib) files: larry.slots.are.positional.only.1.diff keywords: patch messages: 210763 nosy: larry, ncoghlan, yselivanov priority: normal severity: normal stage: patch review status: open title: Default signatures for slots should be positional-only type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file34009/larry.slots.are.positional.only.1.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20576> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com