[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#758488: python3: float conversion broken on s390x



severity 758488 important
thanks

Hi,

thank you for your followup.

On 2014-08-18 01:44, Matthias Klose wrote:
int to float casts are working with python2, but are completely broken with
python3:

float(1)
1073741824.0
float(-1)
-1073741824.0

- does this work with python3-dbg?

It does work with python3-dbg. Which indeed points to some (new?) CPU instruction breaking things.

- if yes, please find out which optimization, or which
  wrong code causes this, and send a patch or workaround.

the python3.4 testsuite looks good, except for some failing test_dbm tests and a
failing test_signal test.

Hrm. I should have looked for that, that's a good pointer. It turns out that it works on zelenka in a sid chroot as well, which indicates breakage under Hercules. Under this assumption it likely does not break the world, hence I'm downgrading this bug. I'll try to run the python3.4 testsuite.

I won't have time to handle this until late September.

Understood. Thanks.

Kind regards
Philipp Kern


Reply to: