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


Groups > comp.lang.python > #68852

how? Py extension does not depend on py version

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lepto.python@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.043
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'subject:not': 0.03; 'subject:version': 0.09; 'url:archive': 0.09; 'python': 0.11; '"from': 0.16; 'import': 0.22; 'dll': 0.24; 'question': 0.24; 'extension': 0.26; 'message-id:@mail.gmail.com': 0.30; 'end,': 0.31; 'says': 0.33; 'received:google.com': 0.35; 'shows': 0.36; 'thanks': 0.36; 'so,': 0.37; 'skip:& 10': 0.38; 'to:addr:python- list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'subject:? ': 0.60; 'such': 0.63; 'side': 0.67; 'url:2011': 0.75
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TE1xPqEfqBblhvI8YJWBtjJFdhG7C789VdVwWt7EuTE=; b=b6RkOqG9F6P9FjrHwdjEWTARIJQdbv7cNhNQujszsgYoK/KEEO7Q7RaclsSpMqijQF KFNb3tgUWoivxn0Z6lJqXpAFBEet4Mr/EN8OFCoJZDtFNO2DdpzNayxIauCKpDWXKK42 ek3Kbvm1MRLmDjgbglhI07Sf36vGwJcves7KR7Bvh8xU9gNSz0L5J05Yge7vmGp5ClXd lJ6LylXMKmcY6xt0YL5qMX3/jNPp9ZnP/+DKvp/cWurcip9alMczHyK8wZNTs47fu1LU AiK8PEat2+y4JkBpKVps9dIuFbh1fxmGX+icOIp4F7OA2mjuLzZHm1WvEc9WUKtR45KL MC6Q==
MIME-Version 1.0
X-Received by 10.50.43.170 with SMTP id x10mr9832075igl.20.1395640611692; Sun, 23 Mar 2014 22:56:51 -0700 (PDT)
Date Mon, 24 Mar 2014 13:56:51 +0800
Subject how? Py extension does not depend on py version
From oyster <lepto.python@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=089e01176cade4e64704f553e692
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8439.1395640614.18130.python-list@python.org> (permalink)
Lines 52
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1395640614 news.xs4all.nl 2845 [2001:888:2000:d::a6]:46012
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68852

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I found an extension on this blog
http://www.cnblogs.com/DxSoft/archive/2011/04/08/2009132.html

or you can download the extension directly from
http://files.cnblogs.com/DxSoft/PyFetion.rar

I found that I can do "from DxVcl import *" in py 2.5/2.6/2.7. When I try
this in py24, a msgbox says "no python25.dll is found". However "Dependency
Walker" shows that DxVcl does not has the python??.dll dependency. Is this
a dark side of python which is not in official python doc?

So, to the end, My question is: how can I write such an extension(i.e. not
DLL foe ctypes) in C/C++?

Thanks

Lee

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


Thread

how? Py extension does not depend on py version oyster <lepto.python@gmail.com> - 2014-03-24 13:56 +0800

csiph-web