line1
line2
line3
--
iterable file means its iterable char by char. itll allow better control for later stages - group all chars up to first new line for example could execute before the entire file was read.
it would also ease blocking the reads when the entire file is too big to read at once
--
--
--
--
operator is not the way to go in either case.
it should be a wrapper function. I agree that different behavior based on type is wrong. forcing each usage of a string object to be wrapped is also weird and will cause a lot of coding errors (since although string is iterable it is mostly used as a single object) which are worse that implicit behavior.
--
--
is there anything that doesn't extend object in python? :-)
--
--
--
--
--
--
--
--
whats wrong with *(map (hex, range (...))) ?
--
got it, nvm...
--
just keep in mind that most of the reduction process can also run in parallel... the queue can be popped every time there're two or more items, pushing back the reduced value
--
--