Advanced Serialization with dill in Python

preview_player
Показать описание
Today we learn about the dill package, which is an extension to the core Python package pickle and allows us to serialize more object types.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

💼 Services 💼

🌐 Social Media & Contact 🌐
Рекомендации по теме
Комментарии
Автор

You can find this in the official Python documentation

Warning The pickle module is not secure. Only unpickle data you trust.
It is possible to construct malicious pickle data which will execute arbitrary code during unpickling. Never unpickle data that could have come from an untrusted source, or that could have been tampered with.

Consider signing data with hmac if you need to ensure that it has not been tampered with.

Safer serialization formats such as json may be more appropriate if you are processing untrusted data.

coxinitus
Автор

Thanks for making it so easy to understand.

nathanfredette
Автор

Love your content thank you!!! Was is the theme you use in pycharm?

christopheanfry
Автор

Can dill serialize pygame and turtle objects?

OktaFierce
Автор

I wonder if dill can serialize ctype nested structure ..

ilanbar