Benedikt Reinartz

Results 331 comments of Benedikt Reinartz

Could you test it with `rustler_mix 0.33`? The last change that touched the recompilation was https://github.com/rusterlium/rustler/commit/7fef3c52873e31e863e966b4677cc1f58c57d699.

Hmm, I may have been using `@external_resource` wrong when trying to fix #616. @ggwpez, I think I have to look into this again. I have to check when exactly the...

Overriding platform tags would also be useful. Currently, if any `build.py` script is used, `poetry` just assumes the most specific tags, in all other cases just `py3-none-any`.

I'll have a look. The current `serde` suppprt is, apart from major refactorings and adjustments to make it work with modern `rustler`, basically still equivalent to `serde_rustler`. I didn't work...

The function this is failing in is https://github.com/pythonnet/clr-loader/blob/master/clr_loader/__init__.py#L89 Is this really the only output you are seeing? There should at least be an exception message after this...

This is how our import method is implemented: https://github.com/pythonnet/pythonnet/blob/a21c7972809500edd6364003c37695193ac1a5d4/src/runtime/PythonTypes/PyModule.cs#L66-L72 This is the underlying function in the C API: - https://docs.python.org/3/c-api/import.html#c.PyImport_ImportModule - wrapping https://docs.python.org/3/c-api/import.html#c.PyImport_Import Citing the docs of `PyImport_Import`: > This...

Ah, I see. The issue is that `BinaryFormatter`'s constructor still works, so my feeble attempt to catch an exception there will not work. @lostmsu Suggestions? - Should we just switch...

True, that's probably the quick-fix. On the other hand, since this is such an uncommon scenario, wouldn't it make sense to adjust the defaults to also get "quicker" shutdown unless...

The respective replacements are `PyConfig_Get` with the right parameters from Python 3.14 onwards, right? I can have a look into implementing these along with 3.14 support. Thank you very much...

@hauleth I added `GlobalAlloc` support for Rustler a while ago in https://github.com/rusterlium/rustler/pull/580. A custom alignment for `enif_alloc` would still be highly appreciated, less code is always better :) I'll try...