Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python)': 0.05; 'subject:Python': 0.06; 'compiler': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'runtime': 0.09; 'windows,': 0.09; 'python': 0.11; 'jan': 0.12; 'question.': 0.14; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:Writing': 0.16; 'extensions': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'tutorials': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'am,': 0.29; "doesn't": 0.30; 'restrict': 0.30; 'version': 0.36; "didn't": 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'extended': 0.61; 'received:173': 0.61; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Writing Extensions for Python 3 in C Date: Wed, 19 Jun 2013 12:50:20 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371660640 news.xs4all.nl 15964 [2001:888:2000:d::a6]:54040 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48730 On 6/18/2013 6:24 AM, Aditya Avinash wrote: > Hi. This is the last place where I want to ask a question. I have > searched for lots of tutorials and documentation on the web but, didn't > find a decent one to develop extensions for Python 3 using a custom > compiler (mingw32, nvcc). Please help me. I would call those 'alternate compilers' ;-). On Windows, you must either use MSVC (best, the same version as used for Python) or restrict what you do to avoid runtime incompatibilities. > PS: Don't point me to Python Documentation. It is not good for > beginners. It doesn't elaborate about calls and implementation. Let Cython take care of the 'calls and implementation' while you write in extended Python. -- Terry Jan Reedy