Closed cwillu closed 9 years ago
What version were you coming from and going to? From 1.x to 2.x, or something different?
Note that demjson 2.0 was a major release that introduced many backwards incompatibilities from 1.x versions. I attempted to document everything, though this particular function signature change may not have been.
You can read about most of the changes here: http://deron.meranda.us/python/demjson/changes
Closing.
Previously, demjson.decode() was documented as having the following signature:
Now it has the following signature:
This breaks code that assumes that strict is the second positional keyword.
Additionally, the resulting error is non-obvious: