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 <rep...@bugs.python.org>
<http://bugs.python.org/issue30255>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to