-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Argument Clinic rollup patch, 2014/01/31 #64655
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
Probably the last rollup patch for a while; I need to move on to code Here's a list of changes in this patch:
And last but certainly not least...! Following a suggestion by Serhiy Storchaka, Argument Clinic is now #ifndef YOUR_FUNCTION_METHODDEF
#define YOUR_FUNCTION_METHODDEF
#endif /* !defined(YOUR_FUNCTION_METHODDEF) */ But *only* when necessary. You can see this in action in the diff for Modules/clinic/zlibmodule.c.h. I think this is a huge improvement! (Thanks for the suggestion, Serhiy!) |
Updated the patch.
|
New changeset 19d81cc213d7 by Larry Hastings in branch 'default': |
Checked in! I think that's the last new feature for Argument Clinic until after 3.4 ships. |
The converters argument in command line is still broken. [sky@localhost cpython3.4]$ hg pull -u Legacy converters:
Traceback (most recent call last):
File "Tools/clinic/clinic.py", line 4131, in <module>
sys.exit(main(sys.argv[1:]))
File "Tools/clinic/clinic.py", line 4063, in main
print(' ' + ' '.join(c for c in legacy if c[0].isupper()))
File "Tools/clinic/clinic.py", line 4063, in <genexpr>
print(' ' + ' '.join(c for c in legacy if c[0].isupper()))
IndexError: string index out of range Unit test for exercising Tools/clinic/clinic.py using assert_python_ok would be good, but that deserves a dedicated ticket. Here is the patch to fix the bug. |
preprocessor conditional blocks. GitHub-Issue-Link: python/cpython#64655
preprocessor conditional blocks. GitHub-Issue-Link: python/cpython#64655
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: