Inada Naoki
10e5e39ff9
blacken test
2019-12-05 18:51:45 +09:00
Inada Naoki
464fe277e1
Remove pytest warnings
2019-01-25 20:52:57 +09:00
TW
e3fea94509
fix typos and other cosmetic issues ( #214 )
...
cosmetic issues:
- reST headlines' underline length needs to match the headline length
(looks like somebody is / was using a proportional font)
- Cython code lines do not need to be terminated with a semicolon
- always use triple-double-quotes for docstrings
2017-01-11 12:04:23 +09:00
Pramukta Kumar
2d05b40b03
Test to demonstrate that the default function isn't always called ( #133 )
2015-03-17 15:02:40 -04:00
INADA Naoki
96bcd76f49
Packing ExtType and some cleanup
2013-10-20 20:28:32 +09:00
INADA Naoki
aa68c9b833
fallback: Support pack_ext_type.
2013-10-20 15:40:20 +09:00
Antonio Cuni
56dd1650a4
implement unpacking for all the fixtext formats
2013-10-19 17:27:16 +02:00
Antonio Cuni
985d4c1496
add a test for unpacking extended types
2013-10-19 11:34:28 +02:00
Antonio Cuni
5467515065
implement Packer.pack_extended_type also in the cython version of the code
2013-10-18 17:33:54 +02:00
Antonio Cuni
c727440ba5
automatically find the best format to encode extended types
2013-10-18 15:45:50 +02:00
Antonio Cuni
522c4bfc79
slightly change to API
2013-10-18 15:03:58 +02:00
Antonio Cuni
5529dfe596
kill some duplicate code from unpack/unpackb and move the logic to Unpacker.unpack_one. By doing this we no longer need to make the module-level pack/unpack parametric on the class, because they contain no logic at all
2013-10-18 14:38:52 +02:00
Antonio Cuni
d61097511a
add support for extended types: you can now pack/unpack custom python objects by subclassing Packer and Unpacker
2013-10-15 16:59:43 +02:00