On Tue, Feb 19, 2013 at 02:22:59AM -0800, Merlini Adrien wrote:
> In pythran/pythonic++/core/file.h:
> 
> > +
> > +                typedef std::fstream container_type;
> > +                impl::shared_ref<container_type> data;
> > +
> > +                                     public:
> > +                             // Enum
> > +                             //enum {SEEK_SET, SEEK_CUR, SEEK_END};
> > +
> > +                             // Types
> > +                             typedef core::file_iterator iterator;
> > +
> > +                             // Constructors
> > +                             file() : data(impl::no_memory()) {}
> > +                             file(core::string const& filename, core::string const& strmode = "r") {
> > +                                     open(filename, strmode);
> > +                             }
> 
> nop not same mode convention Le 19 févr. 2013 09:27, "serge-sans-paille"
OK !