On Oct 2, 1:51 pm, James Mills [EMAIL PROTECTED] wrote:
On Thu, Oct 2, 2008 at 3:34 PM, est [EMAIL PROTECTED] wrote:
wow. It's giga-size file. I need stream reading it, md5 it. It may
break for a while.
So use generators and consume the stream ?
--JamesMills
--
--
-- Problems are
On Oct 2, 2:44 am, est [EMAIL PROTECTED] wrote:
On Oct 2, 1:51 pm, James Mills [EMAIL PROTECTED] wrote:
On Thu, Oct 2, 2008 at 3:34 PM, est [EMAIL PROTECTED] wrote:
wow. It's giga-size file. I need stream reading it, md5 it. It may
break for a while.
So use generators and consume the
On Oct 2, 4:22 pm, Aaron \Castironpi\ Brady [EMAIL PROTECTED]
wrote:
On Oct 2, 2:44 am, est [EMAIL PROTECTED] wrote:
On Oct 2, 1:51 pm, James Mills [EMAIL PROTECTED] wrote:
On Thu, Oct 2, 2008 at 3:34 PM, est [EMAIL PROTECTED] wrote:
wow. It's giga-size file. I need stream reading
:\Python25\lib\pickle.py, line 224, in dump
self.save(obj)
File C:\Python25\lib\pickle.py, line 306, in save
rv = reduce(self.proto)
File C:\Python25\lib\copy_reg.py, line 69, in _reduce_ex
raise TypeError, can't pickle %s objects % base.__name__
TypeError: can't pickle HASH objects
Why
On Oct 2, 4:03 am, est [EMAIL PROTECTED] wrote:
On Oct 2, 4:22 pm, Aaron \Castironpi\ Brady [EMAIL PROTECTED]
wrote:
On Oct 2, 2:44 am, est [EMAIL PROTECTED] wrote:
On Oct 2, 1:51 pm, James Mills [EMAIL PROTECTED] wrote:
On Thu, Oct 2, 2008 at 3:34 PM, est [EMAIL PROTECTED] wrote:
TypeError, can't pickle %s objects % base.__name__
TypeError: can't pickle HASH objects
Why can't I pickle a md5 object? Is it because md5 algorithm needs to
read 512-bits at a time?
I need to md5() some stream, pause(python.exe quits), and resume
later. It seems that the md5 and hashlib
:\Python25\lib\pickle.py, line 306, in save
rv = reduce(self.proto)
File C:\Python25\lib\copy_reg.py, line 69, in _reduce_ex
raise TypeError, can't pickle %s objects % base.__name__
TypeError: can't pickle HASH objects
Why can't I pickle a md5 object? Is it because md5 algorithm needs
\pickle.py, line 224, in dump
self.save(obj)
File C:\Python25\lib\pickle.py, line 306, in save
rv = reduce(self.proto)
File C:\Python25\lib\copy_reg.py, line 69, in _reduce_ex
raise TypeError, can't pickle %s objects % base.__name__
TypeError: can't pickle HASH objects
Why
\pickle.py, line 224, in dump
self.save(obj)
File C:\Python25\lib\pickle.py, line 306, in save
rv = reduce(self.proto)
File C:\Python25\lib\copy_reg.py, line 69, in _reduce_ex
raise TypeError, can't pickle %s objects % base.__name__
TypeError: can't pickle HASH objects
Why
, can't pickle %s objects % base.__name__
TypeError: can't pickle HASH objects
Why can't I pickle a md5 object? Is it because md5 algorithm needs to
read 512-bits at a time?
I need to md5() some stream, pause(python.exe quits), and resume
later. It seems that the md5 and hashlib in std
On Thu, Oct 2, 2008 at 3:34 PM, est [EMAIL PROTECTED] wrote:
wow. It's giga-size file. I need stream reading it, md5 it. It may
break for a while.
So use generators and consume the stream ?
--JamesMills
--
--
-- Problems are solved by method
--
James Mills wrote:
On Thu, Oct 2, 2008 at 3:34 PM, est [EMAIL PROTECTED] wrote:
wow. It's giga-size file. I need stream reading it, md5 it. It may
break for a while.
So use generators and consume the stream ?
--JamesMills
it's not the stream's problem. it the md5 module.
--
12 matches
Mail list logo