[Python-Dev] Python suggestions mostly from C99

Edward C. Jones edcjones at erols.com
Wed Dec 3 11:06:48 EST 2003


Here are a few suggestions for Python:

Extend hex() and %x to work on longs, floats, and strings.

Add the C99 %a and %A formats.

Add a module that wraps the C99 macros and functions that work with 
special floating point values and floating point exceptions.

Since most C compilers are not C99 compliant, some of these ideas might 
need to be written in C rather than just wrapped.





More information about the Python-Dev mailing list