[Python-Dev] API bloat
Nick Coghlan
ncoghlan at gmail.com
Thu Feb 10 15:09:11 CET 2011
On Thu, Feb 10, 2011 at 11:51 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>> The "what's new for 3.2" API section:
>> http://docs.python.org/dev/py3k/whatsnew/3.2.html#build-and-c-api-changes
>> lists 6 new functions, yet 14 have been added between 3.1.3 and 3.2b2.
>
> Could you identify the ones that are not yet documented ?
>From Misc/NEWS:
PyUnicode_TransformDecimalToASCII
PyErr_SyntaxLocationEx
PyArg_ValidateKeywordArguments
PyFrame_GetLineNumber
PyCode_NewEmpty
I would guess that a lot of the other ones that aren't explicitly
documented in NEWS or What's New are the assorted utilities Victor
added in order to properly support non-ASCII entries in sys.path, as
well as all the additional APIs to handle both bytes and unicode
interfaces to the external environment.
In scanning NEWS, I also noticed that there were quite a few ancient
APIs that were finally killed off in 3.2, so the number of new
functions is likely to actually exceed the 14 picked up by Mark's
measurements.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list