Commit graph

20 commits

Author SHA1 Message Date
Philipp Moritz
4d2a77901a Fixed extern C declaration (found by Mehrdad) 2016-10-06 00:58:27 -07:00
Robert Nishihara
7055c6f793 Limit recursion depth for serializing objects to avoid infinite loops. (#17) 2016-09-19 14:54:56 -07:00
Robert Nishihara
0527736490 Migrate repository to ray-project. (#15) 2016-09-17 00:14:35 -07:00
Robert Nishihara
d469366c75 Serialize Python floats properly as doubles. (#14) 2016-09-15 15:11:51 -07:00
Robert Nishihara
5ac2df4329 Don't increment reference count in Py_BuildValue. (#12)
* Decrement reference count for result of serialization callback and also for an object created in DeserializeDict.

* Check tuples exactly so named tuples go to callback.

* Assert that callback is set if _pytype_ key present.
2016-09-06 10:02:30 -07:00
Philipp Moritz
a428806788 propagate callback error 2016-09-04 13:18:24 -07:00
Philipp Moritz
84cfce3be2 introduce base object 2016-09-04 00:15:05 -07:00
Robert Nishihara
ad12d5fece Handle more general numpy object types. 2016-08-30 19:31:04 -07:00
Philipp Moritz
04c28001fc Serialize numpy arrays with custom objects 2016-08-30 16:50:46 -07:00
Philipp Moritz
7481a02024 add custom callbacks for serialization 2016-08-30 15:51:59 -07:00
Philipp Moritz
5c409c3916 make variable names more uniform 2016-08-25 16:04:31 -07:00
William Paul
f468871b5d Tuples as keys in dicts can be serialized 2016-08-24 23:31:09 +00:00
Philipp Moritz
b6b2b03950 throw proper error if numpy array that contains object is serialized 2016-08-08 16:29:59 -07:00
Philipp Moritz
8e165d43d4 Implement unicode serialization 2016-08-04 15:34:47 -07:00
Mehrdad
de8bbaca61 long long bug fix 2016-07-27 22:14:57 -07:00
Philipp Moritz
212536f87c Put documentation into ray-core 2016-07-25 16:38:17 -07:00
Philipp Moritz
5f337db809 fix tests on macOS 2016-07-25 11:45:54 -07:00
Philipp Moritz
0a26135821 fix mac build 2016-07-23 18:59:19 -07:00
Philipp Moritz
c973059944 switch to release mode 2016-07-22 22:01:29 -07:00
Philipp Moritz
9bc7e7843f Capability to serialize most primitive Python types 2016-07-20 21:47:37 -07:00