wlav

Results 359 comments of wlav

In the above code `__del__` will be called, just not on `cppyy.gbl.delete_Foo(bar)`, but on `bar = None`. Or, if `bar` is held in C++ (i.e. if a pointer to it...

Well now, I didn't even know one could do that. :) Anyway, this *particular* case is now fixed in repo (`cppyy-backend` and `cppyy-cling`). However, there are some variations on this...

Fix to the original problem is released with 2.4.0 and its dependencies. Leaving this open for the other varietals.

Not sure I follow ... yes, automatic conversion works on the principle that the typed code is legal and should be fulfilled, hence the conversion to double (it would fail...

Yes, that C++ exception should have been caught (with pip; 2.2.0; Linux): ``` >>> import cppyy >>> cppyy.cppexec('a + 1') Traceback (most recent call last): File "", line 1, in...

Yes, `cppdef()` and `cppexec()` are not the same thing underneath. The former is equal to `#include "some_header.h"` with the text of `some_header.h` as argument to `cppdef()`. It is parsed and...

> It's puzzling that you cannot reproduce this. Not with the PyPI install that is. I haven't tried the conda install. Bit strapped for time: I want/need to show good...

Then I must have checked it after all ... I don't think it's in LLVM/Clang, though (all patches are here: https://github.com/wlav/cppyy-backend/tree/master/cling/patches). At least not on Linux (changes on Windows are...

`TPython::Exec` runs the Python interpreter, so no C++ exceptions involved in the above.

I tried the docker image above: building from source fixes it. I'll have a look to see whether I can figure out if it's specific to the LLVM used or...