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 ashkop, brett.cannon, docs@python, martin.panter, python-dev, r.david.murray, serhiy.storchaka
Date 2015-03-20.23:30:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426894239.4.0.40636070893.issue22832@psf.upfronthosting.co.za>
In-reply-to
Content
I object to dropping the brackets from the function signatures. Now it gives the impression that the functions accept keyword arguments:

ioctl(fd, request, arg=0, mutate_flag=True)

but:

>>> ioctl(0, 0, bytearray(), mutate_flag=False)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: ioctl() takes no keyword arguments

There is already a little bit of precedent for this, e.g. the built-in eval() function, but I would prefer using square brackets, or some other non-Python syntax indicator.
History
Date User Action Args
2015-03-20 23:30:39martin.pantersetrecipients: + martin.panter, brett.cannon, r.david.murray, docs@python, python-dev, serhiy.storchaka, ashkop
2015-03-20 23:30:39martin.pantersetmessageid: <1426894239.4.0.40636070893.issue22832@psf.upfronthosting.co.za>
2015-03-20 23:30:39martin.panterlinkissue22832 messages
2015-03-20 23:30:39martin.pantercreate