@imports(['<STR_LIT>'])<EOL>def load_pickle_stream(handle):
while True:<EOL><INDENT>try:<EOL><INDENT>yield pickle.load(handle)<EOL><DEDENT>except EOFError:<EOL><INDENT>raise StopIteration<EOL><DEDENT><DEDENT>
Creates an object generator from a stream (file handle) containing data
in pickles. To be used with the ``dump_pickle_stream``

File handles should not be read by different processes.

Arguments:

  - handle(``file``) A file handle open for reading.