Control: tags -1 + help moreinfo Am 18.08.2014 um 04:23 schrieb Philipp Kern: > Package: python3-minimal > Version: 3.4.1-1 > Severity: serious > X-Debbugs-Cc: debian-s...@lists.debian.org > > The datetime module fails its initialization assertions on s390x with python3 > upon import: > >>>> import datetime > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python3.4/datetime.py", line 619, in <module> > microseconds=999999) > File "/usr/lib/python3.4/datetime.py", line 395, in __new__ > assert abs(microseconds) < 3.1e6 > AssertionError > > (Disregard slight shifts in the line numbers.) > > The actual problem is this: > >>>> float(999999) > 1073740750258176.0 > > Sadly python3-minimal fails to configure because of this, which in turn lets > other packages being upgraded fail to fully install. > > 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? - 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. I won't have time to handle this until late September. Matthias -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org