Add note for StopIteration => OutOfData.
This commit is contained in:
@@ -19,9 +19,15 @@ writing MessagePack data.
|
|||||||
NOTE for msgpack 0.2.x users
|
NOTE for msgpack 0.2.x users
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
The msgpack 0.3 have some incompatible changes.
|
||||||
|
|
||||||
The default value of ``use_list`` keyword argument is ``True`` from 0.3.x.
|
The default value of ``use_list`` keyword argument is ``True`` from 0.3.x.
|
||||||
You should pass the argument explicitly for backward compatibility.
|
You should pass the argument explicitly for backward compatibility.
|
||||||
|
|
||||||
|
`Unpacker.unpack()` and some unpack methods now raises `OutOfData`
|
||||||
|
instead of `StopIteration`.
|
||||||
|
`StopIteration` is used for iterator protocol only.
|
||||||
|
|
||||||
|
|
||||||
HOW TO USE
|
HOW TO USE
|
||||||
-----------
|
-----------
|
||||||
|
|||||||
Reference in New Issue
Block a user