Wykres commitów

11 Commity (c3cded01349d0f80c49989de33777c5f895a0d0a)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 8392bd8ea5 pickle: Release 0.1. 2018-01-21 14:51:45 +02:00
Paul Sokolovsky 1c30e28c40 pickle: test_pickle.py: Update for bytes being returned/consumed. 2018-01-21 14:50:37 +02:00
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 66f147a761 pickle: test_pickle.py: Turn into real test, add more cases.
Including a test for arbitrary statement execution.
2018-01-21 14:45:12 +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 dfe4dee62a all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
Paul Sokolovsky 65fb3707ba all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
Paul Sokolovsky 2111e819e8 pickle: Add metadata.txt . 2015-08-23 23:22:36 +03:00
Paul Sokolovsky dffb8ac59b pickle: Add trivial pickle implementation using repr()/exec(). 2014-05-01 10:47:56 +03:00