[Python-ideas] Make os.pipe() return a namedtuple.
Niki Spahiev
niki.spahiev at gmail.com
Tue Jun 30 09:32:22 CEST 2015
More information about the Python-ideas mailing list
Tue Jun 30 09:32:22 CEST 2015
- Previous message (by thread): [Python-ideas] Make os.pipe() return a namedtuple.
- Next message (by thread): [Python-ideas] Make os.pipe() return a namedtuple.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 30.06.2015 09:07, Cameron Simpson wrote: > > +1 for "read" and "write" for me. And -1 on "stdin" and "stdout" for the > same reason as outlined above. This is common found code: if not hasattr(src, 'read'): src = open(src) same for write. I think read_fd and write_fd is better. Niki
- Previous message (by thread): [Python-ideas] Make os.pipe() return a namedtuple.
- Next message (by thread): [Python-ideas] Make os.pipe() return a namedtuple.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list