Skip to content

Commit

Permalink
Fix incorrect return type of raise_from()
Browse files Browse the repository at this point in the history
Fixes #236.
  • Loading branch information
glaubitz committed Jun 5, 2024
1 parent 8794b37 commit 887e822
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/versionhistory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Version history

This library adheres to `Semantic Versioning <http://semver.org/>`_.

**UNRELEASED**

- Fix incorrect return type of raise_from()

**5.6.3** (2024-04-11)

- Fixed decoding of epoch-based dates being affected by the local time zone in the C extension
Expand Down
2 changes: 1 addition & 1 deletion source/decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ _CBORDecoder_get_immutable(CBORDecoderObject *self, void *closure)

// Utility functions /////////////////////////////////////////////////////////

static int
static void
raise_from(PyObject *new_exc_type, const char *message) {
// This requires the error indicator to be set
PyObject *cause;
Expand Down

0 comments on commit 887e822

Please sign in to comment.