Closed vstinner closed 8 years ago
\====================================================================== ERROR: test_gaps (test.datetimetester.ZoneInfoTest[Asia/Qyzylorda]) ----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/datetimetester.py", line 4700, in setUp
self.tz = ZoneInfo.fromname(self.zonename)
File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/datetimetester.py", line 4531, in fromname
return cls.fromfile(f)
File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/datetimetester.py", line 4523, in fromfile
self = cls(ut, ti)
File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/datetimetester.py", line 4476, in __init__
self.lt = self.invert(ut, ti)
File "/buildbot/buildarea/3.x.ware-gentoo-x86.nondebug/build/Lib/test/datetimetester.py", line 4486, in invert
lt[0][i] += ti[i-1][0] // SEC
OverflowError: Python int too large to convert to C long
This is related to bpo-24773.
New changeset a13c51bde2b4 by Alexander Belopolsky in branch 'default': Issue bpo-27834: Avoid overflow error in ZoneInfo.invert(). https://hg.python.org/cpython/rev/a13c51bde2b4
The build succeeded.
http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%203.x/builds/1292
Closing. Thanks for the report, Victor.
Oh cool, thanks for the quick fix ;-)
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = 'https://github.com/abalkin' closed_at =
created_at =
labels = ['type-bug', 'tests']
title = 'test_datetime fails on "x86 Gentoo Non-Debug with X 3.x" buildbot'
updated_at =
user = 'https://github.com/vstinner'
```
bugs.python.org fields:
```python
activity =
actor = 'vstinner'
assignee = 'belopolsky'
closed = True
closed_date =
closer = 'belopolsky'
components = ['Tests']
creation =
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 27834
keywords = ['buildbot']
message_count = 5.0
messages = ['273428', '273504', '273506', '273514', '273519']
nosy_count = 3.0
nosy_names = ['belopolsky', 'vstinner', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue27834'
versions = ['Python 3.6']
```