[Python-Dev] Python's C interface for types

Tim Peters tim.peters at gmail.com
Sat Jan 27 01:03:34 CET 2007


[Nick Maclaren]
> ...
> 2) _PyLong_FromByteArray and _PyLong_AsByteArray aren't in
> the API

They're not in the public API, which is equivalent to that their names
begin with a leading underscore.  They're in the private API :-)

> and have no comments.

The behavior of these functions, including return value and error
conditions, is specified in longobject.h.

> Does that mean that they are unstable, in the sense that they may
> change behaviour in new versions of Python?

They /may/ change, but they won't (== only common sense guarantees
they won't change ;-)).

> And will they be there in 3.0?

Almost certainly so.


More information about the Python-Dev mailing list