[Python-Dev] OpenVMS file system and UNIVERSAL_NEWLINES support

Jack Jansen Jack.Jansen at cwi.nl
Wed Feb 25 17:49:35 EST 2004


On 25 Feb 2004, at 17:39, Jean-François Piéronne wrote:
>
> Before I submit a patch, I have done the following update which seem 
> to fix the problem, any comment are welcome.
>
> patch for include/fileobject.h
> @@ -54,3 +54,7 @@
>  */
> +#ifdef __VMS
> +#define PY_STDIOTEXTMODE ""
> +#else
>  #define PY_STDIOTEXTMODE "b"
> +#endif
[...]

I wouldn't call it __VMS: if Python still runs on OS/390 or MVS or 
whatever they'll have the same problem. And I/O system where the 
underlying filesystem isn't bytestream-based is really what we're 
talking about, I think.

--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman




More information about the Python-Dev mailing list