[pypy-dev] Potential PyPy incompatibility

cool-RR cool-rr at cool-rr.com
Fri May 13 20:18:08 CEST 2011


Hey,

Here's something I thought about that might be a compatibility problem, not
sure if it's a problem in production. When you take a method of a builtin in
Pypy, for example `str.join`, it seems to create a new object which is
weakreffable, where in CPython it's not. I was just looking at Django's
signal mechanism:

http://docs.djangoproject.com/en/1.3/topics/signals/#listening-to-signals

<http://docs.djangoproject.com/en/1.3/topics/signals/#listening-to-signals>It
creates a weak reference to the signal-handler function, and if it dies, the
link is destroyed.

Do you think this might be a problem?


Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20110513/60b51c2a/attachment.html>


More information about the pypy-dev mailing list