Message241204
This definitely works for the _socket.listen use case!
In terms of generating such a signature using Argument Clinic, currently this is required:
backlog: int(py_default="builtins.min(SOMAXCONN, 128)", c_default="Py_MIN(SOMAXCONN, 128)") = 000
The attached patch lets Tools/clinic/clinic.py make an exception when both C and Python defaults are specified, simplifying the above to:
backlog: int(py_default="builtins.min(SOMAXCONN, 128)", c_default="Py_MIN(SOMAXCONN, 128)") |
|
Date |
User |
Action |
Args |
2015-04-16 06:33:07 | pdmccormick | set | recipients:
+ pdmccormick, ncoghlan, larry, zach.ware, serhiy.storchaka, yselivanov |
2015-04-16 06:33:07 | pdmccormick | set | messageid: <1429165987.69.0.798608730246.issue23967@psf.upfronthosting.co.za> |
2015-04-16 06:33:07 | pdmccormick | link | issue23967 messages |
2015-04-16 06:33:07 | pdmccormick | create | |
|