Threaded import hang in cPickle.dumps

Zac Burns zac256 at gmail.com
Wed Nov 11 15:40:38 EST 2009


On Tue, Nov 10, 2009 at 2:27 PM, Benjamin Peterson <benjamin at python.org> wrote:
> Zac Burns <zac256 <at> gmail.com> writes:
>> What can I do about this?
>
> Not run it in a thread.
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Isn't requesting that pickle not be used in a thread a bit of a tall
order? Just thinking through the common use cases - database access,
server request threads, file IO... pickle is commonly used in threads.

Furthermore, the pickle documentation makes no mention of not being threadsafe.

--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games



More information about the Python-list mailing list