Skip to content
Prev 17440 / 63421 Next

RFC: rawConnection (was "loop connections")

dhinds at sonic.net wrote:
I'd prefer as.raw, so that we don't end up with two incompatible ways to 
convert other objects to raw objects.
No, but someone else might.  Why unnecessarily let the source of the 
bytes determine the mode of the connection?  In the case of 
textConnection, there are natural line breaks, so a text mode connection 
makes sense.  A raw object can contain anything, so why wouldn't someone 
want to put text in it some day?

Duncan Murdoch