-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Argument Clinic: wrap impl's declaration if it's too long #68132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
For example: _winapi_CreateFile_impl(PyModuleDef *module, LPCTSTR file_name, DWORD desired_access, DWORD share_mode, LPSECURITY_ATTRIBUTES security_attributes, DWORD creation_disposition, DWORD flags_and_attributes, HANDLE template_file) |
If you give me a test case I'll knock this out. |
Will do in the morning. |
Larry: Here's your sample: /*[clinic input]
Create a new process and its primary thread. The return value is a tuple of the process handle, thread handle, static PyObject * |
I wish the Python bug tracker had a way of attaching files to issues, so we didn't have to just copy and paste into and out of the comments. Ah well, wishful thinking! |
Alright, alright, I'll get you a file. On Tue, Apr 14, 2015 at 1:22 PM, Larry Hastings <report@bugs.python.org> wrote:
|
You can even have the whole thing, with lots of samples :) |
That's AMAZING, you mean the web site knew how to do that THE WHOLE TIME? |
Attached is a patch. This causes a lot of churn, darn. Should I copy & paste the patch into this text box too? Maybe that would be more convenient! |
Okay, this patch is about half the size. I had a bug that was throwing away some important syntax. With this patch applied, Python builds and the test suite is as reasonable as usual. I swear, C compilers are so fussy sometimes! |
After an English lesson, looks fine to me. |
New changeset c99ca3d7052d by Larry Hastings in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: