Exceptions thrown by the authentication layer are occasionally swallowed by the read function of SplitReader:
def read(self, num=None):
val = ''
try:
while True:
if num > 0:
new_data = self._get_current_file().read(num - len(val))
else:
new_data = self._get_current_file().read()
if not new_data:
self._current_file.close()
else:
val += new_data
if num > 0 and len(val) == num:
break
except:
pass
return val
The naked exception handler is apparently there to ignore a StopIteration exception.
Exceptions thrown by the authentication layer are occasionally swallowed by the read function of SplitReader:
The naked exception handler is apparently there to ignore a StopIteration exception.