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


Groups > comp.lang.python > #37418

Re: Is PyArg_ParseTuple necessary to parse arguments?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'argument': 0.04; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tuple': 0.09; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'appropriate': 0.20; 'putting': 0.20; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.28; 'writes:': 0.29; 'convert': 0.29; 'manual': 0.29; 'objects': 0.29; 'code': 0.31; 'to:addr:python-list': 0.33; 'subject:?': 0.35; 'something': 0.35; 'received:org': 0.36; 'charset:us-ascii': 0.36; 'skip:p 20': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'email addr:gmail.com': 0.63; 'received:217': 0.68; 'subject:necessary': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: Is PyArg_ParseTuple necessary to parse arguments?
Date Wed, 23 Jan 2013 08:00:23 +0100
References <a4d078cf-b670-46e2-9a52-dfb3d43a25a0@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e08c98.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:zWT7ZZbRiVsv6GCLD0KW+zpAKds=
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.868.1358924442.2939.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1358924442 news.xs4all.nl 6971 [2001:888:2000:d::a6]:39245
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:37418

Show key headers only | View raw


rahulgarg44@gmail.com writes:

> Or can I just loop through the argument tuple manually by using something like PyTuple_GET_ITEM(args,i), then putting manual code to convert the objects to appropriate C type?

If you like you can do the "parsing" yourself.

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


Thread

Is PyArg_ParseTuple necessary to parse arguments? rahulgarg44@gmail.com - 2013-01-22 09:20 -0800
  Re: Is PyArg_ParseTuple necessary to parse arguments? dieter <dieter@handshake.de> - 2013-01-23 08:00 +0100
  Re: Is PyArg_ParseTuple necessary to parse arguments? Stefan Behnel <stefan_ml@behnel.de> - 2013-01-23 08:50 +0100

csiph-web