how about replace pickle with dill? or at least make it an option?
See original GitHub issueQueue
object couldn’t be pickled by pickle
, which would raise:
TypeError: can't pickle _thread.lock objects
luckily, dill is API-compatible with pickle
, and it could pickle (almost) anything in python, including Queue
so, could you please add an option for that?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
9 Dill Substitute Ideas | Save Dinner & the Pickles!
Similar to parsley, chervil offers another mild option to replace dill. Subtle hints of licorice lend themselves to dill dishes, making chervil ...
Read more >Replace pickle in Python multiprocessing lib - Stack Overflow
Try multiprocess . It's a fork of multiprocessing that uses the dill serializer instead of pickle -- there are no other changes in...
Read more >What Can You Replace Dill Pickles With? - Sweetish Hill
The National Center for Home Food Preservation says, “For each quart, try 3 heads of fresh dill or 1 to 2 tablespoons dill...
Read more >How to Make Pickles: Step-by-Step Pickling Guide
1-½ pounds cucumbers or other veggies · 1-cup vinegar. · 1-½ tablespoons salt. · 1 cup water. · ¼ cup sugar – optional...
Read more >Pickle FAQs - National Center for Home Food Preservation
The best approach is to take dill pickles slices, rinse to remove the salty flavor, and sprinkle with artificial sweetener. Allow these to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I didn’t know what your comment-less link was supposed to show me.
We do not include patches without a clear motivation. Especially ones with dangerous side effects.
If dill works for you, great – but in case anyone stumbles upon this ticket in the future, please mind the caveats above.