This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/77645] Python xmethods tests failing


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Sep 19 17:09:04 2016
New Revision: 240241

URL: https://gcc.gnu.org/viewcvs?rev=240241&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:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/python/libstdcxx/v6/xmethods.py

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]