[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Larry Hastings
Changes by Larry Hastings : -- assignee: -> larry resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset c99ca3d7052d by Larry Hastings in branch 'default': Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. https://hg.python.org/cpython/rev/c99ca3d7052d -- nosy: +python-dev ___ Pytho

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Zachary Ware
Zachary Ware added the comment: After an English lesson, looks fine to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Larry Hastings
Larry Hastings added the comment: 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! -- Added file: http

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Larry Hastings
Larry Hastings added the comment: 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! -- Added file: http://bugs.python.org/file39008/larry.clinic.wrap.long.impl.decls.1.txt

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Larry Hastings
Larry Hastings added the comment: That's AMAZING, you mean the web site knew how to do that THE WHOLE TIME? -- ___ Python tracker ___

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Zachary Ware
Zachary Ware added the comment: You can even have the whole thing, with lots of samples :) -- Added file: http://bugs.python.org/file39002/_winapi.c ___ Python tracker ___ __

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Larry Hastings
Larry Hastings added the comment: 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! -- ___ Python tracker

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Zachary Ware
Zachary Ware added the comment: Alright, alright, I'll get you a file. On Tue, Apr 14, 2015 at 1:22 PM, Larry Hastings wrote: > > Larry Hastings added the comment: > > 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

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-14 Thread Zachary Ware
Zachary Ware added the comment: Larry: Here's your sample: /*[clinic input] _winapi.CreateProcess application_name: Py_UNICODE(nullable=True) command_line: Py_UNICODE(nullable=True) proc_attrs: object Ignored internally, can be None. thread_attrs: object Ignored

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: Will do in the morning. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-13 Thread Larry Hastings
Larry Hastings added the comment: If you give me a test case I'll knock this out. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue23944] Argument Clinic: wrap impl's declaration if it's too long

2015-04-13 Thread Zachary Ware
New submission from Zachary Ware: 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) -- components