[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pypy-dev
Subject:    Re: [pypy-dev] Potential PyPy incompatibility
From:       Armin Rigo <arigo () tunes ! org>
Date:       2011-05-14 9:28:22
Message-ID: BANLkTi=07Ewa1Vc8VBCcQDKjtrGhEOAW+Q () mail ! gmail ! com
[Download RAW message or body]

Hi,

On Fri, May 13, 2011 at 8:44 PM, cool-RR <cool-rr@cool-rr.com> wrote:
> In the case of Django signal handlers it would probably not be a problem in
> practice, but in other systems it might become a problem so if it can be
> fixed early (e.g. by making `list.__add__ is list.__add__` True in Pypy as
> it is in CPython) it might save us some trouble later.

That's not possible.  PyPy uses regular unbound methods for
'str.join', so like with any unbound method, 'x.m is x.m' is false.
It's an irregularity of CPython that we already discussed here some
time ago.


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic