[issue31366] Missing terminator option when using readline with socketserver.StreamRequestHandler

2017-09-06 Thread Thomas Feldmann
New submission from Thomas Feldmann: When using `socketserver.StreamRequestHandler` it should be possible to specify the newline terminator that is passed to `self.connection.makefile()`. This would be greatly appreciated by many people who have to work with network packets ending with `\0

[issue25926] problems with "times" keyword in itertools.repeat

2015-12-22 Thread Thomas Feldmann
New submission from Thomas Feldmann: According to the docs `itertools.repeat(object[, times])` is equivalent to ``` def repeat(object, times=None): # repeat(10, 3) --> 10 10 10 if times is None: while True: yield object else: for i in range(ti