nop not same mode convention

Le 19 févr. 2013 09:27, "serge-sans-paille" <notifications@github.com> a
écrit :

In pythran/pythonic++/core/file.h:



> +
> +                typedef std::fstream container_type;
> +                impl::shared_ref<co...
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);
> +				}

can't you write
) : data(filename, strmode) {
}



?

—
Reply to this email directly or view it on GitHub.

[image]