>> We also thought we could just include py.test in sympy, but py.test
>> depends on the py lib and it is big. So I just rewrote the necessary
>> thing from scratch and it can do what I want.
>
> Raymond Hettinger at some point also wrote a pytest one-file
> script with a subset of features. Prob
On Sat, Oct 11, 2008 at 7:34 PM, Armin Rigo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Thu, Oct 09, 2008 at 02:19:35AM +0200, Ondrej Certik wrote:
>> if hasattr(i, "__iter__"):
>> RuntimeError: internal error:
>
> This occurs because our 'str' type has an '__iter__' special method. It
> turns o
On Sat, Oct 11, 2008 at 1:50 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>> as soon as someone realizes that in CPython it is possible to speed up
>> iteration over strings by creating a stringiterator type, then CPython
>> will grow a 'str.__iter__' as well, and the same infinite recursion will
On Sat, Oct 11, 2008 at 8:13 PM, didier deshommes <[EMAIL PROTECTED]> wrote:
>
> On Sat, Oct 11, 2008 at 1:50 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>>> as soon as someone realizes that in CPython it is possible to speed up
>>> iteration over strings by creating a stringiterator type, then C
On Sat, Oct 11, 2008 at 13:13, didier deshommes <[EMAIL PROTECTED]> wrote:
>
> On Sat, Oct 11, 2008 at 1:50 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>>> as soon as someone realizes that in CPython it is possible to speed up
>>> iteration over strings by creating a stringiterator type, then CPy