tailhook
752e3d1b78
Implemented encoding for strings
...
* Packer by default uses `utf-8` encoding by default
* Unpacker uses `None` by default, so no decoding is done
* Both pack and unpack has `encoding` and `unicode_errors` arguments,
if `encoding` is `None` no encoding/decoding is done, otherwise
it is python codec. `unicode_errors` is supplied as `errors`
parameter to codec
2011-04-15 18:39:17 +03:00
INADA Naoki
af7113bb31
python: Remove UnpackIterator. Unpacker is iterator of itself.
2011-01-30 10:45:39 +09:00
INADA Naoki
60d3ce3a18
python: Disable gc while deserializing.
2011-01-29 23:23:56 +09:00
INADA Naoki
3aaf5f5a7a
python: Fix segmentation fault when default returns it's argument.
2011-01-29 23:22:41 +09:00
INADA Naoki
9e8261cbd9
python: 0.1.9
2011-01-29 07:31:06 +09:00
INADA Naoki
d0de96cacd
python: refactoring.
2011-01-29 07:27:10 +09:00
INADA Naoki
77a97b9c16
Add use_list option to unpack and unpackb
2011-01-28 18:59:05 +09:00
INADA Naoki
b453385d92
python: Add memory error check.
2011-01-10 20:47:23 +09:00
INADA Naoki
47b0c273bb
python: Check if (m|re)alloc's return value is NULL. (Thanks to Mateusz)
2011-01-10 05:07:07 +09:00
INADA Naoki
56aaed3641
python: Fix typo in docstring. (thanks to Mateusz.)
2011-01-10 05:05:14 +09:00
INADA Naoki
8e38a074bb
python: Change URL in setup.py from sf.net to msgpack.org
2011-01-10 00:10:29 +09:00
INADA Naoki
013d1da68f
python: msgpack-python-0.1.8
2011-01-09 23:58:26 +09:00
INADA Naoki
74e7ebea4f
python: Fix another segv.
2011-01-09 23:54:06 +09:00
INADA Naoki
ed3f3899c1
python: Fix segv on unpacking from stream.
2011-01-09 23:40:09 +09:00
INADA Naoki
5dbf2f5ef7
python: Add test for issue29.
2011-01-09 23:29:18 +09:00
INADA Naoki
569729c3c2
python: Make aliases for API compatibility to pickle.
...
``dumps`` is alias of ``packb`` and ``loads`` is alias of ``unpacks``.
2011-01-09 23:17:20 +09:00
INADA Naoki
9c61ce2c6c
python: Don't use `from __future__ import unicode_literals`.
...
Python 2.5 or older doesn't support it.
2011-01-09 23:13:35 +09:00
INADA Naoki
67b80f8b8a
python: Update ChangeLog.
2011-01-09 23:06:56 +09:00
INADA Naoki
9d04822f35
python: 0.1.7
2010-11-03 03:43:49 +09:00
INADA Naoki
948f4d00c6
python: Add ws2_32 library if platform is win32.
2010-11-03 03:35:52 +09:00
INADA Naoki
3124576e1e
python: Add ChangeLog.rst
2010-11-03 03:26:33 +09:00
INADA Naoki
2c9fddf085
python: Port some tests from 2 to 3.
2010-11-03 03:15:12 +09:00
INADA Naoki
a09c85ff9c
python: Support old buffer protocol when unpack. (experimental)
2010-11-03 03:11:00 +09:00
INADA Naoki
3903979a84
python: Add test for unpacking buffer object.
2010-11-02 14:09:50 +09:00
INADA Naoki
8d3ca93be9
python: Add msgpack/_msgpack.c to .gitignore
2010-11-02 14:02:10 +09:00
INADA Naoki
3d8978417a
Add list_hook option to unpacker.
2010-10-26 02:09:52 +09:00
INADA Naoki
0076d42a0d
Add check for recursion limit and default hook result.
2010-10-26 01:49:00 +09:00
INADA Naoki
3980d381f7
Remove unnecessary refcount manipulation.
2010-10-26 01:32:08 +09:00
INADA Naoki
c355f224dc
Add test for Python3.
2010-10-26 01:31:27 +09:00
INADA Naoki
fa157082ac
Add object_hook option to unpack and default option to pack.
...
(see simplejson for how to use).
2010-10-26 01:26:06 +09:00
INADA Naoki
367f15c247
Add unicode testcase for Python2.
2010-10-07 03:07:52 +09:00
INADA Naoki
4e3c620d36
Fix testcase for unicode.
2010-10-07 03:04:00 +09:00
INADA Naoki
9db35d8831
Use PyUnicode_AsUTF8String() instead of o.encode('utf-8').
2010-10-07 03:02:02 +09:00
INADA Naoki
ff5709718b
python: Add python3 category.
2010-09-02 10:13:49 +09:00
INADA Naoki
b68f61cae9
python: Release 0.1.6 - Fix wrong version string.
2010-09-02 10:10:34 +09:00
INADA Naoki
742ca5c341
python: vesion 0.1.5
2010-09-02 09:58:50 +09:00
INADA Naoki
50ffd2c489
Add msgpack.version as version tuple.
2010-09-02 09:54:38 +09:00
INADA Naoki
039542ebcb
python: Add test for python3 and fix found problems.
2010-09-02 02:16:28 +09:00
INADA Naoki
1e8eeb8ebe
python: Fix Unpacker.feed doesn't accept bytes on Python3.
2010-09-02 02:02:47 +09:00
INADA Naoki
a301c14faa
Merge branch 'master' of github.com:msgpack/msgpack
2010-09-02 01:30:32 +09:00
INADA Naoki
0dc8938dbf
python: Support Python3.
2010-09-02 01:29:57 +09:00
Naoki INADA
f0e6d33f79
Python: 0.1.4
2010-06-15 18:06:58 +09:00
INADA Naoki
73ac804b4f
Python: add "load(s)/dump(s)" alias for compatibility to simplejson/marshal/pickle.
2010-06-15 17:51:24 +09:00
frsyuki
76cc80c25d
python: sourceforge.jp -> sourceforge.net
2010-04-29 09:06:46 +09:00
Naoki INADA
4f41080b94
Release msgpack-python 0.1.3
2010-04-29 07:52:32 +09:00
Naoki INADA
316a0fa7b9
Add download url.
2010-04-29 07:08:41 +09:00
Naoki INADA
42cb39a977
Add COPYING file to python package.
2010-04-29 07:01:16 +09:00
Keiji Muraishi
a50a83f073
should raise TypeError on find unsupported value
2010-03-31 17:29:07 +09:00
Keiji Muraishi
0159084ce9
fix typo in Makefile
2010-03-31 17:09:00 +09:00
Naoki INADA
de508dcc10
replace setup by setup_dev.
2010-01-25 20:52:48 +09:00