This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients docs@python, martin.panter, mattip
Date 2015-08-28.22:21:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440800473.89.0.881280986225.issue24952@psf.upfronthosting.co.za>
In-reply-to
Content
In my mind this notation implies the folowing should work:

>>> threading.stack_size(size=0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: stack_size() takes no keyword arguments

Perhaps you really just want make it more explicit that the special value 0 is used by default if the argument omitted? See also Issue 8706 about supporting named keyword parameters, and Issue 13386 and Issue 23738 about other possible notations to document the default value.
History
Date User Action Args
2015-08-28 22:21:13martin.pantersetrecipients: + martin.panter, docs@python, mattip
2015-08-28 22:21:13martin.pantersetmessageid: <1440800473.89.0.881280986225.issue24952@psf.upfronthosting.co.za>
2015-08-28 22:21:13martin.panterlinkissue24952 messages
2015-08-28 22:21:13martin.pantercreate