Donovan Baarda wrote: > The fact that partial reads/writes are possible without non-blocking > mode changes things a fair bit. Also, the lack of fnctl support in > Windows needs to be taken into account too. > > ... [ snip ] ... > > The lack of support on win32 for non-blocking mode, combined with the > reduced need for it, makes adding a "setblocking" method undesirable. > > I don't know what the best thing to do now is... I guess the > readsome/writesome is probably best, but given that os.read/os.write is > not that bad, perhaps it's best to just forget I even suggested this > PEP :-) My EUR 0.01 is that we should aim at a higher level of abstraction. I really don't care Windows, Unix, Linux, WhateverOS provide me with a specific low level service. I care about the conceptual thing I'm trying to establish. Any abstraction that provides a means to express a solution more closely to that conceptual level is a winner. --eric
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4