Skip to content

Commit c7161e9

Browse files
committed
Add note for StopIteration => OutOfData.
1 parent 219d475 commit c7161e9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,15 @@ writing MessagePack data.
1919
NOTE for msgpack 0.2.x users
2020
----------------------------
2121

22+
The msgpack 0.3 have some incompatible changes.
23+
2224
The default value of ``use_list`` keyword argument is ``True`` from 0.3.x.
2325
You should pass the argument explicitly for backward compatibility.
2426

27+
`Unpacker.unpack()` and some unpack methods now raises `OutOfData`
28+
instead of `StopIteration`.
29+
`StopIteration` is used for iterator protocol only.
30+
2531

2632
HOW TO USE
2733
-----------

0 commit comments

Comments
 (0)