[Numpy-discussion] formatting issues, locale and co

Lenard Lindstrom len-l@telus....
Tue Dec 30 12:41:17 CST 2008


David Cournapeau wrote:
> The thing is since I don't understand what happens in the print '%f'
> case, I don't know how to clean it up, if it is at all possible. But in
> anyway, it means that with my changes, we are not worse than python
> itself, and I think we are better than before,
>
>   
Just a quick look in SVN, trunk/Objects/stringobject.c, shows that the 
call path for a "%f" format is string_mod -> PyString_Format -> 
formatfloat -> PyOS_ascii_formatd.

-- 
Lenard Lindstrom
<len-l@telus.net>



More information about the Numpy-discussion mailing list