Top "Python-extensions" questions

Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.

Running Cython in Windows x64 - fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory

I have been trying to install Cython for Python 2.7 on my Window 7 system. In particular, I prefer everything in 64 bits. (…

python windows python-2.7 cython python-extensions
Aspect oriented programming (AOP) in Python

Possible Duplicate: Any AOP support library for Python? I am familiar with the AspectJ extension for the Java language. I …

python aop python-extensions
Cython compiled C extension: ImportError: dynamic module does not define init function

I have just compiled part of my C library as an extension using Cython, as a "proof of concept". I …

python cython python-extensions
What is a PyObject in Python?

Short version I recently came across some Python code in which the return type for a function was specified as …

python c python-extensions
Compiler can't find Py_InitModule() .. is it deprecated and if so what should I use?

I am attempting to write a C extension for python. With the code (below) I get the compiler warning: implicit …

python c python-extensions
Create an object using Python's C API

Say I have my object layout defined as: typedef struct { PyObject_HEAD // Other stuff... } pyfoo; ...and my type definition: static …

python c python-c-api python-extensions python-embedding
pylint 1.4 reports E1101(no-member) on all C extensions

We've been long-time fans of pylint. Its static analysis has become a critical part of all our python projects and …

python pylint python-extensions
Python extension debugging

I'm trying to debug an extension module for python that I wrote in C. I compiled it using the following: …

python gdb debug-symbols python-extensions
Method without return value in python c extension module

I'm trying to create a script in python that sends data through a parallel port. I'm creating my own module …

python c python-c-api parallel-port python-extensions
.so module doesnt import in python: dynamic module does not define init function

I am trying to write a python wrapper for a C function. After writing all the code, and getting it …

c++ python c python-c-api python-extensions