https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Sep 19 17:14:11 2016 New Revision: 240242 URL: https://gcc.gnu.org/viewcvs?rev=240242&root=gcc&view=rev Log: 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. Modified: branches/gcc-5-branch/libstdc++-v3/ChangeLog branches/gcc-5-branch/libstdc++-v3/python/libstdcxx/v6/xmethods.py