This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: cPickle dies on short reads
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum
Priority: normal Keywords:

Created on 2002-05-07 23:48 by gvanrossum, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg10697 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-05-07 23:48
I discovered that cPickle can report various failures
when reading from a file object created by a socket's
makefile() method, probably due to not dealing
correctly with short reads. I've seen this in 2.1.3 so
I believe it must be widespread.
msg10698 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-05-13 14:48
Logged In: YES 
user_id=6380

I haven't been able to reproduce this, and I changed the
code that broke so as to avoid the issue, so I'm closing
this now, for better or for worse.
History
Date User Action Args
2022-04-10 16:05:18adminsetgithub: 36574
2002-05-07 23:48:53gvanrossumcreate