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