[New-bugs-announce] [issue20576] Default signatures for slots should be positional-only

Larry Hastings report at bugs.python.org
Sun Feb 9 14:47:33 CET 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue20576>
_______________________________________


More information about the New-bugs-announce mailing list