You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added default value type verification for almost all return converters.
Added return converters for float, dobule, unsigned long,
unsigned int, short, and unsigned short.
Py_buffer converter improvements:
Now allow exactly one value as a default value: None.
The default value in C only needs two fields initialized.
The cleanup call to PyBuffer_Release should be based on
".obj", not ".buf".
As well as a bunch of documentation fixes.
I'd love a review, but I'm pretty confident it's all okay so I may just check it in. (The only code changes are in clinic.py so it's not going to break the world.)
Also adding the one-byte fix from bpo-20201 to the rollup patch here. (Not bothering to upload a fresh patch because it is literally one byte, fixing a misspelled variable name.)
Activity
larryhastings commentedon Jan 10, 2014
Miscellaneous Argument Clinic fixes:
unsigned int, short, and unsigned short.
".obj", not ".buf".
As well as a bunch of documentation fixes.
I'd love a review, but I'm pretty confident it's all okay so I may just check it in. (The only code changes are in clinic.py so it's not going to break the world.)
larryhastings commentedon Jan 12, 2014
Freshened patch,
larryhastings commentedon Jan 12, 2014
Also adding the one-byte fix from bpo-20201 to the rollup patch here. (Not bothering to upload a fresh patch because it is literally one byte, fixing a misspelled variable name.)
larryhastings commentedon Jan 12, 2014
I goofed, I do have some additional fixes. Here's everything.
Changes since patch #1:
larryhastings commentedon Jan 12, 2014
Third patch, with these new features:
used even when no default value is supplied.
python-dev commentedon Jan 12, 2014
New changeset 3eee3967d03f by Larry Hastings in branch 'default':
Issue bpo-20214: Fixed a number of small issues and documentation errors in
http://hg.python.org/cpython/rev/3eee3967d03f
Issue #20214: Fixed a number of small issues and documentation errors in
Issue #20214: Fixed a number of small issues and documentation errors in