Re: zipfile.is_zipfile() and string buffers

2008-12-16 Thread Gabriel Genellina
En Tue, 16 Dec 2008 12:28:00 -0200, Brendan escribió: I would like zipfile.is_zipfile(), to operate on a cStringIO.StringIO string buffer, but is seems only to accept file names as arguments. Should it not be able to handle string buffers too? A version of zipfile.is_zipfile() accepting bot

zipfile.is_zipfile() and string buffers

2008-12-16 Thread Brendan
I would like zipfile.is_zipfile(), to operate on a cStringIO.StringIO string buffer, but is seems only to accept file names as arguments. Should it not be able to handle string buffers too? -- http://mail.python.org/mailman/listinfo/python-list