]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++/77645 fix deque and vector xmethods for Python 3
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Sep 2016 17:09:04 +0000 (17:09 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Sep 2016 17:09:04 +0000 (17:09 +0000)
commit36b22a13553506831bb3e9aadb5ff41b2fbd6963
tree46ad3b6a3444deed677c1711da318f81ea00fec1
parentf2e524482eb3174c46ab371be8c7467ca6dd8a91
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240241 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/xmethods.py