Re: [Cython] libcpp.string operators

2011-04-20 Thread Brent Pedersen
On Wed, Apr 20, 2011 at 10:34 AM, Stefan Behnel wrote: > Brent Pedersen, 20.04.2011 18:29: >> >> On Wed, Apr 20, 2011 at 9:58 AM, Stefan Behnel wrote: >>> >>> Lisandro Dalcin, 20.04.2011 16:09: >> >> On Tue, Apr 19, 2011 at 2:45 PM, Brent Pedersen wrote: >>> >>> hi, i have been usi

Re: [Cython] libcpp.string operators

2011-04-20 Thread Stefan Behnel
Brent Pedersen, 20.04.2011 18:29: On Wed, Apr 20, 2011 at 9:58 AM, Stefan Behnel wrote: Lisandro Dalcin, 20.04.2011 16:09: On Tue, Apr 19, 2011 at 2:45 PM, Brent Pedersen wrote: hi, i have been using a stub for the c++in a lot of my work. i decided to have a go at doing a proper string.px

Re: [Cython] libcpp.string operators

2011-04-20 Thread Stefan Behnel
Stefan Behnel, 20.04.2011 17:58: Lisandro Dalcin, 20.04.2011 16:09: On 19 April 2011 21:22, Brent Pedersen wrote: hi, i have been using a stub for the c++ in a lot of my work. i decided to have a go at doing a proper string.pxd, pasted here: https://gist.github.com/929604 Looks pretty good.

Re: [Cython] libcpp.string operators

2011-04-20 Thread Brent Pedersen
On Wed, Apr 20, 2011 at 9:58 AM, Stefan Behnel wrote: > Lisandro Dalcin, 20.04.2011 16:09: >> >> On 19 April 2011 21:22, Brent Pedersen  wrote: >>> >>> On Tue, Apr 19, 2011 at 6:08 PM, Brent Pedersen >>>  wrote: On Tue, Apr 19, 2011 at 2:45 PM, Brent Pedersen  wrote: > > hi,

Re: [Cython] libcpp.string operators

2011-04-20 Thread Stefan Behnel
Lisandro Dalcin, 20.04.2011 16:09: On 19 April 2011 21:22, Brent Pedersen wrote: On Tue, Apr 19, 2011 at 6:08 PM, Brent Pedersen wrote: On Tue, Apr 19, 2011 at 2:45 PM, Brent Pedersen wrote: hi, i have been using a stub for the c++ in a lot of my work. i decided to have a go at doing a pro

Re: [Cython] libcpp.string operators

2011-04-20 Thread Lisandro Dalcin
On 19 April 2011 21:22, Brent Pedersen wrote: > On Tue, Apr 19, 2011 at 6:08 PM, Brent Pedersen wrote: >> On Tue, Apr 19, 2011 at 2:45 PM, Brent Pedersen wrote: >>> hi, i have been using a stub for the c++ in a lot of my work. >>> i decided to have a go at doing a proper string.pxd, pasted here

Re: [Cython] libcpp.string operators

2011-04-19 Thread Brent Pedersen
On Tue, Apr 19, 2011 at 6:08 PM, Brent Pedersen wrote: > On Tue, Apr 19, 2011 at 2:45 PM, Brent Pedersen wrote: >> hi, i have been using a stub for the c++ in a lot of my work. >> i decided to have a go at doing a proper string.pxd, pasted here: >> >> https://gist.github.com/929604 >> >> other t

Re: [Cython] libcpp.string operators

2011-04-19 Thread Brent Pedersen
On Tue, Apr 19, 2011 at 2:45 PM, Brent Pedersen wrote: > hi, i have been using a stub for the c++ in a lot of my work. > i decided to have a go at doing a proper string.pxd, pasted here: > > https://gist.github.com/929604 > > other than the operators, it's mostly implemented with tests. but when

[Cython] libcpp.string operators

2011-04-19 Thread Brent Pedersen
hi, i have been using a stub for the c++ in a lot of my work. i decided to have a go at doing a proper string.pxd, pasted here: https://gist.github.com/929604 other than the operators, it's mostly implemented with tests. but when i try the operators with this test: def test_equal_operator(char