[Python-Dev] API bloat
Georg Brandl
g.brandl at gmx.net
Wed Feb 9 10:44:49 CET 2011
Am 09.02.2011 10:09, schrieb Mark Shannon:
> At sometime between versions 3.1 and the current version, 3.1.3,
> the API grew considerably.
> See
> http://docs.python.org/release/3.1/c-api/exceptions.html#exception-handling
> and
> http://docs.python.org/py3k/c-api/exceptions.html#exception-handling
>
> The Unicode Exception Objects section is new and seemingly redundant:
Why redundant?
> http://docs.python.org/py3k/c-api/exceptions.html#unicode-exception-objects
> Should this be in the public API?
While this question is valid, it *should* have been asked 8 years ago, when
the functions were actually added.
They are new in the docs because they weren't documented before. Otherwise
they would have a "New in version 3.2" tag.
> Is there any kind of review system (like PEPs) for modifying the C API?
No, but python-dev is involved by either a thread here or an issue that
is then OK'd by several developers.
> Are bug-fix updates really the place to modify the API?
No, but that's not relevant here.
> Could the API be reverted to the 3.1 version plus any *necessary*
> changes in time for the 3.2 release?
Any changes in API are definitely forbidden before 3.2.
Georg
More information about the Python-Dev
mailing list