Wykres commitów

5 Commity (b89114c8345e15d360c3707493450805c114bc8c)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 22527a6ebd pickle: Module produces and consumes bytes.
So, dumps() should return bytes, dump() should be passed binary file, etc.
2018-01-21 14:49:24 +02:00
Paul Sokolovsky 4328dde8f8 pickle: Replace exec() with eval(), smaller surface for security issues. 2018-01-21 14:42:49 +02:00
Paul Sokolovsky 693b229f8d pickle: Very rough implementation of pickle loads from imported modules.
Allows to implement minimal pickling for datetime objects.
2017-11-12 00:34:04 +02:00
Paul Sokolovsky 8f08257512 pickle: Add dummy HIGHEST_PROTOCOL, accept dummy proto in dump, dumps.
For compatibility with CPython.

These are probably not good for low-resource ports, but for them we may
need to create upickle.
2017-10-22 19:50:20 +03:00
Paul Sokolovsky dffb8ac59b pickle: Add trivial pickle implementation using repr()/exec(). 2014-05-01 10:47:56 +03:00