On Wednesday, June 19, 2013 8:19:35 PM UTC+4, Yukihiro Nakadaira wrote:
> On Ubuntu 13.04, adding -fPIC to CFLAGS make it work.
> I don't know why.
> It seems that something is wrong with "&_PyObject_NextNotImplemented" 
> extracted from PyIter_Check() macro.
> 
> -- 
> Yukihiro Nakadaira - [email protected]

The interesting fact is that when I try to use the same expression 
(PyIter_Check) in the debugger (in the expanded form, of course) I get zero as 
expected. And the same bug if I put expanded form into the code in place of 
PyIter_Check (which is also expected though).

Also with python-fixes branch PyIter_Check also matches FailingNumber class. 
This one does not even contain __iter__ method and thus should fail the very 
first check in PyIter_Check macros.

I cannot say whose bug is this.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui