python-extensions
Cmake on mac os x, link libraries with fullpath
I\'m trying to build a python extension with cmake. This is the cmake list: cmake_minimum_required(VERSION 2.8)[详细]
2023-04-01 01:53 分类:问答Do function pointers remain valid across processes?
I have written an extension module that uses C++ function pointers to store sequences of function calls. I want to \'run\' these call sequences in separate processes using python\'s multiprocessing mo[详细]
2023-03-29 04:38 分类:问答Exposing a new type to python at run time
I have gone through and defined my new types, stored them in a pytypeobject and called the following functions (after initializing the interpreter):[详细]
2023-03-16 05:27 分类:问答Python extension for Upskirt: garbage at end of string
I\'ve been trying to make a Python extension for Upskirt. I though it would not be too hard for a first C project since there are examples (example program in the Upskirt code and the Ruby extension).[详细]
2023-03-02 04:40 分类:问答Tutorials on optimizing non-trivial Python applications with C extensions or Cython
The Python community has published helpful reference material showing how to profile Python code, and the technical details of Python extensions in C or in Cython. I am still searching for tutorials w[详细]
2023-01-25 00:54 分类:问答Create an object using Python's C API
Say I have my object layout defined as: 开发者_运维百科typedef struct { PyObject_HEAD // Other stuff...[详细]
2023-01-24 12:43 分类:问答Python Extension Can't Use library_dirs
WHen specifying library_dirs in a Python distutils.core.Extension I get this error when trying to build:[详细]
2023-01-19 04:53 分类:问答Can't call method in Python C extension
I\'m working on making my first Python C extension, which defines a few functions and custom types.The strange thing is that the custom types are working, but not the regular functions.The top-level M[详细]
2023-01-17 18:12 分类:问答How can I set up .NET UnhandledException handling in a Windows service?
protected override void OnStart(string[] args) { AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);[详细]
2022-12-22 22:37 分类:问答