Python-2.4.3 port

Porting Python-2.4.3 under QNX4.25 with Watcom 10.6 compiler I have
next problem.
When done in Python

print “%.40f” % 1.0e+50
SIGSEGV found.

When this doing in shell like
printf “%.40f” 1e+50
I found non standart output
*************************************** (39 items)

Mayby something wrong whith printf() function.
How can I solve the problem?

I want printf() function standart behaivor.