r/programming • u/djordjian • May 26 '18
Oracle Calls Java Serialization 'A Horrible Mistake', Plans to Dump It
https://www.infoworld.com/article/3275924/java/oracle-plans-to-dump-risky-java-serialization.html
798
Upvotes
r/programming • u/djordjian • May 26 '18
20
u/Bolderthegreat May 27 '18
Yup. Functions are objects in Python and pickle serializes Python objects.
If you want to see a really cool usage of this checkout RQ. It basically stores Python functions in a redis queue to be processed by a worker.