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
Kind regards
Philipp Kern
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org