News for hackers. Stuff that matters.
Re:DotDict: A simple Python library to make chained attribut... by dharmab on Wednesday August 02, 2023 @07:42PM (#36979438)
Be aware that pickle is unsafe (as documented near the top of https://docs.python.org/3/library/pickle.html), so prefer other serialization formats except between trusted processes
Re:DotDict: A simple Python library to make chained attribut... by claytonjy on Wednesday August 02, 2023 @07:59PM (#36979553)
I can't remember the last time I _wanted_ to pickle something. Parquet and JSON pretty much cover it for me. I guess pickling made more sense before tools like Pydantic were good and popular?

If I want all the python-specific nuance on disk, I know I'm in a bad place!

Re:DotDict: A simple Python library to make chained attribut... by nurettin on Sunday August 06, 2023 @12:52AM (#37019081)
I use pickle to serialize RPC requests between internal services. Nothing beats it in terms of speed and ease of use.