Message117574
I am the author of PyScripter a popular python IDE (pyscripter.googlecode.com). Following a user report I found out that str(float) occasionally produces wrong results with Python 2.7 and 3.1.
eg.
>>> str(38210.0) //wrong
'3820:.0'
>>> str(37210.0) // correct
'37210.0'
>>> str(36210.0) //wrong
'3620:.0'
This only happens with the embedded python engine which uses the pythonxx.dll of the official distribution. It does not happen using the stand alone interpreter of the PyScripter remote engine.
The recent changes in Python 3.2a2 fix this issue.
Any ideas why the embedded Python would give different results from the stand alone interpreter? |
|
Date |
User |
Action |
Args |
2010-09-29 03:11:32 | Kiriakos.Vlahos | set | recipients:
+ Kiriakos.Vlahos |
2010-09-29 03:11:32 | Kiriakos.Vlahos | set | messageid: <1285729892.65.0.25912191442.issue9980@psf.upfronthosting.co.za> |
2010-09-29 03:11:29 | Kiriakos.Vlahos | link | issue9980 messages |
2010-09-29 03:11:28 | Kiriakos.Vlahos | create | |
|