Yep, alan sent me a mail explaining explainig that my file_iterator was
not compatible with map operations. Because some inhereted methods were
private, so using a struct resolved this issue.

There is a new test case in test_file using map to illustrate that.

On 17/03/2013 10:30, serge-sans-paille wrote:
> In pythran/pythonic++/core/file.h:
> 
>> @@ -14,7 +14,7 @@
>>  
>>  		    struct npos{npos(){}};
>>  
>> -		    class file_iterator : std::iterator< std::forward_iterator_tag, core::string > {
>> +		    struct file_iterator : std::iterator< std::forward_iterator_tag, core::string > {
>>  					private:
> 
> you have to explain this to me
> 
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/serge-sans-paille/pythran/pull/59/files#r3405111>.
>