Re: [PATCH] libstdc++/77645 fix deque and vector xmethods for Python 3

2016-09-20 Thread Jonathan Wakely
On 20/09/16 09:41 +0100, Jonathan Wakely wrote: On 19/09/16 21:39 +, Joseph Myers wrote: On Mon, 19 Sep 2016, Jonathan Wakely wrote: On 19/09/16 17:24 +, Joe Buck wrote: Python has a distinct integer division operator, "//". 7 // 3 returns the integer 2. Python 3 does, but Python 2

Re: [PATCH] libstdc++/77645 fix deque and vector xmethods for Python 3

2016-09-20 Thread Jonathan Wakely
On 19/09/16 21:39 +, Joseph Myers wrote: On Mon, 19 Sep 2016, Jonathan Wakely wrote: On 19/09/16 17:24 +, Joe Buck wrote: > Python has a distinct integer division operator, "//". 7 // 3 returns the > integer 2. Python 3 does, but Python 2 doesn't have it unless you import it from __fu

Re: [PATCH] libstdc++/77645 fix deque and vector xmethods for Python 3

2016-09-19 Thread Joseph Myers
On Mon, 19 Sep 2016, Jonathan Wakely wrote: > On 19/09/16 17:24 +, Joe Buck wrote: > > Python has a distinct integer division operator, "//". 7 // 3 returns the > > integer 2. > > Python 3 does, but Python 2 doesn't have it unless you import it from > __future, and I don't know how far back

Re: [PATCH] libstdc++/77645 fix deque and vector xmethods for Python 3

2016-09-19 Thread Jonathan Wakely
On 19/09/16 17:24 +, Joe Buck wrote: Python has a distinct integer division operator, "//". 7 // 3 returns the integer 2. Python 3 does, but Python 2 doesn't have it unless you import it from __future, and I don't know how far back that works. I don't want to introduce a fix for Python 3

RE: [PATCH] libstdc++/77645 fix deque and vector xmethods for Python 3

2016-09-19 Thread Joe Buck
Python has a distinct integer division operator, "//". 7 // 3 returns the integer 2. -Original Message- From: libstdc++-ow...@gcc.gnu.org [mailto:libstdc++-ow...@gcc.gnu.org] On Behalf Of Jonathan Wakely Sent: Monday, September 19, 2016 10:11 AM To: libstd...@gcc.gnu.org; gcc-patches@gc