brownplt / lambda-py

Other
58 stars 10 forks source link

vpointer not being dereferenced in all cases #51

Closed mpmilano closed 11 years ago

mpmilano commented 11 years ago

class c: x = iter
c().x()

yields TypeError: Pointer to address 5854.

I'm trying to track down a few issues related to method binding in classes, having pointer dereference here seems important.

jpolitz commented 11 years ago

I'm checking up on this.

I don't think it's a failure to dereference. Just seeing a pointer isn't a bad thing anymore: all objects are in pointers. It might just be a bad error message.

On Fri, Mar 15, 2013 at 6:42 PM, xlnagla notifications@github.com wrote:

class c: x = iter

c().x()

yields TypeError: Pointer to address 5854.

I'm trying to track down a few issues related to method binding in classes, having pointer dereference here seems important.

— Reply to this email directly or view it on GitHubhttps://github.com/brownplt/lambda-py/issues/51 .

jpolitz commented 11 years ago

Closed by 6596253fa5f4d7a2bda27616fa86fb5fa756dd45 making the error message clearer in this case.