[New-bugs-announce] [issue30255] test_xml_etree: python: Objects/sliceobject.c:176: _PySlice_AdjustIndices: Assertion `step >= -PY_SSIZE_T_MAX' failed.
STINNER Victor
report at bugs.python.org
Wed May 3 07:06:38 EDT 2017
New submission from STINNER Victor:
./python -m test -v test_xml_etree
...
test_getslice_negative_steps (test.test_xml_etree.ElementSlicingTest) ...
python: Objects/sliceobject.c:176: _PySlice_AdjustIndices: Assertion `step >= -PY_SSIZE_T_MAX' failed.
...
Traceback (most recent call first):
File "/home/haypo/prog/python/2.7/Lib/xml/etree/ElementTree.py", line 266, in __getitem__
return self._children[index]
File "/home/haypo/prog/python/2.7/Lib/test/test_xml_etree.py", line 2305, in test_getslice_negative_steps
self.assertEqual(self._elem_tags(e[3::-sys.maxsize-1]), ['a3'])
See issues: bpo-30074, bpo-27867.
----------
components: Interpreter Core
messages: 292888
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: test_xml_etree: python: Objects/sliceobject.c:176: _PySlice_AdjustIndices: Assertion `step >= -PY_SSIZE_T_MAX' failed.
type: crash
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30255>
_______________________________________
More information about the New-bugs-announce
mailing list