This works:
import mailbox
x = mailbox.mbox('filename.mbox') # works
but what if I only have an open handle to the file, instead of a filename?
fp = open('filename.mbox', mode='rb') # for example; there are many ways to get a file-like object
x = mailbox.mbox(fp) # doesn't work
Question: What's the best (cleanest, fastest) way to open Mbox from a bytes stream = an open binary handle, without copying the bytes into a named file first?