[pypy-dev] Here's a fun one...

Antonio Cuni anto.cuni at gmail.com
Thu Sep 1 11:02:14 CEST 2011

On 01/09/11 10:57, Armin Rigo wrote:
> Hi,
> On Thu, Sep 1, 2011 at 9:58 AM, Antonio Cuni<anto.cuni at gmail.com>  wrote:
>> it seems to work fine with pypy 1.6.  Note that str() is called twice for
>> each line, so we get 1, 3, 5, 7..., but this happens only on cpython.
> ...but this happens only on PyPy, you mean.  It works as expected on
> CPython 2.7.  Is it a bug? :-)

no, I wanted to write "it happens *also* on cpython".  Note that I use pyrepl 
both on pypy and cpython, so it's probably pyrepl's "fault" (assuming it's a 
fault, I'm happy to ignore it :-))

More information about the pypy-dev mailing list