Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10367

Re: seeking an example on C extension works in python 3.1.x or above

From Terry Reedy <tjreedy@udel.edu>
Subject Re: seeking an example on C extension works in python 3.1.x or above
Date 2011-07-26 22:58 -0400
References <20110727080557.194B.1CBB3534@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1524.1311735538.1164.python-list@python.org> (permalink)

Show all headers | View raw


On 7/26/2011 8:06 PM, llwaeva@gmail.com wrote:
> Hello,
>    I have been searching the example on C extension that works in python
> 3.1.x

All the stdlib modules written in C. These are extension modules that 
come with Python. There are perhaps a hundred more on PyPI.

> Can any one who ever succeed to  compile
> the any example to extend python (3.1 +) with C API under windows?
> I am using windows 64bit + VC2010 and gcc  mingw.

Use VC2008. Mingw is problematical, though it has been done, I believe 
not trying to pass open files between vc code and gcc code is one 
requirement, as the stdio layouts are different.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: seeking an example on C extension works in python 3.1.x or above Terry Reedy <tjreedy@udel.edu> - 2011-07-26 22:58 -0400

csiph-web