Skip to content

Commit

Permalink
Fixed incorrect return type of raise_from() (#238)
Browse files Browse the repository at this point in the history
Fixes #236.
  • Loading branch information
glaubitz authored Jun 6, 2024
1 parent 8794b37 commit a4ebd57
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**

- Fixed compilation of C extension failing on GCC 14

**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 a4ebd57

Please sign in to comment.