Jason Paryani
3a0eaacc9d
Fix to_dict not converting enums to strings
...
Fixes #28
2014-06-26 00:53:16 -07:00
Jason Paryani
1c4b8d0135
Skip failing test if LIBCAPNP_VERSION < v0.5.0
2014-02-18 17:48:43 -08:00
Jason Paryani
307fcbf4e7
Fix problem with uninitialized unions in _from_dict
2014-02-18 17:34:34 -08:00
Jason Paryani
dceb437c44
Update tests with new which enum
2014-02-13 22:08:15 -08:00
Jason Paryani
68a45a194b
Add test showing off using a dictionary in new_message
2014-01-15 10:37:25 -08:00
Jason Paryani
f89af26fc3
Fix tests for change in exception type
2014-01-14 09:44:21 -08:00
Jason Paryani
e7e95abeed
Allow setting of fields with python dicts.
...
This change was a bit complicated because of a bug in cython fused
types. I had to flatten DynamicStruct.Builder to DynamicStruct_Builder
in order to get fused template specialization working.
2014-01-13 16:28:05 -08:00
Jason Paryani
540ed4cdba
Don't force utf8 encoding for unicode strings
2013-12-18 21:57:57 -08:00
Jason Paryani
20d7104111
Fix another typo in test
2013-12-18 13:10:33 -08:00
Jason Paryani
34e98881b1
Fix failing test
2013-12-18 13:06:52 -08:00
Jason Paryani
e9a8354676
Fix problems with null characters in Text/Data fields. Fixes #19
2013-12-18 12:39:56 -08:00
Jason Paryani
0892a63b23
Change tests to use tempfile
2013-12-09 17:16:39 -08:00
Jason Paryani
83e30f5a30
Add from_dict
2013-09-03 01:00:52 -07:00
Jason Paryani
c900690b96
Fix bug in exception handling for which(). Also standardize exceptions
...
to always be ValueError. Add the beginnings of to_dict()
2013-09-03 00:25:32 -07:00