Message238736
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. |
|
Date |
User |
Action |
Args |
2015-03-20 23:30:39 | martin.panter | set | recipients:
+ martin.panter, brett.cannon, r.david.murray, docs@python, python-dev, serhiy.storchaka, ashkop |
2015-03-20 23:30:39 | martin.panter | set | messageid: <1426894239.4.0.40636070893.issue22832@psf.upfronthosting.co.za> |
2015-03-20 23:30:39 | martin.panter | link | issue22832 messages |
2015-03-20 23:30:39 | martin.panter | create | |
|