]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++/77645 fix deque and vector xmethods for Python 3
authorJonathan Wakely <jwakely@redhat.com>
Mon, 19 Sep 2016 17:14:11 +0000 (18:14 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 19 Sep 2016 17:14:11 +0000 (18:14 +0100)
commit760b143fa2597aa79508a7276bb70e15b90dc332
tree77bf6100154763594323ec2f8aa998ef54dc415d
parent5d1e95e278d2a1182d20d49de60e85c45905dfa0
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: r240242
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/xmethods.py