[summerofcode] stdlib port to python
Brett C.
bac at OCF.Berkeley.EDU
Sun Jun 5 05:17:41 CEST 2005
Lorentz Morrow wrote:
> I'm interested in doing the port of stdlib to python. If I'm understanding
> correctly you need a port of the following functions:
> atof, atoi, atol, ecvt, fcvt, itoa, ltoa, strtod, strtol, strtoul, ultoa,
> bsearch, lfind, lsearch, qsort, swab,
> abs, div, labs, ldiv
> calloc, free, malloc, realloc,
> abort, atexit, exit, getenv, putenv, system,
>
In what way do you mean by porting to Python? To add these ISO C functions to
the stdlib so they are accessible in Python code? If that is what you mean
then do realize that almost all of them are already available in the stdlib
(e.g. ``int("12345")``) or they are not needed (what purpose would malloc()
serve at the Python level?).
And obviously these are already available at the C level since Python requires
a C89 compiler. A little clarification is needed to know what you are trying
to accomplish before any feedback can be given.
-Brett
More information about the summerofcode
mailing list