Skip to content

Commit

Permalink
Add note for StopIteration => OutOfData.
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Dec 9, 2012
1 parent 219d475 commit c7161e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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
----------- -----------
Expand Down

0 comments on commit c7161e9

Please sign in to comment.