Martin Panter added the comment:

The original Python-ideas thread: <https://www.marc.info/?t=143558954500004>

If you want shorter field names, how about just r and w (as they are currently 
documented)?

os.write(our_pipe.w, b"data")
os.read(our_pipe.r, 1024)

“Input” and “output” would also work for me (though I am also happy with read, 
read_fd, etc). However it does seem a bit novel; in my experience people tend 
to say pipes have read and write ends, not inputs and outputs.

os.write(our_pipe.input, b"data")
os.read(our_pipe.output, 1024)

----------
nosy: +vadmium
type:  -> enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24536>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to