ffi
Here are 535 public repositories matching this topic...
Based on pythonnet/pythonnet#554
> #r C:\\Python\\Python35_64b\\lib\\site-packages\\Python.Runtime.DLL
> using Python.Runtime;
> dynamic np; using (Py.GIL()) { np = Py.Import("numpy");};
> using System.Collections.Generic;
> using System.Collections;
> dynamic a = np.array(new List<float> { 1, 2, 3 });
> dynamic b = np.array(new List<float> { 6, 5, 4 }, dtype:
🐛 Bug Report
Recently, related to LLVM Loader, I've seen that there's some warnings with strlen and strncpy which were not present on my version of GCC ( metacall/core#137 (comment) ). This warnings indicate that there can be an out of bounds error or similar, so it should be reviewed.
Expected Behavior
No warnings shown.
Current Behavior
-
Updated
Sep 7, 2020 - Python
-
Updated
Jul 1, 2021 - Rust
-
Updated
Apr 15, 2021 - PHP
-
Updated
Jun 26, 2021 - PHP
-
Updated
Jul 28, 2021 - Python
-
Updated
Aug 9, 2021 - Rust
-
Updated
May 24, 2021 - Haskell
Currently, a Haskell program that reports uncaught exceptions in stderr looks like this:
main :: IO ()
main = withJVM [] $ handle (showException >=> Text.hPutStrLn stderr) the_program
The call to handle
is cheap enough that it should be made inside of withJVM
, making the default behavior the more chatty. Thus, the same behavior could be achieved with
main :
-
Updated
Mar 6, 2021 - Lua
Improve this page
Add a description, image, and links to the ffi topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the ffi topic, visit your repo's landing page and select "manage topics."
Just thinking that for the guide it would be nice to add a table to the
#[pyproto]
section listing all the dunder methods that can be implemented and the protocols they are a part of (e.g.__int__
->PyNumberProtocol
etc.)