libstdc++/77645 fix deque and vector xmethods for Python 3
authorJonathan Wakely <jwakely@redhat.com>
Mon, 19 Sep 2016 17:09:04 +0000 (18:09 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 19 Sep 2016 17:09:04 +0000 (18:09 +0100)
commitd0f5943566482b094ac600e63271c22ebf227c5f
tree46ad3b6a3444deed677c1711da318f81ea00fec1
parent1993ff76f5f77f7c4597b9ca56a2712c3ed685bf
libstdc++/77645 fix deque and vector xmethods for Python 3

PR libstdc++/77645
* python/libstdcxx/v6/xmethods.py (DequeWorkerBase.__init__)
(DequeWorkerBase.index, VectorWorkerBase.get): Cast results of
division to int to work with Python 3.

From-SVN: r240241
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/xmethods.py