Skip to content

Releases: equinor/cwrap

1.6.7

10 May 12:02
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.6.6...1.6.7

1.6.6

15 Mar 12:37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.6.5...1.6.6

version 1.6.5

19 Sep 12:29
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.6.4...1.6.5

version 1.6.4

19 Sep 07:46
Compare
Choose a tag to compare

What's Changed

  • Add check that object is initialized before calling bound functions by @mortalisk in #41

Full Changelog: 1.6.3...1.6.4

1.6.3

02 Sep 09:59
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.6.2...1.6.3

Version 1.6.2

02 Sep 07:06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.6.1...1.6.2

ArgumentErrors never leave cwrap

30 May 08:19
Compare
Choose a tag to compare
Convert ArgumentError to TypeError when calling C function

ArgumentError belongs to ctypes, and the fact that we are using ctype is
just an implementation details. In order to catch that exception, ctypes
has to be imported as well, so that implementation detail might spread
through the code base.
By converting it to a TypeError, ctypes stays confined inside cwrap,
which also makes it easier for user to drop methods based on a C
implementation for a pure python implmentation

The error message in the exception now looks like this

`Argument 4: cannot create a <class 'ctypes.c_double'> from the given
value [1, 2, 3] (<type 'list'>)`

It still mentions ctypes, and it is not trivial to get rid of it while
maintinaing the message as informative as it is now. The content of the
message is arguably not part of the API so I decided to not investigate
this further

Fix on windows

13 Nov 09:17
afeaa88
Compare
Choose a tag to compare
Merge pull request #26 from andreabrambilla/py3win

Support Python 3 on Windows

Fix to: 1.5.1

16 Apr 08:08
6a288bf
Compare
Choose a tag to compare
Merge pull request #22 from joakim-hove/1.5

Require only setuptools

Version with hardcoded cwrap/version.py

16 Apr 06:50
3b6e587
Compare
Choose a tag to compare
Merge pull request #21 from joakim-hove/1.5

Fix version in cwrap/version.py for packaging